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()
clone in class Objectpublic 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)
reset in interface PortletPreferencespublic void setValue(String key,
String value)
setValue in interface PortletPreferencespublic void setValues(String key,
String... values)
setValues in interface PortletPreferencespublic void store()
throws IOException
store in interface PortletPreferencesIOException