public class PortletPreferencesImpl extends BasePreferencesImpl implements Cloneable, 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, toXMLfinalize, getClass, notify, notifyAll, toString, wait, wait, waitgetMap, getNames, getValue, getValues, isReadOnly, setValue, setValuespublic 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 long getPlid()
public void reset(String key) throws ReadOnlyException
reset in interface PortletPreferencesreset in class BasePreferencesImplReadOnlyExceptionpublic void setPlid(long plid)
public void store()
throws IOException,
ValidatorException
store in interface PortletPreferencesstore in class BasePreferencesImplIOExceptionValidatorExceptionprotected String getPortletId()