@ProviderType public class RecentLayoutRevisionWrapper extends Object implements RecentLayoutRevision, ModelWrapper<RecentLayoutRevision>
This class is a wrapper for RecentLayoutRevision.
RecentLayoutRevision,
Serialized FormRECENT_LAYOUT_REVISION_ID_ACCESSOR| Constructor and Description |
|---|
RecentLayoutRevisionWrapper(RecentLayoutRevision recentLayoutRevision) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(RecentLayoutRevision recentLayoutRevision) |
boolean |
equals(Object obj) |
long |
getCompanyId()
Returns the company ID of this recent layout revision.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
long |
getGroupId()
Returns the group ID of this recent layout revision.
|
long |
getLayoutRevisionId()
Returns the layout revision ID of this recent layout revision.
|
long |
getLayoutSetBranchId()
Returns the layout set branch ID of this recent layout revision.
|
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
long |
getMvccVersion()
Returns the mvcc version of this recent layout revision.
|
long |
getPlid()
Returns the plid of this recent layout revision.
|
long |
getPrimaryKey()
Returns the primary key of this recent layout revision.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
long |
getRecentLayoutRevisionId()
Returns the recent layout revision ID of this recent layout revision.
|
long |
getUserId()
Returns the user ID of this recent layout revision.
|
String |
getUserUuid()
Returns the user uuid of this recent layout revision.
|
RecentLayoutRevision |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEntityCacheEnabled()
Returns
true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns
true if this model's finder cache is enabled. |
boolean |
isNew()
Returns
true if this model instance does not yet exist in
the database. |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
resetOriginalValues()
Reset all original fields to current values.
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache.
|
void |
setCompanyId(long companyId)
Sets the company ID of this recent layout revision.
|
void |
setExpandoBridgeAttributes(BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the
attributes stored in the service context.
|
void |
setGroupId(long groupId)
Sets the group ID of this recent layout revision.
|
void |
setLayoutRevisionId(long layoutRevisionId)
Sets the layout revision ID of this recent layout revision.
|
void |
setLayoutSetBranchId(long layoutSetBranchId)
Sets the layout set branch ID of this recent layout revision.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this recent layout revision.
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database.
|
void |
setPlid(long plid)
Sets the plid of this recent layout revision.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this recent layout revision.
|
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setRecentLayoutRevisionId(long recentLayoutRevisionId)
Sets the recent layout revision ID of this recent layout revision.
|
void |
setUserId(long userId)
Sets the user ID of this recent layout revision.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this recent layout revision.
|
CacheModel<RecentLayoutRevision> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
RecentLayoutRevision |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
String |
toString() |
RecentLayoutRevision |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
public RecentLayoutRevisionWrapper(RecentLayoutRevision recentLayoutRevision)
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<RecentLayoutRevision>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<RecentLayoutRevision>public CacheModel<RecentLayoutRevision> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<RecentLayoutRevision>toCacheModel in interface RecentLayoutRevisionModelpublic RecentLayoutRevision toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<RecentLayoutRevision>toEscapedModel in interface RecentLayoutRevisionModelAutoEscapeBeanHandlerpublic RecentLayoutRevision toUnescapedModel()
toUnescapedModel in interface BaseModel<RecentLayoutRevision>toUnescapedModel in interface RecentLayoutRevisionModelpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<RecentLayoutRevision>isCachedModel in interface RecentLayoutRevisionModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<RecentLayoutRevision>isEscapedModel in interface RecentLayoutRevisionModeltrue if this model instance is escaped;
false otherwisepublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<RecentLayoutRevision>isNew in interface RecentLayoutRevisionModeltrue if this model instance does not yet exist in
the database; false otherwisepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<RecentLayoutRevision>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface RecentLayoutRevisionModelpublic int compareTo(RecentLayoutRevision recentLayoutRevision)
compareTo in interface RecentLayoutRevisionModelcompareTo in interface Comparable<RecentLayoutRevision>public int hashCode()
hashCode in interface RecentLayoutRevisionModelhashCode in class Objectpublic Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<RecentLayoutRevision>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface RecentLayoutRevisionModelpublic Object clone()
BaseModelclone in interface BaseModel<RecentLayoutRevision>clone in interface RecentLayoutRevisionModelclone in class Objectpublic String getUserUuid()
getUserUuid in interface RecentLayoutRevisionModelpublic String toString()
toString in interface RecentLayoutRevisionModeltoString in class Objectpublic String toXmlString()
BaseModeltoXmlString in interface BaseModel<RecentLayoutRevision>toXmlString in interface RecentLayoutRevisionModelpublic long getCompanyId()
getCompanyId in interface RecentLayoutRevisionModelgetCompanyId in interface ShardedModelpublic long getGroupId()
getGroupId in interface RecentLayoutRevisionModelpublic long getLayoutRevisionId()
getLayoutRevisionId in interface RecentLayoutRevisionModelpublic long getLayoutSetBranchId()
getLayoutSetBranchId in interface RecentLayoutRevisionModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface RecentLayoutRevisionModelpublic long getPlid()
getPlid in interface RecentLayoutRevisionModelpublic long getPrimaryKey()
getPrimaryKey in interface RecentLayoutRevisionModelpublic long getRecentLayoutRevisionId()
getRecentLayoutRevisionId in interface RecentLayoutRevisionModelpublic long getUserId()
getUserId in interface RecentLayoutRevisionModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<RecentLayoutRevision>setCachedModel in interface RecentLayoutRevisionModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setCompanyId(long companyId)
setCompanyId in interface RecentLayoutRevisionModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this recent layout revisionpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<RecentLayoutRevision>setExpandoBridgeAttributes in interface RecentLayoutRevisionModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<RecentLayoutRevision>setExpandoBridgeAttributes in interface RecentLayoutRevisionModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<RecentLayoutRevision>setExpandoBridgeAttributes in interface RecentLayoutRevisionModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setGroupId(long groupId)
setGroupId in interface RecentLayoutRevisionModelgroupId - the group ID of this recent layout revisionpublic void setLayoutRevisionId(long layoutRevisionId)
setLayoutRevisionId in interface RecentLayoutRevisionModellayoutRevisionId - the layout revision ID of this recent layout revisionpublic void setLayoutSetBranchId(long layoutSetBranchId)
setLayoutSetBranchId in interface RecentLayoutRevisionModellayoutSetBranchId - the layout set branch ID of this recent layout revisionpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface RecentLayoutRevisionModelmvccVersion - the mvcc version of this recent layout revisionpublic void setNew(boolean n)
BaseModelsetNew in interface BaseModel<RecentLayoutRevision>setNew in interface RecentLayoutRevisionModeln - whether this model instance does not yet exist in the databasepublic void setPlid(long plid)
setPlid in interface RecentLayoutRevisionModelplid - the plid of this recent layout revisionpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface RecentLayoutRevisionModelprimaryKey - the primary key of this recent layout revisionpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<RecentLayoutRevision>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface RecentLayoutRevisionModelprimaryKeyObj - the primary key of this model instancepublic void setRecentLayoutRevisionId(long recentLayoutRevisionId)
setRecentLayoutRevisionId in interface RecentLayoutRevisionModelrecentLayoutRevisionId - the recent layout revision ID of this recent layout revisionpublic void setUserId(long userId)
setUserId in interface RecentLayoutRevisionModeluserId - the user ID of this recent layout revisionpublic void setUserUuid(String userUuid)
setUserUuid in interface RecentLayoutRevisionModeluserUuid - the user uuid of this recent layout revisionpublic RecentLayoutRevision getWrappedModel()
getWrappedModel in interface ModelWrapper<RecentLayoutRevision>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.isEntityCacheEnabled in interface BaseModel<RecentLayoutRevision>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.isFinderCacheEnabled in interface BaseModel<RecentLayoutRevision>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<RecentLayoutRevision>