public class PortalPreferencesWrapper extends Object implements Cloneable, PortletPreferences, Serializable
| Constructor and Description |
|---|
PortalPreferencesWrapper(PortalPreferencesImpl portalPreferencesImpl) |
| Modifier and Type | Method and Description |
|---|---|
PortalPreferencesWrapper |
clone() |
Map<String,String[]> |
getMap() |
Enumeration<String> |
getNames() |
PortalPreferencesImpl |
getPortalPreferencesImpl() |
String |
getValue(String key,
String def) |
String[] |
getValues(String key,
String[] def) |
boolean |
isReadOnly(String key) |
void |
reset(String key) |
void |
setValue(String key,
String value) |
void |
setValues(String key,
String[] values) |
void |
store() |
public PortalPreferencesWrapper(PortalPreferencesImpl portalPreferencesImpl)
public PortalPreferencesWrapper clone()
public Map<String,String[]> getMap()
getMap in interface PortletPreferencespublic Enumeration<String> getNames()
getNames in interface PortletPreferencespublic PortalPreferencesImpl getPortalPreferencesImpl()
public String getValue(String key, String def)
getValue in interface PortletPreferencespublic String[] getValues(String key, String[] def)
getValues in interface PortletPreferencespublic boolean isReadOnly(String key)
isReadOnly in interface PortletPreferencespublic void reset(String key) throws ReadOnlyException
reset in interface PortletPreferencesReadOnlyExceptionpublic void setValue(String key, String value) throws ReadOnlyException
setValue in interface PortletPreferencesReadOnlyExceptionpublic void setValues(String key, String[] values) throws ReadOnlyException
setValues in interface PortletPreferencesReadOnlyExceptionpublic void store()
throws IOException
store in interface PortletPreferencesIOException