|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 PreferencesContextpublic Value getUserValue(java.lang.String key) throws java.lang.IllegalArgumentException
PreferencesContext
getUserValue in interface PreferencesContextkey - the requested key
java.lang.IllegalArgumentException - if the key or the array is null
public void setUserValue(java.lang.String key,
Value value)
throws java.lang.IllegalArgumentException,
java.lang.UnsupportedOperationException
PreferencesContext
setUserValue in interface PreferencesContextkey - the key to updatevalue - the new value
java.lang.UnsupportedOperationException - if the operation is not supported
java.lang.IllegalArgumentException - if the key is null
public java.util.Set getSystemKeys()
throws java.lang.IllegalArgumentException
PreferencesContext
getSystemKeys in interface PreferencesContextjava.lang.IllegalArgumentException - if the array is nullpublic Value getSystemValue(java.lang.String key) throws java.lang.IllegalArgumentException
PreferencesContext
getSystemValue in interface PreferencesContextkey - the requested key
java.lang.IllegalArgumentException - if the key or the array is null
public boolean isSystemReadOnly(java.lang.String key)
throws java.lang.IllegalArgumentException
PreferencesContext
isSystemReadOnly in interface PreferencesContextkey - 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 | |||||||||