@ProviderType public class RecentLayoutBranchWrapper extends Object implements RecentLayoutBranch, ModelWrapper<RecentLayoutBranch>
This class is a wrapper for RecentLayoutBranch.
RecentLayoutBranch,
Serialized FormRECENT_LAYOUT_BRANCH_ID_ACCESSOR| Constructor and Description |
|---|
RecentLayoutBranchWrapper(RecentLayoutBranch recentLayoutBranch) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(RecentLayoutBranch recentLayoutBranch) |
boolean |
equals(Object obj) |
long |
getCompanyId()
Returns the company ID of this recent layout branch.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
long |
getGroupId()
Returns the group ID of this recent layout branch.
|
long |
getLayoutBranchId()
Returns the layout branch ID of this recent layout branch.
|
long |
getLayoutSetBranchId()
Returns the layout set branch ID of this recent layout branch.
|
Map<String,Object> |
getModelAttributes() |
Class<?> |
getModelClass() |
String |
getModelClassName() |
long |
getMvccVersion()
Returns the mvcc version of this recent layout branch.
|
long |
getPlid()
Returns the plid of this recent layout branch.
|
long |
getPrimaryKey()
Returns the primary key of this recent layout branch.
|
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
long |
getRecentLayoutBranchId()
Returns the recent layout branch ID of this recent layout branch.
|
long |
getUserId()
Returns the user ID of this recent layout branch.
|
String |
getUserUuid()
Returns the user uuid of this recent layout branch.
|
RecentLayoutBranch |
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 branch.
|
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 branch.
|
void |
setLayoutBranchId(long layoutBranchId)
Sets the layout branch ID of this recent layout branch.
|
void |
setLayoutSetBranchId(long layoutSetBranchId)
Sets the layout set branch ID of this recent layout branch.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this recent layout branch.
|
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 branch.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this recent layout branch.
|
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setRecentLayoutBranchId(long recentLayoutBranchId)
Sets the recent layout branch ID of this recent layout branch.
|
void |
setUserId(long userId)
Sets the user ID of this recent layout branch.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this recent layout branch.
|
CacheModel<RecentLayoutBranch> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
RecentLayoutBranch |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
String |
toString() |
RecentLayoutBranch |
toUnescapedModel() |
String |
toXmlString()
Returns the XML representation of this model instance.
|
public RecentLayoutBranchWrapper(RecentLayoutBranch recentLayoutBranch)
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<RecentLayoutBranch>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<RecentLayoutBranch>public CacheModel<RecentLayoutBranch> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<RecentLayoutBranch>toCacheModel in interface RecentLayoutBranchModelpublic RecentLayoutBranch toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<RecentLayoutBranch>toEscapedModel in interface RecentLayoutBranchModelAutoEscapeBeanHandlerpublic RecentLayoutBranch toUnescapedModel()
toUnescapedModel in interface BaseModel<RecentLayoutBranch>toUnescapedModel in interface RecentLayoutBranchModelpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<RecentLayoutBranch>isCachedModel in interface RecentLayoutBranchModeltrue 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<RecentLayoutBranch>isEscapedModel in interface RecentLayoutBranchModeltrue 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<RecentLayoutBranch>isNew in interface RecentLayoutBranchModeltrue if this model instance does not yet exist in
the database; false otherwisepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<RecentLayoutBranch>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface RecentLayoutBranchModelpublic int compareTo(RecentLayoutBranch recentLayoutBranch)
compareTo in interface RecentLayoutBranchModelcompareTo in interface Comparable<RecentLayoutBranch>public int hashCode()
hashCode in interface RecentLayoutBranchModelhashCode in class Objectpublic Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<RecentLayoutBranch>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface RecentLayoutBranchModelpublic Object clone()
BaseModelclone in interface BaseModel<RecentLayoutBranch>clone in interface RecentLayoutBranchModelclone in class Objectpublic String getUserUuid()
getUserUuid in interface RecentLayoutBranchModelpublic String toString()
toString in interface RecentLayoutBranchModeltoString in class Objectpublic String toXmlString()
BaseModeltoXmlString in interface BaseModel<RecentLayoutBranch>toXmlString in interface RecentLayoutBranchModelpublic long getCompanyId()
getCompanyId in interface RecentLayoutBranchModelgetCompanyId in interface ShardedModelpublic long getGroupId()
getGroupId in interface RecentLayoutBranchModelpublic long getLayoutBranchId()
getLayoutBranchId in interface RecentLayoutBranchModelpublic long getLayoutSetBranchId()
getLayoutSetBranchId in interface RecentLayoutBranchModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface RecentLayoutBranchModelpublic long getPlid()
getPlid in interface RecentLayoutBranchModelpublic long getPrimaryKey()
getPrimaryKey in interface RecentLayoutBranchModelpublic long getRecentLayoutBranchId()
getRecentLayoutBranchId in interface RecentLayoutBranchModelpublic long getUserId()
getUserId in interface RecentLayoutBranchModelpublic void persist()
PersistedModelpersist in interface PersistedModelpublic void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<RecentLayoutBranch>setCachedModel in interface RecentLayoutBranchModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setCompanyId(long companyId)
setCompanyId in interface RecentLayoutBranchModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this recent layout branchpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<RecentLayoutBranch>setExpandoBridgeAttributes in interface RecentLayoutBranchModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<RecentLayoutBranch>setExpandoBridgeAttributes in interface RecentLayoutBranchModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<RecentLayoutBranch>setExpandoBridgeAttributes in interface RecentLayoutBranchModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setGroupId(long groupId)
setGroupId in interface RecentLayoutBranchModelgroupId - the group ID of this recent layout branchpublic void setLayoutBranchId(long layoutBranchId)
setLayoutBranchId in interface RecentLayoutBranchModellayoutBranchId - the layout branch ID of this recent layout branchpublic void setLayoutSetBranchId(long layoutSetBranchId)
setLayoutSetBranchId in interface RecentLayoutBranchModellayoutSetBranchId - the layout set branch ID of this recent layout branchpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface RecentLayoutBranchModelmvccVersion - the mvcc version of this recent layout branchpublic void setNew(boolean n)
BaseModelsetNew in interface BaseModel<RecentLayoutBranch>setNew in interface RecentLayoutBranchModeln - whether this model instance does not yet exist in the databasepublic void setPlid(long plid)
setPlid in interface RecentLayoutBranchModelplid - the plid of this recent layout branchpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface RecentLayoutBranchModelprimaryKey - the primary key of this recent layout branchpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<RecentLayoutBranch>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface RecentLayoutBranchModelprimaryKeyObj - the primary key of this model instancepublic void setRecentLayoutBranchId(long recentLayoutBranchId)
setRecentLayoutBranchId in interface RecentLayoutBranchModelrecentLayoutBranchId - the recent layout branch ID of this recent layout branchpublic void setUserId(long userId)
setUserId in interface RecentLayoutBranchModeluserId - the user ID of this recent layout branchpublic void setUserUuid(String userUuid)
setUserUuid in interface RecentLayoutBranchModeluserUuid - the user uuid of this recent layout branchpublic RecentLayoutBranch getWrappedModel()
getWrappedModel in interface ModelWrapper<RecentLayoutBranch>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.isEntityCacheEnabled in interface BaseModel<RecentLayoutBranch>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<RecentLayoutBranch>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<RecentLayoutBranch>