com.liferay.portlet
Class PortletPreferencesWrapper
java.lang.Object
com.liferay.portlet.PortletPreferencesWrapper
- All Implemented Interfaces:
- java.io.Serializable, javax.portlet.PortletPreferences
public class PortletPreferencesWrapper
- extends java.lang.Object
- implements javax.portlet.PortletPreferences, java.io.Serializable
View Source
- Author:
- Brian Wing Shun Chan
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortletPreferencesWrapper
public PortletPreferencesWrapper(javax.portlet.PortletPreferences preferences,
java.lang.String lifecycle)
getMap
public java.util.Map<java.lang.String,java.lang.String[]> getMap()
- Specified by:
getMap
in interface javax.portlet.PortletPreferences
getNames
public java.util.Enumeration<java.lang.String> getNames()
- Specified by:
getNames
in interface javax.portlet.PortletPreferences
getValue
public java.lang.String getValue(java.lang.String key,
java.lang.String def)
- Specified by:
getValue
in interface javax.portlet.PortletPreferences
setValue
public void setValue(java.lang.String key,
java.lang.String value)
throws javax.portlet.ReadOnlyException
- Specified by:
setValue
in interface javax.portlet.PortletPreferences
- Throws:
javax.portlet.ReadOnlyException
getValues
public java.lang.String[] getValues(java.lang.String key,
java.lang.String[] def)
- Specified by:
getValues
in interface javax.portlet.PortletPreferences
setValues
public void setValues(java.lang.String key,
java.lang.String[] values)
throws javax.portlet.ReadOnlyException
- Specified by:
setValues
in interface javax.portlet.PortletPreferences
- Throws:
javax.portlet.ReadOnlyException
isReadOnly
public boolean isReadOnly(java.lang.String key)
- Specified by:
isReadOnly
in interface javax.portlet.PortletPreferences
reset
public void reset(java.lang.String key)
throws javax.portlet.ReadOnlyException
- Specified by:
reset
in interface javax.portlet.PortletPreferences
- Throws:
javax.portlet.ReadOnlyException
store
public void store()
throws java.io.IOException,
javax.portlet.ValidatorException
- Specified by:
store
in interface javax.portlet.PortletPreferences
- Throws:
java.io.IOException
javax.portlet.ValidatorException
getPreferencesImpl
public PortletPreferencesImpl getPreferencesImpl()
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object