| 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 void | addSessionListener(SessionListener sl) | public void | addUserListener(UserListener sl) | public String | encodeURL(String url) | public Set | getAncestors(HttpServletRequest req, String name) | public String | getAuthenticationType() | public String | getCharset() | public String | getClientPath() | public Cookie | getClientProperties() | public String | getClientProperty(String name) | public String | getClientType() | public Set | getClientTypeProperties(String clientType, String key) | public String | getClientTypeProperty(String key) | public String | getClientTypeProperty(String clientType, String key) | public String | getConfigProperty(String key) | public ContainerProviderContext | getContainerProviderContext() | public String | getContainerProviderContextClassName() | public StringBuffer | getContent(HttpServletRequest req, HttpServletResponse res, String name) | public Map | getContent(HttpServletRequest req, HttpServletResponse res, List providers, int timeout) | public String | getContentType() | public DPRoot | getDPRoot() | public String | getDefaultChannelName() | public String | getDefaultClientType() | public String | getDesktopType() | public String | getDesktopURL(HttpServletRequest req) | public String | getDesktopURL(HttpServletRequest req, Map query, Map pathInfo) | public String | getDesktopURL(HttpServletRequest req, String query) | public String | getEditProviderContainerName() | public String | getEncoderClassName() | public boolean | getIsStale() | public String | getJSPCompilerWARClassPath() | public String | getJSPScratchDir() | public long | getLastAccess() | public Locale | getLocale() | public String | getLocaleString() | public String | getLoginURL() | public String | getLogoutURL() | public String | getPropertiesContextClassName() | public Provider | getProvider(HttpServletRequest req, String name) | public String | getProviderClassBaseDir() | public StringBuffer | getRequestServer(HttpServletRequest req) | public Set | getRoles() | public String | getSessionID() | public Object | getSessionProperty(String name) Gets the property stored in this session.
Parameters: name - The property name. | public String | getStaticContentPath() | public String | getStringAttribute(String name) Gets the attribute. | public String | getStringAttribute(String name, Locale locale) Gets the attribute. | public ParsedTagArray | getTemplate(String app, String provider, String file) | public ParsedTagArray | getTemplate(String desktopType, String locale, String app, String provider, String clientType, String file, String baseDir) | public StringBuffer | getTemplate(String app, String provider, String file, Hashtable table) | public StringBuffer | getTemplate(String desktopType, String locale, String app, String provider, String clientType, String file, Hashtable table, String baseDir) | public String | getTemplateBaseDir() | public File | getTemplateMostSpecificPath(String app, String provider, String file) | public File | getTemplateMostSpecificPath(String desktopType, String locale, String app, String provider, String clientType, String file, String baseDir) | public File | getTemplatePath(String app, String provider, String file) | public File | getTemplatePath(String desktopType, String locale, String app, String provider, String clientType, String file, String baseDir) | public String | getTopChannelName(HttpServletRequest req) | public String | getUserID() | public void | init(HttpServletRequest req) | public boolean | isAuthless(HttpServletRequest req) | public boolean | isDPRootCustomized() | public boolean | isInitDone() | public boolean | isWSRP(HttpServletRequest req) | public void | refresh() | public void | setClientProperty(String name, String value) | public void | setDPRootCustomized(boolean state) | public void | setDefaultChannelName(String channel) | public void | setIsStale(boolean isStale) | public void | setLastAccess(long ms) | public void | setSessionProperty(String name, Object val) Sets a property for this session. | public void | setStringAttribute(String name, String val) Sets the attribute value. | public void | setTopChannelName(HttpServletRequest req, String channel) | public void | store() Write out any modified data to the persistent store, if necessary. |
getAuthenticationType | public String getAuthenticationType()(Code) | | |
getClientProperties | public Cookie getClientProperties()(Code) | | |
getContainerProviderContextClassName | public String getContainerProviderContextClassName()(Code) | | |
getDefaultChannelName | public String getDefaultChannelName()(Code) | | |
getDefaultClientType | public String getDefaultClientType()(Code) | | |
getEditProviderContainerName | public String getEditProviderContainerName()(Code) | | |
getEncoderClassName | public String getEncoderClassName()(Code) | | |
getIsStale | public boolean getIsStale()(Code) | | |
getJSPCompilerWARClassPath | public String getJSPCompilerWARClassPath()(Code) | | |
getLastAccess | public long getLastAccess()(Code) | | |
getPropertiesContextClassName | public String getPropertiesContextClassName()(Code) | | |
getProviderClassBaseDir | public String getProviderClassBaseDir()(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. |
isDPRootCustomized | public boolean isDPRootCustomized()(Code) | | |
isInitDone | public boolean isInitDone()(Code) | | |
refresh | public void refresh()(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. |
store | public void store()(Code) | | Write out any modified data to the persistent store, if necessary.
|
|
|