public class PortletPreferencesImpl
extends java.lang.Object
implements javax.portlet.PortletPreferences
| Constructor and Description |
|---|
PortletPreferencesImpl(java.lang.Integer methodId,
PortletDefinition portletDefinition) |
PortletPreferencesImpl(java.lang.Integer methodId,
PortletEntity portletEntity) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map |
getMap() |
java.util.Enumeration |
getNames() |
java.lang.String |
getValue(java.lang.String key,
java.lang.String def) |
java.lang.String[] |
getValues(java.lang.String key,
java.lang.String[] def) |
boolean |
isReadOnly(java.lang.String key) |
void |
reset(java.lang.String key) |
void |
setValue(java.lang.String key,
java.lang.String value) |
void |
setValues(java.lang.String key,
java.lang.String[] values) |
void |
store() |
public PortletPreferencesImpl(java.lang.Integer methodId,
PortletEntity portletEntity)
public PortletPreferencesImpl(java.lang.Integer methodId,
PortletDefinition portletDefinition)
public boolean isReadOnly(java.lang.String key)
isReadOnly in interface javax.portlet.PortletPreferencespublic java.lang.String getValue(java.lang.String key,
java.lang.String def)
getValue in interface javax.portlet.PortletPreferencespublic java.lang.String[] getValues(java.lang.String key,
java.lang.String[] def)
getValues in interface javax.portlet.PortletPreferencespublic void setValue(java.lang.String key,
java.lang.String value)
throws javax.portlet.ReadOnlyException
setValue in interface javax.portlet.PortletPreferencesjavax.portlet.ReadOnlyExceptionpublic void setValues(java.lang.String key,
java.lang.String[] values)
throws javax.portlet.ReadOnlyException
setValues in interface javax.portlet.PortletPreferencesjavax.portlet.ReadOnlyExceptionpublic java.util.Enumeration getNames()
getNames in interface javax.portlet.PortletPreferencespublic java.util.Map getMap()
getMap in interface javax.portlet.PortletPreferencespublic void reset(java.lang.String key)
throws javax.portlet.ReadOnlyException
reset in interface javax.portlet.PortletPreferencesjavax.portlet.ReadOnlyExceptionpublic void store()
throws java.io.IOException,
javax.portlet.ValidatorException
store in interface javax.portlet.PortletPreferencesjava.io.IOExceptionjavax.portlet.ValidatorExceptionCopyright © 2003-2013 . All Rights Reserved.