Liferay 6.2-ce-ga5

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
Direct Known Subclasses:
StrictPortletPreferencesImpl

public class PortletPreferencesImpl
extends BasePreferencesImpl
implements Cloneable, PortletPreferences, Serializable

See Also:
Serialized Form

Field Summary
protected  long companyId
           
 
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 setPlid(long plid)
           
 void store()
           
 
Methods inherited from class com.liferay.portlet.BasePreferencesImpl
getActualValue, getActualValues, getMap, getModifiedPreferences, getNames, getOriginalPreferences, getOriginalXML, getOwnerId, getOwnerType, getPreferences, getValue, getValues, getXMLSafeValue, getXMLSafeValues, isNull, isReadOnly, reset, setOriginalPreferences, setOriginalXML, 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
 

Field Detail

companyId

protected long companyId
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

setPlid

public void setPlid(long plid)

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.2-ce-ga5