|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Exposes to the portlet the interface to deal with the personalization state.
Method Summary | |
java.util.Set |
getKeys()
Return the key set. |
java.util.Set |
getPortletKeys()
Return the key set. |
Value |
getPortletValue(java.lang.String key)
Return for a key a value or null if no suitable value is found. |
Value |
getValue(java.lang.String key)
Return for a specified key its value or null if the value does not exist. |
boolean |
isPortletReadOnly(java.lang.String key)
Say if the key is marked as read only or not. |
boolean |
isReadOnly()
Return true if the preferences are read only. |
void |
update(PropertyChange[] changes)
Update the preferences. |
Method Detail |
public java.util.Set getKeys()
public Value getValue(java.lang.String key) throws java.lang.IllegalArgumentException
key
- the lookup key
java.lang.IllegalArgumentException
- if the key is nullpublic boolean isReadOnly()
public void update(PropertyChange[] changes) throws java.lang.IllegalStateException
java.lang.IllegalStateException
- if the preferences is not writable
java.lang.IllegalArgumentException
- if any change is not validpublic java.util.Set getPortletKeys() throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
- if the array is nullpublic Value getPortletValue(java.lang.String key) throws java.lang.IllegalArgumentException
key
- the requested key
java.lang.IllegalArgumentException
- if the key or the array is nullpublic boolean isPortletReadOnly(java.lang.String key) throws java.lang.IllegalArgumentException
key
- the requested key
java.lang.IllegalArgumentException
- if the key or the array is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |