com.liferay.portlet
Class PortletPreferencesImpl
java.lang.Object
com.liferay.portlet.BasePreferencesImpl
com.liferay.portlet.PortletPreferencesImpl
- All Implemented Interfaces:
- Serializable, Cloneable, PortletPreferences
public class PortletPreferencesImpl
- extends BasePreferencesImpl
- implements Cloneable, PortletPreferences, Serializable
- See Also:
- Serialized Form
Methods inherited from class com.liferay.portlet.BasePreferencesImpl |
getActualValue, getActualValues, getCompanyId, getMap, getModifiedPreferences, getNames, getOriginalPreferences, getOriginalXML, getOwnerId, getOwnerType, getPreferences, getValue, getValues, getXMLSafeValue, getXMLSafeValues, isReadOnly, reset, setValue, setValues, size, toXML |
PortletPreferencesImpl
public PortletPreferencesImpl()
PortletPreferencesImpl
public PortletPreferencesImpl(long companyId,
long ownerId,
int ownerType,
long plid,
String portletId,
String xml,
Map<String,Preference> preferences)
PortletPreferencesImpl
public PortletPreferencesImpl(String xml,
Map<String,Preference> preferences)
clone
public Object clone()
- Overrides:
clone
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
getPlid
public long getPlid()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
reset
public void reset(String key)
throws ReadOnlyException
- Specified by:
reset
in interface PortletPreferences
- Specified by:
reset
in class BasePreferencesImpl
- Throws:
ReadOnlyException
store
public void store()
throws IOException,
ValidatorException
- Specified by:
store
in interface PortletPreferences
- Specified by:
store
in class BasePreferencesImpl
- Throws:
IOException
ValidatorException
getPortletId
protected String getPortletId()