@ProviderType public class LayoutBranchWrapper extends java.lang.Object implements LayoutBranch, ModelWrapper<LayoutBranch>
This class is a wrapper for LayoutBranch.
LayoutBranch,
Serialized Form| Constructor and Description |
|---|
LayoutBranchWrapper(LayoutBranch layoutBranch) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Creates a shallow clone of this model instance.
|
int |
compareTo(LayoutBranch layoutBranch) |
boolean |
equals(java.lang.Object obj) |
long |
getCompanyId()
Returns the company ID of this layout branch.
|
java.lang.String |
getDescription()
Returns the description of this layout branch.
|
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance.
|
long |
getGroupId()
Returns the group ID of this layout branch.
|
long |
getLayoutBranchId()
Returns the layout branch ID of this layout branch.
|
long |
getLayoutSetBranchId()
Returns the layout set branch ID of this layout branch.
|
boolean |
getMaster()
Returns the master of this layout branch.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.lang.String |
getName()
Returns the name of this layout branch.
|
long |
getPlid()
Returns the plid of this layout branch.
|
long |
getPrimaryKey()
Returns the primary key of this layout branch.
|
java.io.Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance.
|
long |
getUserId()
Returns the user ID of this layout branch.
|
java.lang.String |
getUserName()
Returns the user name of this layout branch.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this layout branch.
|
LayoutBranch |
getWrappedLayoutBranch()
Deprecated.
As of 6.1.0, replaced by
getWrappedModel() |
LayoutBranch |
getWrappedModel() |
int |
hashCode() |
boolean |
isCachedModel()
Returns
true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns
true if this model instance is escaped. |
boolean |
isMaster()
Returns
true if this layout branch is master. |
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 layout branch.
|
void |
setDescription(java.lang.String description)
Sets the description of this 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 layout branch.
|
void |
setLayoutBranchId(long LayoutBranchId)
Sets the layout branch ID of this layout branch.
|
void |
setLayoutSetBranchId(long layoutSetBranchId)
Sets the layout set branch ID of this layout branch.
|
void |
setMaster(boolean master)
Sets whether this layout branch is master.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setName(java.lang.String name)
Sets the name of this 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 layout branch.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this layout branch.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
Sets the primary key of this model instance.
|
void |
setUserId(long userId)
Sets the user ID of this layout branch.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this layout branch.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this layout branch.
|
CacheModel<LayoutBranch> |
toCacheModel()
Returns a cache model object for this entity used by entity cache.
|
LayoutBranch |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it
with an
AutoEscapeBeanHandler. |
java.lang.String |
toString() |
LayoutBranch |
toUnescapedModel() |
java.lang.String |
toXmlString()
Returns the XML representation of this model instance.
|
public LayoutBranchWrapper(LayoutBranch layoutBranch)
public java.lang.Class<?> getModelClass()
getModelClass in interface ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<LayoutBranch>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<LayoutBranch>public long getPrimaryKey()
getPrimaryKey in interface LayoutBranchModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface LayoutBranchModelprimaryKey - the primary key of this layout branchpublic long getLayoutBranchId()
getLayoutBranchId in interface LayoutBranchModelpublic void setLayoutBranchId(long LayoutBranchId)
setLayoutBranchId in interface LayoutBranchModelLayoutBranchId - the layout branch ID of this layout branchpublic long getGroupId()
getGroupId in interface LayoutBranchModelpublic void setGroupId(long groupId)
setGroupId in interface LayoutBranchModelgroupId - the group ID of this layout branchpublic long getCompanyId()
getCompanyId in interface LayoutBranchModelpublic void setCompanyId(long companyId)
setCompanyId in interface LayoutBranchModelcompanyId - the company ID of this layout branchpublic long getUserId()
getUserId in interface LayoutBranchModelpublic void setUserId(long userId)
setUserId in interface LayoutBranchModeluserId - the user ID of this layout branchpublic java.lang.String getUserUuid()
throws SystemException
getUserUuid in interface LayoutBranchModelSystemException - if a system exception occurredpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface LayoutBranchModeluserUuid - the user uuid of this layout branchpublic java.lang.String getUserName()
getUserName in interface LayoutBranchModelpublic void setUserName(java.lang.String userName)
setUserName in interface LayoutBranchModeluserName - the user name of this layout branchpublic long getLayoutSetBranchId()
getLayoutSetBranchId in interface LayoutBranchModelpublic void setLayoutSetBranchId(long layoutSetBranchId)
setLayoutSetBranchId in interface LayoutBranchModellayoutSetBranchId - the layout set branch ID of this layout branchpublic long getPlid()
getPlid in interface LayoutBranchModelpublic void setPlid(long plid)
setPlid in interface LayoutBranchModelplid - the plid of this layout branchpublic java.lang.String getName()
getName in interface LayoutBranchModelpublic void setName(java.lang.String name)
setName in interface LayoutBranchModelname - the name of this layout branchpublic java.lang.String getDescription()
getDescription in interface LayoutBranchModelpublic void setDescription(java.lang.String description)
setDescription in interface LayoutBranchModeldescription - the description of this layout branchpublic boolean getMaster()
getMaster in interface LayoutBranchModelpublic boolean isMaster()
true if this layout branch is master.isMaster in interface LayoutBranchModeltrue if this layout branch is master; false otherwisepublic void setMaster(boolean master)
setMaster in interface LayoutBranchModelmaster - the master of this layout branchpublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.isNew in interface BaseModel<LayoutBranch>isNew in interface LayoutBranchModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModelsetNew in interface BaseModel<LayoutBranch>setNew in interface LayoutBranchModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.isCachedModel in interface BaseModel<LayoutBranch>isCachedModel in interface LayoutBranchModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModelsetCachedModel in interface BaseModel<LayoutBranch>setCachedModel in interface LayoutBranchModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.isEscapedModel in interface BaseModel<LayoutBranch>isEscapedModel in interface LayoutBranchModeltrue if this model instance is escaped;
false otherwisepublic java.io.Serializable getPrimaryKeyObj()
BaseModelgetPrimaryKeyObj in interface BaseModel<LayoutBranch>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface LayoutBranchModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
BaseModelsetPrimaryKeyObj in interface BaseModel<LayoutBranch>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface LayoutBranchModelprimaryKeyObj - the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModelgetExpandoBridge in interface BaseModel<LayoutBranch>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface LayoutBranchModelpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<LayoutBranch>setExpandoBridgeAttributes in interface LayoutBranchModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<LayoutBranch>setExpandoBridgeAttributes in interface LayoutBranchModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModelsetExpandoBridgeAttributes in interface BaseModel<LayoutBranch>setExpandoBridgeAttributes in interface LayoutBranchModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes(
)public java.lang.Object clone()
BaseModelclone in interface BaseModel<LayoutBranch>clone in interface LayoutBranchModelclone in class java.lang.Objectpublic int compareTo(LayoutBranch layoutBranch)
compareTo in interface LayoutBranchModelcompareTo in interface java.lang.Comparable<LayoutBranch>public int hashCode()
hashCode in interface LayoutBranchModelhashCode in class java.lang.Objectpublic CacheModel<LayoutBranch> toCacheModel()
BaseModeltoCacheModel in interface BaseModel<LayoutBranch>toCacheModel in interface LayoutBranchModelpublic LayoutBranch toEscapedModel()
BaseModelAutoEscapeBeanHandler.toEscapedModel in interface BaseModel<LayoutBranch>toEscapedModel in interface LayoutBranchModelAutoEscapeBeanHandlerpublic LayoutBranch toUnescapedModel()
toUnescapedModel in interface BaseModel<LayoutBranch>toUnescapedModel in interface LayoutBranchModelpublic java.lang.String toString()
toString in interface LayoutBranchModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
BaseModeltoXmlString in interface BaseModel<LayoutBranch>toXmlString in interface LayoutBranchModelpublic void persist()
throws SystemException
PersistedModelpersist in interface PersistedModelSystemException - if a system exception occurredpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic LayoutBranch getWrappedLayoutBranch()
getWrappedModel()public LayoutBranch getWrappedModel()
getWrappedModel in interface ModelWrapper<LayoutBranch>public void resetOriginalValues()
BaseModelresetOriginalValues in interface BaseModel<LayoutBranch>