|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.LayoutBranchWrapper
@ProviderType public class LayoutBranchWrapper
This class is a wrapper for LayoutBranch.
LayoutBranch,
Serialized Form| Field Summary |
|---|
| Fields inherited from interface com.liferay.portal.model.LayoutBranch |
|---|
LAYOUT_BRANCH_ID_ACCESSOR |
| Constructor Summary | |
|---|---|
LayoutBranchWrapper(LayoutBranch layoutBranch)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(LayoutBranch layoutBranch)
|
boolean |
equals(Object obj)
|
long |
getCompanyId()
Returns the company ID of this layout branch. |
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. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
long |
getMvccVersion()
Returns the mvcc version of this layout branch. |
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. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
long |
getUserId()
Returns the user ID of this layout branch. |
String |
getUserName()
Returns the user name of this layout branch. |
String |
getUserUuid()
Returns the user uuid of this layout branch. |
LayoutBranch |
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 |
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(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(Map<String,Object> attributes)
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this layout branch. |
void |
setName(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(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setUserId(long userId)
Sets the user ID of this layout branch. |
void |
setUserName(String userName)
Sets the user name of this layout branch. |
void |
setUserUuid(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. |
String |
toString()
|
LayoutBranch |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LayoutBranchWrapper(LayoutBranch layoutBranch)
| Method Detail |
|---|
public Class<?> getModelClass()
getModelClass in interface ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<LayoutBranch>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<LayoutBranch>public Object clone()
BaseModel
clone in interface BaseModel<LayoutBranch>clone in interface LayoutBranchModelclone in class Objectpublic int compareTo(LayoutBranch layoutBranch)
compareTo in interface LayoutBranchModelcompareTo in interface Comparable<LayoutBranch>public long getCompanyId()
getCompanyId in interface LayoutBranchModelgetCompanyId in interface ShardedModelpublic String getDescription()
getDescription in interface LayoutBranchModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<LayoutBranch>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface LayoutBranchModelpublic long getGroupId()
getGroupId in interface LayoutBranchModelpublic long getLayoutBranchId()
getLayoutBranchId in interface LayoutBranchModelpublic long getLayoutSetBranchId()
getLayoutSetBranchId in interface LayoutBranchModelpublic boolean getMaster()
getMaster in interface LayoutBranchModelpublic long getMvccVersion()
getMvccVersion in interface LayoutBranchModelgetMvccVersion in interface MVCCModelpublic String getName()
getName in interface LayoutBranchModelpublic long getPlid()
getPlid in interface LayoutBranchModelpublic long getPrimaryKey()
getPrimaryKey in interface LayoutBranchModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<LayoutBranch>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface LayoutBranchModelpublic long getUserId()
getUserId in interface LayoutBranchModelpublic String getUserName()
getUserName in interface LayoutBranchModelpublic String getUserUuid()
getUserUuid in interface LayoutBranchModelpublic int hashCode()
hashCode in interface LayoutBranchModelhashCode in class Objectpublic 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 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 boolean isMaster()
true if this layout branch is master.
isMaster in interface LayoutBranchModeltrue if this layout branch is master; false otherwisepublic 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 persist()
PersistedModel
persist in interface PersistedModelpublic void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<LayoutBranch>setCachedModel in interface LayoutBranchModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setCompanyId(long companyId)
setCompanyId in interface LayoutBranchModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this layout branchpublic void setDescription(String description)
setDescription in interface LayoutBranchModeldescription - the description of this layout branchpublic 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)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<LayoutBranch>setExpandoBridgeAttributes in interface LayoutBranchModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setGroupId(long groupId)
setGroupId in interface LayoutBranchModelgroupId - the group ID of this layout branchpublic void setLayoutBranchId(long layoutBranchId)
setLayoutBranchId in interface LayoutBranchModellayoutBranchId - the layout branch ID of this layout branchpublic void setLayoutSetBranchId(long layoutSetBranchId)
setLayoutSetBranchId in interface LayoutBranchModellayoutSetBranchId - the layout set branch ID of this layout branchpublic void setMaster(boolean master)
setMaster in interface LayoutBranchModelmaster - the master of this layout branchpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface LayoutBranchModelsetMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this layout branchpublic void setName(String name)
setName in interface LayoutBranchModelname - the name of this layout branchpublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<LayoutBranch>setNew in interface LayoutBranchModeln - whether this model instance does not yet exist in the databasepublic void setPlid(long plid)
setPlid in interface LayoutBranchModelplid - the plid of this layout branchpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface LayoutBranchModelprimaryKey - the primary key of this layout branchpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<LayoutBranch>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface LayoutBranchModelprimaryKeyObj - the primary key of this model instancepublic void setUserId(long userId)
setUserId in interface LayoutBranchModeluserId - the user ID of this layout branchpublic void setUserName(String userName)
setUserName in interface LayoutBranchModeluserName - the user name of this layout branchpublic void setUserUuid(String userUuid)
setUserUuid in interface LayoutBranchModeluserUuid - the user uuid of this layout branchpublic CacheModel<LayoutBranch> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<LayoutBranch>toCacheModel in interface LayoutBranchModelpublic LayoutBranch toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<LayoutBranch>toEscapedModel in interface LayoutBranchModelAutoEscapeBeanHandlerpublic String toString()
toString in interface LayoutBranchModeltoString in class Objectpublic LayoutBranch toUnescapedModel()
toUnescapedModel in interface BaseModel<LayoutBranch>toUnescapedModel in interface LayoutBranchModelpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<LayoutBranch>toXmlString in interface LayoutBranchModelpublic boolean equals(Object obj)
equals in class Objectpublic LayoutBranch getWrappedModel()
getWrappedModel in interface ModelWrapper<LayoutBranch>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<LayoutBranch>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<LayoutBranch>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<LayoutBranch>
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||