@ProviderType
public class PortalPreferencesWrapper
extends Object
implements Cloneable, com.liferay.portal.kernel.model.MVCCModel, javax.portlet.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 javax.portlet.PortletPreferencespublic long getMvccVersion()
getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelpublic Enumeration<String> getNames()
getNames in interface javax.portlet.PortletPreferencespublic PortalPreferencesImpl getPortalPreferencesImpl()
public String getValue(String key,
String def)
getValue in interface javax.portlet.PortletPreferencespublic String[] getValues(String key,
String[] def)
getValues in interface javax.portlet.PortletPreferencespublic boolean isReadOnly(String key)
isReadOnly in interface javax.portlet.PortletPreferencespublic void reset(String key)
throws javax.portlet.ReadOnlyException
reset in interface javax.portlet.PortletPreferencesjavax.portlet.ReadOnlyExceptionpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelpublic void setValue(String key,
String value)
throws javax.portlet.ReadOnlyException
setValue in interface javax.portlet.PortletPreferencesjavax.portlet.ReadOnlyExceptionpublic void setValues(String key,
String[] values)
throws javax.portlet.ReadOnlyException
setValues in interface javax.portlet.PortletPreferencesjavax.portlet.ReadOnlyExceptionpublic void store()
throws IOException,
javax.portlet.ValidatorException
store in interface javax.portlet.PortletPreferencesIOExceptionjavax.portlet.ValidatorException