@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 Object
public Map<String,String[]> getMap()
getMap
in interface javax.portlet.PortletPreferences
public long getMvccVersion()
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public Enumeration<String> getNames()
getNames
in interface javax.portlet.PortletPreferences
public PortalPreferencesImpl getPortalPreferencesImpl()
public String getValue(String key, String def)
getValue
in interface javax.portlet.PortletPreferences
public String[] getValues(String key, String[] def)
getValues
in interface javax.portlet.PortletPreferences
public boolean isReadOnly(String key)
isReadOnly
in interface javax.portlet.PortletPreferences
public void reset(String key) throws javax.portlet.ReadOnlyException
reset
in interface javax.portlet.PortletPreferences
javax.portlet.ReadOnlyException
public void setMvccVersion(long mvccVersion)
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public void setValue(String key, String value) throws javax.portlet.ReadOnlyException
setValue
in interface javax.portlet.PortletPreferences
javax.portlet.ReadOnlyException
public void setValues(String key, String[] values) throws javax.portlet.ReadOnlyException
setValues
in interface javax.portlet.PortletPreferences
javax.portlet.ReadOnlyException
public void store() throws IOException, javax.portlet.ValidatorException
store
in interface javax.portlet.PortletPreferences
IOException
javax.portlet.ValidatorException