Java Doc for DesktopContext.java in  » Portal » Open-Portal » com » sun » portal » desktop » context » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Portal » Open Portal » com.sun.portal.desktop.context 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.sun.portal.desktop.context.DesktopContext

All known Subclasses:   com.sun.portal.harness.HarnessDesktopContext,  com.sun.portal.desktop.context.PSDesktopContext,
DesktopContext
public interface DesktopContext (Code)




Method Summary
public  voidaddSessionListener(SessionListener sl)
    
public  voidaddUserListener(UserListener sl)
    
public  StringencodeURL(String url)
    
public  SetgetAncestors(HttpServletRequest req, String name)
    
public  StringgetAuthenticationType()
    
public  StringgetCharset()
    
public  StringgetClientPath()
    
public  CookiegetClientProperties()
    
public  StringgetClientProperty(String name)
    
public  StringgetClientType()
    
public  SetgetClientTypeProperties(String clientType, String key)
    
public  StringgetClientTypeProperty(String key)
    
public  StringgetClientTypeProperty(String clientType, String key)
    
public  StringgetConfigProperty(String key)
    
public  ContainerProviderContextgetContainerProviderContext()
    
public  StringgetContainerProviderContextClassName()
    
public  StringBuffergetContent(HttpServletRequest req, HttpServletResponse res, String name)
    
public  MapgetContent(HttpServletRequest req, HttpServletResponse res, List providers, int timeout)
    
public  StringgetContentType()
    
public  DPRootgetDPRoot()
    
public  StringgetDefaultChannelName()
    
public  StringgetDefaultClientType()
    
public  StringgetDesktopType()
    
public  StringgetDesktopURL(HttpServletRequest req)
    
public  StringgetDesktopURL(HttpServletRequest req, Map query, Map pathInfo)
    
public  StringgetDesktopURL(HttpServletRequest req, String query)
    
public  StringgetEditProviderContainerName()
    
public  StringgetEncoderClassName()
    
public  booleangetIsStale()
    
public  StringgetJSPCompilerWARClassPath()
    
public  StringgetJSPScratchDir()
    
public  longgetLastAccess()
    
public  LocalegetLocale()
    
public  StringgetLocaleString()
    
public  StringgetLoginURL()
    
public  StringgetLogoutURL()
    
public  StringgetPropertiesContextClassName()
    
public  ProvidergetProvider(HttpServletRequest req, String name)
    
public  StringgetProviderClassBaseDir()
    
public  StringBuffergetRequestServer(HttpServletRequest req)
    
public  SetgetRoles()
    
public  StringgetSessionID()
    
public  ObjectgetSessionProperty(String name)
     Gets the property stored in this session.
Parameters:
  name - The property name.
public  StringgetStaticContentPath()
    
public  StringgetStringAttribute(String name)
     Gets the attribute.
public  StringgetStringAttribute(String name, Locale locale)
     Gets the attribute.
public  ParsedTagArraygetTemplate(String app, String provider, String file)
    
public  ParsedTagArraygetTemplate(String desktopType, String locale, String app, String provider, String clientType, String file, String baseDir)
    
public  StringBuffergetTemplate(String app, String provider, String file, Hashtable table)
    
public  StringBuffergetTemplate(String desktopType, String locale, String app, String provider, String clientType, String file, Hashtable table, String baseDir)
    
public  StringgetTemplateBaseDir()
    
public  FilegetTemplateMostSpecificPath(String app, String provider, String file)
    
public  FilegetTemplateMostSpecificPath(String desktopType, String locale, String app, String provider, String clientType, String file, String baseDir)
    
public  FilegetTemplatePath(String app, String provider, String file)
    
public  FilegetTemplatePath(String desktopType, String locale, String app, String provider, String clientType, String file, String baseDir)
    
public  StringgetTopChannelName(HttpServletRequest req)
    
public  StringgetUserID()
    
public  voidinit(HttpServletRequest req)
    
public  booleanisAuthless(HttpServletRequest req)
    
public  booleanisDPRootCustomized()
    
public  booleanisInitDone()
    
public  booleanisWSRP(HttpServletRequest req)
    
public  voidrefresh()
    
public  voidsetClientProperty(String name, String value)
    
public  voidsetDPRootCustomized(boolean state)
    
public  voidsetDefaultChannelName(String channel)
    
public  voidsetIsStale(boolean isStale)
    
public  voidsetLastAccess(long ms)
    
public  voidsetSessionProperty(String name, Object val)
     Sets a property for this session.
public  voidsetStringAttribute(String name, String val)
     Sets the attribute value.
public  voidsetTopChannelName(HttpServletRequest req, String channel)
    
public  voidstore()
     Write out any modified data to the persistent store, if necessary.



Method Detail
addSessionListener
public void addSessionListener(SessionListener sl)(Code)



addUserListener
public void addUserListener(UserListener sl)(Code)



encodeURL
public String encodeURL(String url)(Code)



getAncestors
public Set getAncestors(HttpServletRequest req, String name)(Code)



getAuthenticationType
public String getAuthenticationType()(Code)



getCharset
public String getCharset()(Code)



getClientPath
public String getClientPath()(Code)



getClientProperties
public Cookie getClientProperties()(Code)



getClientProperty
public String getClientProperty(String name)(Code)



getClientType
public String getClientType()(Code)



getClientTypeProperties
public Set getClientTypeProperties(String clientType, String key)(Code)



getClientTypeProperty
public String getClientTypeProperty(String key)(Code)



getClientTypeProperty
public String getClientTypeProperty(String clientType, String key)(Code)



getConfigProperty
public String getConfigProperty(String key)(Code)



