|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertyContext
Exposes to the portlet the interface to deal with the personalization state.
Field Summary | |
---|---|
static java.lang.String |
PREFERENCES_ATTRIBUTE
The attribute name under which the preferences can be accessed. |
Method Summary | |
---|---|
java.util.Set |
getKeys()
Return the key set. |
Value |
getValue(java.lang.String key)
Return for a specified key its value or null if the value does not exist. |
boolean |
isReadOnly()
Return true if the preferences are globally read only. |
void |
update(PropertyChange[] changes)
Update the preferences. |
Field Detail |
---|
static final java.lang.String PREFERENCES_ATTRIBUTE
Method Detail |
---|
java.util.Set getKeys()
Value getValue(java.lang.String key) throws java.lang.IllegalArgumentException
key
- the lookup key
java.lang.IllegalArgumentException
- if the key is nullboolean isReadOnly() throws java.lang.IllegalStateException
java.lang.IllegalStateException
- if this is called during render phasevoid update(PropertyChange[] changes) throws java.lang.IllegalStateException
java.lang.IllegalStateException
- if the preferences is not writable
java.lang.IllegalArgumentException
- if any change is not valid
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |