public class PortalPreferencesWrapper extends BaseModelWrapper<PortalPreferences> implements ModelWrapper<PortalPreferences>, PortalPreferences
This class is a wrapper for PortalPreferences.
PortalPreferences,
Serialized FormmodelPORTAL_PREFERENCES_ID_ACCESSOR| Constructor and Description |
|---|
PortalPreferencesWrapper(PortalPreferences portalPreferences) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getModelAttributes() |
long |
getMvccVersion()
Returns the mvcc version of this portal preferences.
|
long |
getOwnerId()
Returns the owner ID of this portal preferences.
|
int |
getOwnerType()
Returns the owner type of this portal preferences.
|
long |
getPortalPreferencesId()
Returns the portal preferences ID of this portal preferences.
|
String |
getPreferences()
Returns the preferences of this portal preferences.
|
long |
getPrimaryKey()
Returns the primary key of this portal preferences.
|
void |
persist()
NOTE FOR DEVELOPERS:
Never modify or reference this class directly.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this portal preferences.
|
void |
setOwnerId(long ownerId)
Sets the owner ID of this portal preferences.
|
void |
setOwnerType(int ownerType)
Sets the owner type of this portal preferences.
|
void |
setPortalPreferencesId(long portalPreferencesId)
Sets the portal preferences ID of this portal preferences.
|
void |
setPreferences(String preferences)
Sets the preferences of this portal preferences.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this portal preferences.
|
protected PortalPreferencesWrapper |
wrap(PortalPreferences portalPreferences) |
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 PortalPreferencesWrapper(PortalPreferences portalPreferences)
public Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<PortalPreferences>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<PortalPreferences>public long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface PortalPreferencesModelpublic long getOwnerId()
getOwnerId in interface PortalPreferencesModelpublic int getOwnerType()
getOwnerType in interface PortalPreferencesModelpublic long getPortalPreferencesId()
getPortalPreferencesId in interface PortalPreferencesModelpublic String getPreferences()
getPreferences in interface PortalPreferencesModelpublic long getPrimaryKey()
getPrimaryKey in interface PortalPreferencesModelpublic void persist()
PortalPreferences interface instead.persist in interface PersistedModelpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface PortalPreferencesModelmvccVersion - the mvcc version of this portal preferencespublic void setOwnerId(long ownerId)
setOwnerId in interface PortalPreferencesModelownerId - the owner ID of this portal preferencespublic void setOwnerType(int ownerType)
setOwnerType in interface PortalPreferencesModelownerType - the owner type of this portal preferencespublic void setPortalPreferencesId(long portalPreferencesId)
setPortalPreferencesId in interface PortalPreferencesModelportalPreferencesId - the portal preferences ID of this portal preferencespublic void setPreferences(String preferences)
setPreferences in interface PortalPreferencesModelpreferences - the preferences of this portal preferencespublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface PortalPreferencesModelprimaryKey - the primary key of this portal preferencesprotected PortalPreferencesWrapper wrap(PortalPreferences portalPreferences)
wrap in class BaseModelWrapper<PortalPreferences>