com.liferay.portlet
Class PortletPreferencesWrapper
java.lang.Object
com.liferay.portlet.PortletPreferencesWrapper
- All Implemented Interfaces:
- Serializable, PortletPreferences
public class PortletPreferencesWrapper
- extends Object
- implements PortletPreferences, Serializable
- See Also:
- Serialized Form
PortletPreferencesWrapper
public PortletPreferencesWrapper(PortletPreferences portletPreferences)
PortletPreferencesWrapper
public PortletPreferencesWrapper(PortletPreferences portletPreferences,
String lifecycle)
- Deprecated.
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
getMap
public Map<String,String[]> getMap()
- Specified by:
getMap
in interface PortletPreferences
getNames
public Enumeration<String> getNames()
- Specified by:
getNames
in interface PortletPreferences
getPortletPreferencesImpl
public PortletPreferencesImpl getPortletPreferencesImpl()
getPreferencesImpl
public PortletPreferencesImpl getPreferencesImpl()
- Deprecated. As of 6.1.0, replaced by
getPortletPreferencesImpl()
getValue
public String getValue(String key,
String def)
- Specified by:
getValue
in interface PortletPreferences
getValues
public String[] getValues(String key,
String[] def)
- Specified by:
getValues
in interface PortletPreferences
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
isReadOnly
public boolean isReadOnly(String key)
- Specified by:
isReadOnly
in interface PortletPreferences
reset
public void reset(String key)
throws ReadOnlyException
- Specified by:
reset
in interface PortletPreferences
- Throws:
ReadOnlyException
setValue
public void setValue(String key,
String value)
throws ReadOnlyException
- Specified by:
setValue
in interface PortletPreferences
- Throws:
ReadOnlyException
setValues
public void setValues(String key,
String[] values)
throws ReadOnlyException
- Specified by:
setValues
in interface PortletPreferences
- Throws:
ReadOnlyException
store
public void store()
throws IOException,
ValidatorException
- Specified by:
store
in interface PortletPreferences
- Throws:
IOException
ValidatorException