|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The PortletData
contains information about the virtual
instance of a portlet. Also, it is through the data that the portlet has
access to the personalized data.
Method Summary | |
java.lang.String |
getAttribute(java.lang.String name)
Returns the value of the attribute with the given name, or null if no such attribute exists. |
java.util.Enumeration |
getAttributeNames()
Returns an enumeration of all available attributes names. |
void |
removeAllAttributes()
Removes all attributes. |
void |
removeAttribute(java.lang.String name)
Removes the attribute with the given name. |
void |
setAttribute(java.lang.String name,
java.lang.String value)
Sets the attribute with the given name and value. |
Method Detail |
public void setAttribute(java.lang.String name, java.lang.String value) throws AccessDeniedException
name
- the attribute namevalue
- the attribute value
AccessDeniedException
- if the caller isn't authorized to access
this data objectpublic java.lang.String getAttribute(java.lang.String name) throws AccessDeniedException
null
if no such attribute exists.
name
- the attribute name
AccessDeniedException
- if the caller isn't authorized to access
this data objectpublic java.util.Enumeration getAttributeNames() throws AccessDeniedException
AccessDeniedException
- if the caller isn't authorized to access
this data objectgetAttribute(String)
public void removeAttribute(java.lang.String name) throws AccessDeniedException
name
- the attribute name
AccessDeniedException
- if the caller isn't authorized to access
this data objectpublic void removeAllAttributes() throws AccessDeniedException
AccessDeniedException
- if the caller isn't authorized to access
this data object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |