|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.portal.portlet.test.PortletController.PreferencesContextImpl
Constructor Summary | |
PortletController.PreferencesContextImpl(Component component,
UserInterceptor.User user)
|
Method Summary | |
java.util.Set |
getSystemKeys()
Return the merged key set. |
Value |
getSystemValue(java.lang.String key)
Return for a key a value or null if no suitable value is found. |
java.util.Set |
getUserKeys()
Return the key set of the map. |
Value |
getUserValue(java.lang.String key)
Return for a key a value or null if no suitable value is found. |
boolean |
isSystemReadOnly(java.lang.String key)
Say if the key is marked as read only or not. |
void |
setUserValue(java.lang.String key,
Value value)
Update the value of the given key. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PortletController.PreferencesContextImpl(Component component, UserInterceptor.User user)
Method Detail |
public java.util.Set getUserKeys()
PreferencesContext
getUserKeys
in interface PreferencesContext
public Value getUserValue(java.lang.String key) throws java.lang.IllegalArgumentException
PreferencesContext
getUserValue
in interface PreferencesContext
key
- the requested key
java.lang.IllegalArgumentException
- if the key or the array is nullpublic void setUserValue(java.lang.String key, Value value) throws java.lang.IllegalArgumentException, java.lang.UnsupportedOperationException
PreferencesContext
setUserValue
in interface PreferencesContext
key
- the key to updatevalue
- the new value
java.lang.UnsupportedOperationException
- if the operation is not supported
java.lang.IllegalArgumentException
- if the key is nullpublic java.util.Set getSystemKeys() throws java.lang.IllegalArgumentException
PreferencesContext
getSystemKeys
in interface PreferencesContext
java.lang.IllegalArgumentException
- if the array is nullpublic Value getSystemValue(java.lang.String key) throws java.lang.IllegalArgumentException
PreferencesContext
getSystemValue
in interface PreferencesContext
key
- the requested key
java.lang.IllegalArgumentException
- if the key or the array is nullpublic boolean isSystemReadOnly(java.lang.String key) throws java.lang.IllegalArgumentException
PreferencesContext
isSystemReadOnly
in interface PreferencesContext
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 |