@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 ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<RecentLayoutRevision>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<RecentLayoutRevision>
public Object clone()
BaseModel
clone
in interface BaseModel<RecentLayoutRevision>
clone
in interface RecentLayoutRevisionModel
clone
in class Object
public int compareTo(RecentLayoutRevision recentLayoutRevision)
compareTo
in interface RecentLayoutRevisionModel
compareTo
in interface Comparable<RecentLayoutRevision>
public long getCompanyId()
getCompanyId
in interface RecentLayoutRevisionModel
getCompanyId
in interface ShardedModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<RecentLayoutRevision>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface RecentLayoutRevisionModel
public long getGroupId()
getGroupId
in interface RecentLayoutRevisionModel
public long getLayoutRevisionId()
getLayoutRevisionId
in interface RecentLayoutRevisionModel
public long getLayoutSetBranchId()
getLayoutSetBranchId
in interface RecentLayoutRevisionModel
public long getMvccVersion()
getMvccVersion
in interface MVCCModel
getMvccVersion
in interface RecentLayoutRevisionModel
public long getPlid()
getPlid
in interface RecentLayoutRevisionModel
public long getPrimaryKey()
getPrimaryKey
in interface RecentLayoutRevisionModel
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<RecentLayoutRevision>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface RecentLayoutRevisionModel
public long getRecentLayoutRevisionId()
getRecentLayoutRevisionId
in interface RecentLayoutRevisionModel
public long getUserId()
getUserId
in interface RecentLayoutRevisionModel
public String getUserUuid()
getUserUuid
in interface RecentLayoutRevisionModel
public int hashCode()
hashCode
in interface RecentLayoutRevisionModel
hashCode
in class Object
public boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.isCachedModel
in interface BaseModel<RecentLayoutRevision>
isCachedModel
in interface RecentLayoutRevisionModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.isEscapedModel
in interface BaseModel<RecentLayoutRevision>
isEscapedModel
in interface RecentLayoutRevisionModel
true
if this model instance is escaped;
false
otherwisepublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.isNew
in interface BaseModel<RecentLayoutRevision>
isNew
in interface RecentLayoutRevisionModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void persist()
PersistedModel
persist
in interface PersistedModel
public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<RecentLayoutRevision>
setCachedModel
in interface RecentLayoutRevisionModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public void setCompanyId(long companyId)
setCompanyId
in interface RecentLayoutRevisionModel
setCompanyId
in interface ShardedModel
companyId
- the company ID of this recent layout revisionpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<RecentLayoutRevision>
setExpandoBridgeAttributes
in interface RecentLayoutRevisionModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<RecentLayoutRevision>
setExpandoBridgeAttributes
in interface RecentLayoutRevisionModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<RecentLayoutRevision>
setExpandoBridgeAttributes
in interface RecentLayoutRevisionModel
serviceContext
- the service context to be appliedServiceContext.getExpandoBridgeAttributes()
public void setGroupId(long groupId)
setGroupId
in interface RecentLayoutRevisionModel
groupId
- the group ID of this recent layout revisionpublic void setLayoutRevisionId(long layoutRevisionId)
setLayoutRevisionId
in interface RecentLayoutRevisionModel
layoutRevisionId
- the layout revision ID of this recent layout revisionpublic void setLayoutSetBranchId(long layoutSetBranchId)
setLayoutSetBranchId
in interface RecentLayoutRevisionModel
layoutSetBranchId
- the layout set branch ID of this recent layout revisionpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
setMvccVersion
in interface RecentLayoutRevisionModel
mvccVersion
- the mvcc version of this recent layout revisionpublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<RecentLayoutRevision>
setNew
in interface RecentLayoutRevisionModel
n
- whether this model instance does not yet exist in the databasepublic void setPlid(long plid)
setPlid
in interface RecentLayoutRevisionModel
plid
- the plid of this recent layout revisionpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface RecentLayoutRevisionModel
primaryKey
- the primary key of this recent layout revisionpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<RecentLayoutRevision>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface RecentLayoutRevisionModel
primaryKeyObj
- the primary key of this model instancepublic void setRecentLayoutRevisionId(long recentLayoutRevisionId)
setRecentLayoutRevisionId
in interface RecentLayoutRevisionModel
recentLayoutRevisionId
- the recent layout revision ID of this recent layout revisionpublic void setUserId(long userId)
setUserId
in interface RecentLayoutRevisionModel
userId
- the user ID of this recent layout revisionpublic void setUserUuid(String userUuid)
setUserUuid
in interface RecentLayoutRevisionModel
userUuid
- the user uuid of this recent layout revisionpublic CacheModel<RecentLayoutRevision> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<RecentLayoutRevision>
toCacheModel
in interface RecentLayoutRevisionModel
public RecentLayoutRevision toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.toEscapedModel
in interface BaseModel<RecentLayoutRevision>
toEscapedModel
in interface RecentLayoutRevisionModel
AutoEscapeBeanHandler
public String toString()
toString
in interface RecentLayoutRevisionModel
toString
in class Object
public RecentLayoutRevision toUnescapedModel()
toUnescapedModel
in interface BaseModel<RecentLayoutRevision>
toUnescapedModel
in interface RecentLayoutRevisionModel
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<RecentLayoutRevision>
toXmlString
in interface RecentLayoutRevisionModel
public boolean equals(Object obj)
equals
in class Object
public RecentLayoutRevision getWrappedModel()
getWrappedModel
in interface ModelWrapper<RecentLayoutRevision>
public boolean isEntityCacheEnabled()
BaseModel
true
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()
BaseModel
true
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()
BaseModel
resetOriginalValues
in interface BaseModel<RecentLayoutRevision>