com.liferay.portlet
Class PortletPreferencesImpl
java.lang.Object
com.liferay.portlet.BasePreferencesImpl
com.liferay.portlet.PortletPreferencesImpl
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, javax.portlet.PortletPreferences
public class PortletPreferencesImpl
- extends BasePreferencesImpl
- implements java.lang.Cloneable, javax.portlet.PortletPreferences, java.io.Serializable
- Author:
- Brian Wing Shun Chan, Alexander Chow
- See Also:
- Serialized Form
| Methods inherited from class com.liferay.portlet.BasePreferencesImpl |
getActualValue, getActualValues, getCompanyId, getMap, getModifiedPreferences, getNames, getOriginalPreferences, getOwnerId, getOwnerType, getPreferences, getValue, getValues, getXmlSafeValue, getXmlSafeValues, isReadOnly, reset, setValue, setValues |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.portlet.PortletPreferences |
getMap, getNames, getValue, getValues, isReadOnly, setValue, setValues |
PortletPreferencesImpl
public PortletPreferencesImpl()
PortletPreferencesImpl
public PortletPreferencesImpl(long companyId,
long ownerId,
int ownerType,
long plid,
java.lang.String portletId,
java.util.Map<java.lang.String,Preference> preferences)
clone
public java.lang.Object clone()
- Overrides:
clone in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
getPlid
public long getPlid()
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
reset
public void reset(java.lang.String key)
throws javax.portlet.ReadOnlyException
- Specified by:
reset in interface javax.portlet.PortletPreferences- Specified by:
reset in class BasePreferencesImpl
- Throws:
javax.portlet.ReadOnlyException
store
public void store()
throws java.io.IOException,
javax.portlet.ValidatorException
- Specified by:
store in interface javax.portlet.PortletPreferences- Specified by:
store in class BasePreferencesImpl
- Throws:
java.io.IOException
javax.portlet.ValidatorException
getPortletId
protected java.lang.String getPortletId()