Package com.liferay.portlet
Class PortletPreferencesImpl
java.lang.Object
com.liferay.portlet.PortletPreferencesImpl
- All Implemented Interfaces:
Serializable,Cloneable,javax.portlet.PortletPreferences
- Direct Known Subclasses:
StrictPortletPreferencesImpl
public class PortletPreferencesImpl
extends Object
implements Cloneable, javax.portlet.PortletPreferences, Serializable
- Author:
- Brian Wing Shun Chan, Alexander Chow
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPortletPreferencesImpl(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
Modifier and TypeMethodDescriptionclone()booleanprotected longgetMap()protected Map<String,Preference> getNames()protected Map<String,Preference> protected StringlongintlonggetPlid()protected StringString[]inthashCode()booleanisReadOnly(String key) voidvoidsetPlid(long plid) voidvoidintsize()voidstore()protected StringtoXML()
-
Constructor Details
-
PortletPreferencesImpl
public PortletPreferencesImpl() -
PortletPreferencesImpl
public PortletPreferencesImpl(long companyId, long ownerId, int ownerType, long plid, String portletId, String xml, Map<String, Preference> preferences) -
PortletPreferencesImpl
-
-
Method Details
-
clone
-
equals
-
getMap
- Specified by:
getMapin interfacejavax.portlet.PortletPreferences
-
getNames
- Specified by:
getNamesin interfacejavax.portlet.PortletPreferences
-
getOwnerId
public long getOwnerId() -
getOwnerType
public int getOwnerType() -
getPlid
public long getPlid() -
getPreferences
-
getValue
- Specified by:
getValuein interfacejavax.portlet.PortletPreferences
-
getValues
- Specified by:
getValuesin interfacejavax.portlet.PortletPreferences
-
hashCode
public int hashCode() -
isReadOnly
- Specified by:
isReadOnlyin interfacejavax.portlet.PortletPreferences
-
reset
- Specified by:
resetin interfacejavax.portlet.PortletPreferences- Throws:
javax.portlet.ReadOnlyException
-
setPlid
public void setPlid(long plid) -
setValue
- Specified by:
setValuein interfacejavax.portlet.PortletPreferences- Throws:
javax.portlet.ReadOnlyException
-
setValues
- Specified by:
setValuesin interfacejavax.portlet.PortletPreferences- Throws:
javax.portlet.ReadOnlyException
-
size
public int size() -
store
- Specified by:
storein interfacejavax.portlet.PortletPreferences- Throws:
IOExceptionjavax.portlet.ValidatorException
-
getCompanyId
protected long getCompanyId() -
getModifiedPreferences
-
getOriginalPreferences
-
getOriginalXML
-
getPortletId
-
toXML
-