Package com.liferay.portlet
Class PortletPreferencesImpl
Object
com.liferay.portlet.PortletPreferencesImpl
- All Implemented Interfaces:
Serializable,Cloneable,PortletPreferences
- Direct Known Subclasses:
StrictPortletPreferencesImpl
public class PortletPreferencesImpl
extends Object
implements Cloneable, 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 interfacePortletPreferences
-
getNames
- Specified by:
getNamesin interfacePortletPreferences
-
getOwnerId
public long getOwnerId() -
getOwnerType
public int getOwnerType() -
getPlid
public long getPlid() -
getPreferences
-
getValue
- Specified by:
getValuein interfacePortletPreferences
-
getValues
- Specified by:
getValuesin interfacePortletPreferences
-
hashCode
public int hashCode() -
isReadOnly
- Specified by:
isReadOnlyin interfacePortletPreferences
-
reset
- Specified by:
resetin interfacePortletPreferences- Throws:
ReadOnlyException
-
setPlid
public void setPlid(long plid) -
setValue
- Specified by:
setValuein interfacePortletPreferences- Throws:
ReadOnlyException
-
setValues
- Specified by:
setValuesin interfacePortletPreferences- Throws:
ReadOnlyException
-
size
public int size() -
store
- Specified by:
storein interfacePortletPreferences- Throws:
IOExceptionValidatorException
-
getCompanyId
protected long getCompanyId() -
getModifiedPreferences
-
getOriginalPreferences
-
getOriginalXML
-
getPortletId
-
toXML
-