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 |
|---|---|
PortalPreferences |
cloneWithOriginalValues() |
long |
getCompanyId()
Returns the company ID of this portal preferences.
|
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.
|
long |
getPrimaryKey()
Returns the primary key of this portal preferences.
|
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
setCompanyId(long companyId)
Sets the company ID of this portal preferences.
|
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 |
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, getAttributeGetterFunctions, getAttributeSetterBiConsumers, 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 PortalPreferences cloneWithOriginalValues()
cloneWithOriginalValues in interface BaseModel<PortalPreferences>cloneWithOriginalValues in interface PortalPreferencesModelpublic long getCompanyId()
getCompanyId in interface PortalPreferencesModelgetCompanyId in interface ShardedModelpublic 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 long getPrimaryKey()
getPrimaryKey in interface PortalPreferencesModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setCompanyId(long companyId)
setCompanyId in interface PortalPreferencesModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this portal preferencespublic 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 setPrimaryKey(long primaryKey)
setPrimaryKey in interface PortalPreferencesModelprimaryKey - the primary key of this portal preferencesprotected PortalPreferencesWrapper wrap(PortalPreferences portalPreferences)
wrap in class BaseModelWrapper<PortalPreferences>