|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The PortletSession interface allows the portlet to access information across more than one request. Allows, the session provides access to the user profile .
The attributes should be prefixed by the portlet container with a unique indentifier of the portlet.
Method Summary | |
java.lang.Object |
getAttribute(java.lang.String aName)
Returns the value of the attribute with the given name. |
UserProfile |
getUserProfile()
Returns the user profile. |
void |
removeAttribute(java.lang.String aName)
Removes the attribute with the given name. |
void |
setAttribute(java.lang.String aName,
java.lang.Object aValue)
Sets the an attribute with the given name and value. |
Method Detail |
public UserProfile getUserProfile()
public void setAttribute(java.lang.String aName, java.lang.Object aValue)
aName
- the attribute nameaName
- the attribute valuepublic java.lang.Object getAttribute(java.lang.String aName)
aName
- the attribute namepublic void removeAttribute(java.lang.String aName)
aName
- the attribute name
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |