public class PortletPreferencesWrapper extends BaseModelWrapper<PortletPreferences> implements ModelWrapper<PortletPreferences>, PortletPreferences
This class is a wrapper for PortletPreferences.
PortletPreferences,
Serialized FormmodelPORTLET_PREFERENCES_ID_ACCESSOR| Constructor and Description |
|---|
PortletPreferencesWrapper(PortletPreferences portletPreferences) |
| Modifier and Type | Method and Description |
|---|---|
long |
getCompanyId()
Returns the company ID of this portlet preferences.
|
Map<String,Object> |
getModelAttributes() |
long |
getMvccVersion()
Returns the mvcc version of this portlet preferences.
|
long |
getOwnerId()
Returns the owner ID of this portlet preferences.
|
int |
getOwnerType()
Returns the owner type of this portlet preferences.
|
long |
getPlid()
Returns the plid of this portlet preferences.
|
String |
getPortletId()
Returns the portlet ID of this portlet preferences.
|
long |
getPortletPreferencesId()
Returns the portlet preferences ID of this portlet preferences.
|
String |
getPreferences()
Returns the preferences of this portlet preferences.
|
long |
getPrimaryKey()
Returns the primary key of this portlet preferences.
|
void |
persist()
NOTE FOR DEVELOPERS:
Never modify or reference this class directly.
|
void |
setCompanyId(long companyId)
Sets the company ID of this portlet preferences.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this portlet preferences.
|
void |
setOwnerId(long ownerId)
Sets the owner ID of this portlet preferences.
|
void |
setOwnerType(int ownerType)
Sets the owner type of this portlet preferences.
|
void |
setPlid(long plid)
Sets the plid of this portlet preferences.
|
void |
setPortletId(String portletId)
Sets the portlet ID of this portlet preferences.
|
void |
setPortletPreferencesId(long portletPreferencesId)
Sets the portlet preferences ID of this portlet preferences.
|
void |
setPreferences(String preferences)
Sets the preferences of this portlet preferences.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this portlet preferences.
|
protected PortletPreferencesWrapper |
wrap(PortletPreferences portletPreferences) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlStringgetWrappedModelclone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamepublic PortletPreferencesWrapper(PortletPreferences portletPreferences)
public Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<PortletPreferences>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<PortletPreferences>public long getCompanyId()
getCompanyId in interface PortletPreferencesModelgetCompanyId in interface ShardedModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface PortletPreferencesModelpublic long getOwnerId()
getOwnerId in interface PortletPreferencesModelpublic int getOwnerType()
getOwnerType in interface PortletPreferencesModelpublic long getPlid()
getPlid in interface PortletPreferencesModelpublic String getPortletId()
getPortletId in interface PortletPreferencesModelpublic long getPortletPreferencesId()
getPortletPreferencesId in interface PortletPreferencesModelpublic String getPreferences()
getPreferences in interface PortletPreferencesModelpublic long getPrimaryKey()
getPrimaryKey in interface PortletPreferencesModelpublic void persist()
PortletPreferences interface instead.persist in interface PersistedModelpublic void setCompanyId(long companyId)
setCompanyId in interface PortletPreferencesModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this portlet preferencespublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface PortletPreferencesModelmvccVersion - the mvcc version of this portlet preferencespublic void setOwnerId(long ownerId)
setOwnerId in interface PortletPreferencesModelownerId - the owner ID of this portlet preferencespublic void setOwnerType(int ownerType)
setOwnerType in interface PortletPreferencesModelownerType - the owner type of this portlet preferencespublic void setPlid(long plid)
setPlid in interface PortletPreferencesModelplid - the plid of this portlet preferencespublic void setPortletId(String portletId)
setPortletId in interface PortletPreferencesModelportletId - the portlet ID of this portlet preferencespublic void setPortletPreferencesId(long portletPreferencesId)
setPortletPreferencesId in interface PortletPreferencesModelportletPreferencesId - the portlet preferences ID of this portlet preferencespublic void setPreferences(String preferences)
setPreferences in interface PortletPreferencesModelpreferences - the preferences of this portlet preferencespublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface PortletPreferencesModelprimaryKey - the primary key of this portlet preferencesprotected PortletPreferencesWrapper wrap(PortletPreferences portletPreferences)
wrap in class BaseModelWrapper<PortletPreferences>