| |
|
| java.lang.Object javax.portlet.PortletSessionUtil
PortletSessionUtil | public class PortletSessionUtil (Code) | | The PortletSessionUtil class helps identify and decode
attributes in the PORTLET_SCOPE scope of the PortletSession
when accessed through the HttpSession an from within calls to methods
of the HttpSessionBindingListener interface.
|
decodeAttributeName | public static java.lang.String decodeAttributeName(java.lang.String name)(Code) | | Returns the attribute name of an attribute in the
PORTLET_SCOPE . If the attribute is in the
APPLICATION_SCOPE it returns the attribute name unchanged.
Parameters: name - a string specifying the name of theencoded portlet attribute the decoded attribute name |
decodeScope | public static int decodeScope(java.lang.String name)(Code) | | Returns the portlet attribute scope from an encoded portlet
attribute.
Possible return values are:
PortletSession.APPLICATION_SCOPE
PortletSession.PORTLET_SCOPE
Parameters: name - a string specifying the name of theencoded portlet attribute the decoded attribute scope See Also: PortletSession |
|
|
|