public class PortletPreferencesImpl extends BasePreferencesImpl implements Cloneable, javax.portlet.PortletPreferences, Serializable
Modifier and Type | Field and Description |
---|---|
protected long |
companyId |
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
boolean |
equals(Object obj) |
long |
getPlid() |
protected String |
getPortletId() |
int |
hashCode() |
void |
reset(String key) |
void |
setPlid(long plid) |
void |
store() |
getActualValue, getActualValues, getMap, getModifiedPreferences, getNames, getOriginalPreferences, getOriginalXML, getOwnerId, getOwnerType, getPreferences, getValue, getValues, getXMLSafeValue, getXMLSafeValues, isNull, isReadOnly, reset, setOriginalPreferences, setOriginalXML, setValue, setValues, size, toXML
public PortletPreferencesImpl()
public PortletPreferencesImpl(long companyId, long ownerId, int ownerType, long plid, String portletId, String xml, Map<String,Preference> preferences)
public PortletPreferencesImpl(String xml, Map<String,Preference> preferences)
public Object clone()
clone
in class Object
public boolean equals(Object obj)
equals
in class Object
public long getPlid()
public int hashCode()
hashCode
in class Object
public void reset(String key) throws javax.portlet.ReadOnlyException
reset
in interface javax.portlet.PortletPreferences
reset
in class BasePreferencesImpl
javax.portlet.ReadOnlyException
public void setPlid(long plid)
public void store() throws IOException, javax.portlet.ValidatorException
store
in interface javax.portlet.PortletPreferences
store
in class BasePreferencesImpl
IOException
javax.portlet.ValidatorException
protected String getPortletId()