getContainerProviderContext
public ContainerProviderContext getContainerProviderContext()(Code)



getContainerProviderContextClassName
public String getContainerProviderContextClassName()(Code)



getContent
public StringBuffer getContent(HttpServletRequest req, HttpServletResponse res, String name) throws ContextException, ProviderException(Code)



getContent
public Map getContent(HttpServletRequest req, HttpServletResponse res, List providers, int timeout) throws ContextException, ProviderException(Code)



getContentType
public String getContentType()(Code)



getDPRoot
public DPRoot getDPRoot()(Code)



getDefaultChannelName
public String getDefaultChannelName()(Code)



getDefaultClientType
public String getDefaultClientType()(Code)



getDesktopType
public String getDesktopType()(Code)



getDesktopURL
public String getDesktopURL(HttpServletRequest req)(Code)



getDesktopURL
public String getDesktopURL(HttpServletRequest req, Map query, Map pathInfo)(Code)



getDesktopURL
public String getDesktopURL(HttpServletRequest req, String query)(Code)



getEditProviderContainerName
public String getEditProviderContainerName()(Code)



getEncoderClassName
public String getEncoderClassName()(Code)



getIsStale
public boolean getIsStale()(Code)



getJSPCompilerWARClassPath
public String getJSPCompilerWARClassPath()(Code)



getJSPScratchDir
public String getJSPScratchDir()(Code)



getLastAccess
public long getLastAccess()(Code)



getLocale
public Locale getLocale()(Code)



getLocaleString
public String getLocaleString()(Code)



getLoginURL
public String getLoginURL()(Code)



getLogoutURL
public String getLogoutURL()(Code)



getPropertiesContextClassName
public String getPropertiesContextClassName()(Code)



getProvider
public Provider getProvider(HttpServletRequest req, String name)(Code)



getProviderClassBaseDir
public String getProviderClassBaseDir()(Code)



getRequestServer
public StringBuffer getRequestServer(HttpServletRequest req)(Code)



getRoles
public Set getRoles()(Code)



getSessionID
public String getSessionID()(Code)



getSessionProperty
public Object getSessionProperty(String name)(Code)
Gets the property stored in this session.
Parameters:
  name - The property name. The property value. If property isnot not found, return null.



getStaticContentPath
public String getStaticContentPath()(Code)



getStringAttribute
public String getStringAttribute(String name)(Code)
Gets the attribute. 'Attributes' are settings that are not channel-related (i.e. not stored in display profile)
Parameters:
  name - The attribute name. The attribute value in String format. If property isnot not found, return null.



getStringAttribute
public String getStringAttribute(String name, Locale locale)(Code)
Gets the attribute. 'Attributes' are settings that are not channel-related (i.e. not stored in display profile). This API will for localized attribute. If the localized attribute is not present this API will return same result as getStringAttribute (name). Example getStringAttribute("cn" , Locale.JAPANESE) will look for attribute cn;lang-ja and if the attribute is not present it will return attribute value of cn.Since API performs a lookup, application should not assume that value returned is localised. ie if this API returns NULL, the value of attribute "cn" is NULL instead of cn;lang-ja
Parameters:
  name - The attribute name.
Parameters:
  locale - the user locale The attribute value in String format. If property isnot not found, return null.



getTemplate
public ParsedTagArray getTemplate(String app, String provider, String file)(Code)



getTemplate
public ParsedTagArray getTemplate(String desktopType, String locale, String app, String provider, String clientType, String file, String baseDir)(Code)



getTemplate
public StringBuffer getTemplate(String app, String provider, String file, Hashtable table)(Code)



getTemplate
public StringBuffer getTemplate(String desktopType, String locale, String app, String provider, String clientType, String file, Hashtable table, String baseDir)(Code)



getTemplateBaseDir
public String getTemplateBaseDir()(Code)



getTemplateMostSpecificPath
public File getTemplateMostSpecificPath(String app, String provider, String file)(Code)



getTemplateMostSpecificPath
public File getTemplateMostSpecificPath(String desktopType, String locale, String app, String provider, String clientType, String file, String baseDir)(Code)



getTemplatePath
public File getTemplatePath(String app, String provider, String file)(Code)



getTemplatePath
public File getTemplatePath(String desktopType, String locale, String app, String provider, String clientType, String file, String baseDir)(Code)



getTopChannelName
public String getTopChannelName(HttpServletRequest req)(Code)



getUserID
public String getUserID()(Code)



init
public void init(HttpServletRequest req)(Code)



isAuthless
public boolean isAuthless(HttpServletRequest req)(Code)



isDPRootCustomized
public boolean isDPRootCustomized()(Code)



isInitDone
public boolean isInitDone()(Code)



isWSRP
public boolean isWSRP(HttpServletRequest req)(Code)



refresh
public void refresh()(Code)



setClientProperty
public void setClientProperty(String name, String value)(Code)



setDPRootCustomized
public void setDPRootCustomized(boolean state)(Code)



setDefaultChannelName
public void setDefaultChannelName(String channel)(Code)



setIsStale
public void setIsStale(boolean isStale)(Code)



setLastAccess
public void setLastAccess(long ms)(Code)



setSessionProperty
public void setSessionProperty(String name, Object val)(Code)
Sets a property for this session.
Parameters:
  name - The property name
Parameters:
  val - The property value



setStringAttribute
public void setStringAttribute(String name, String val)(Code)
Sets the attribute value. New data is persisted immediately.
Parameters:
  name - The attribute name.
Parameters:
  name - The attribute value.



setTopChannelName
public void setTopChannelName(HttpServletRequest req, String channel)(Code)



store
public void store()(Code)
Write out any modified data to the persistent store, if necessary.



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.