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