public class PortalPreferencesWrapper extends BaseModelWrapper<PortalPreferences> implements ModelWrapper<PortalPreferences>, PortalPreferences
This class is a wrapper for PortalPreferences
.
PortalPreferences
,
Serialized Formmodel
PORTAL_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, toXmlString
getWrappedModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
getModelClass, getModelClassName
public 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 MVCCModel
getMvccVersion
in interface PortalPreferencesModel
public long getOwnerId()
getOwnerId
in interface PortalPreferencesModel
public int getOwnerType()
getOwnerType
in interface PortalPreferencesModel
public long getPortalPreferencesId()
getPortalPreferencesId
in interface PortalPreferencesModel
public String getPreferences()
getPreferences
in interface PortalPreferencesModel
public long getPrimaryKey()
getPrimaryKey
in interface PortalPreferencesModel
public void persist()
PortalPreferences
interface instead.persist
in interface PersistedModel
public void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
setMvccVersion
in interface PortalPreferencesModel
mvccVersion
- the mvcc version of this portal preferencespublic void setOwnerId(long ownerId)
setOwnerId
in interface PortalPreferencesModel
ownerId
- the owner ID of this portal preferencespublic void setOwnerType(int ownerType)
setOwnerType
in interface PortalPreferencesModel
ownerType
- the owner type of this portal preferencespublic void setPortalPreferencesId(long portalPreferencesId)
setPortalPreferencesId
in interface PortalPreferencesModel
portalPreferencesId
- the portal preferences ID of this portal preferencespublic void setPreferences(String preferences)
setPreferences
in interface PortalPreferencesModel
preferences
- the preferences of this portal preferencespublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface PortalPreferencesModel
primaryKey
- the primary key of this portal preferencesprotected PortalPreferencesWrapper wrap(PortalPreferences portalPreferences)
wrap
in class BaseModelWrapper<PortalPreferences>