|
||||||||||
| 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<java.lang.String> |
getKeys()
Return an immutable set of keys. |
java.util.List<java.lang.String> |
getValue(java.lang.String key)
Return for a specified key an immutable list of its values 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<java.lang.String> getKeys()
java.util.List<java.lang.String> getValue(java.lang.String key)
throws java.lang.IllegalArgumentException
key - the lookup key
java.lang.IllegalArgumentException - if the key is null
boolean isReadOnly()
throws java.lang.IllegalStateException
java.lang.IllegalStateException - if this is called during render phase
void update(PropertyChange[] changes)
throws java.lang.IllegalStateException
changes - the list of changes
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 | |||||||||