Liferay 6.1.2-ce-ga3

com.liferay.portlet
Class PortletPreferencesImpl

java.lang.Object
  extended by com.liferay.portlet.BasePreferencesImpl
      extended by com.liferay.portlet.PortletPreferencesImpl
All Implemented Interfaces:
Serializable, Cloneable, PortletPreferences

public class PortletPreferencesImpl
extends BasePreferencesImpl
implements Cloneable, PortletPreferences, Serializable

See Also:
Serialized Form

Constructor Summary
PortletPreferencesImpl()
           
PortletPreferencesImpl(long companyId, long ownerId, int ownerType, long plid, String portletId, String xml, Map<String,Preference> preferences)
           
PortletPreferencesImpl(String xml, Map<String,Preference> preferences)
           
 
Method Summary
 Object clone()
           
 boolean equals(Object obj)
           
 long getPlid()
           
protected  String getPortletId()
           
 int hashCode()
           
 void reset(String key)
           
 void store()
           
 
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
 
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
 

Constructor Detail

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)
Method Detail

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()

Liferay 6.1.2-ce-ga3