public class PortalPreferencesWrapper extends Object implements Cloneable, com.liferay.portal.kernel.model.MVCCModel, PortletPreferences, Serializable
| Constructor and Description |
|---|
PortalPreferencesWrapper(PortalPreferencesImpl portalPreferencesImpl) |
| Modifier and Type | Method and Description |
|---|---|
PortalPreferencesWrapper |
clone() |
Map<String,String[]> |
getMap() |
long |
getMvccVersion() |
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 |
setMvccVersion(long mvccVersion) |
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 long getMvccVersion()
getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelpublic 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 setMvccVersion(long mvccVersion)
setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelpublic 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,
ValidatorException
store in interface PortletPreferencesIOExceptionValidatorException