Package com.liferay.portal.kernel.model
Class LayoutBranchWrapper
Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<LayoutBranch>
com.liferay.portal.kernel.model.LayoutBranchWrapper
- All Implemented Interfaces:
BaseModel<LayoutBranch>,ClassedModel,LayoutBranch,LayoutBranchModel,ModelWrapper<LayoutBranch>,MVCCModel,PersistedModel,ShardedModel,Serializable,Cloneable,Comparable<LayoutBranch>
public class LayoutBranchWrapper
extends BaseModelWrapper<LayoutBranch>
implements LayoutBranch, ModelWrapper<LayoutBranch>
This class is a wrapper for LayoutBranch.
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
modelFields inherited from interface com.liferay.portal.kernel.model.LayoutBranch
LAYOUT_BRANCH_ID_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the company ID of this layout branch.Returns the description of this layout branch.longReturns the group ID of this layout branch.longReturns the layout branch ID of this layout branch.longReturns the layout set branch ID of this layout branch.booleanReturns the master of this layout branch.longReturns the mvcc version of this layout branch.getName()Returns the name of this layout branch.longgetPlid()Returns the plid of this layout branch.longReturns the primary key of this layout branch.longReturns the user ID of this layout branch.Returns the user name of this layout branch.Returns the user uuid of this layout branch.booleanisMaster()Returnstrueif this layout branch is master.voidpersist()Updates this model instance in the database or adds it if it does not yet exist.voidsetCompanyId(long companyId) Sets the company ID of this layout branch.voidsetDescription(String description) Sets the description of this layout branch.voidsetGroupId(long groupId) Sets the group ID of this layout branch.voidsetLayoutBranchId(long layoutBranchId) Sets the layout branch ID of this layout branch.voidsetLayoutSetBranchId(long layoutSetBranchId) Sets the layout set branch ID of this layout branch.voidsetMaster(boolean master) Sets whether this layout branch is master.voidsetModelAttributes(Map<String, Object> attributes) voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this layout branch.voidSets the name of this layout branch.voidsetPlid(long plid) Sets the plid of this layout branch.voidsetPrimaryKey(long primaryKey) Sets the primary key of this layout branch.voidsetUserId(long userId) Sets the user ID of this layout branch.voidsetUserName(String userName) Sets the user name of this layout branch.voidsetUserUuid(String userUuid) Sets the user uuid of this layout branch.protected LayoutBranchWrapperwrap(LayoutBranch layoutBranch) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
LayoutBranchWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfaceBaseModel<LayoutBranch>
-
setModelAttributes
- Specified by:
setModelAttributesin interfaceBaseModel<LayoutBranch>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfaceBaseModel<LayoutBranch>- Specified by:
cloneWithOriginalValuesin interfaceLayoutBranchModel
-
getCompanyId
public long getCompanyId()Returns the company ID of this layout branch.- Specified by:
getCompanyIdin interfaceLayoutBranchModel- Specified by:
getCompanyIdin interfaceShardedModel- Returns:
- the company ID of this layout branch
-
getDescription
Returns the description of this layout branch.- Specified by:
getDescriptionin interfaceLayoutBranchModel- Returns:
- the description of this layout branch
-
getGroupId
public long getGroupId()Returns the group ID of this layout branch.- Specified by:
getGroupIdin interfaceLayoutBranchModel- Returns:
- the group ID of this layout branch
-
getLayoutBranchId
public long getLayoutBranchId()Returns the layout branch ID of this layout branch.- Specified by:
getLayoutBranchIdin interfaceLayoutBranchModel- Returns:
- the layout branch ID of this layout branch
-
getLayoutSetBranchId
public long getLayoutSetBranchId()Returns the layout set branch ID of this layout branch.- Specified by:
getLayoutSetBranchIdin interfaceLayoutBranchModel- Returns:
- the layout set branch ID of this layout branch
-
getMaster
public boolean getMaster()Returns the master of this layout branch.- Specified by:
getMasterin interfaceLayoutBranchModel- Returns:
- the master of this layout branch
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this layout branch.- Specified by:
getMvccVersionin interfaceLayoutBranchModel- Specified by:
getMvccVersionin interfaceMVCCModel- Returns:
- the mvcc version of this layout branch
-
getName
Returns the name of this layout branch.- Specified by:
getNamein interfaceLayoutBranchModel- Returns:
- the name of this layout branch
-
getPlid
public long getPlid()Returns the plid of this layout branch.- Specified by:
getPlidin interfaceLayoutBranchModel- Returns:
- the plid of this layout branch
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this layout branch.- Specified by:
getPrimaryKeyin interfaceLayoutBranchModel- Returns:
- the primary key of this layout branch
-
getUserId
public long getUserId()Returns the user ID of this layout branch.- Specified by:
getUserIdin interfaceLayoutBranchModel- Returns:
- the user ID of this layout branch
-
getUserName
Returns the user name of this layout branch.- Specified by:
getUserNamein interfaceLayoutBranchModel- Returns:
- the user name of this layout branch
-
getUserUuid
Returns the user uuid of this layout branch.- Specified by:
getUserUuidin interfaceLayoutBranchModel- Returns:
- the user uuid of this layout branch
-
isMaster
public boolean isMaster()Returnstrueif this layout branch is master.- Specified by:
isMasterin interfaceLayoutBranchModel- Returns:
trueif this layout branch is master;falseotherwise
-
persist
public void persist()Description copied from interface:PersistedModelUpdates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persistin interfacePersistedModel
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this layout branch.- Specified by:
setCompanyIdin interfaceLayoutBranchModel- Specified by:
setCompanyIdin interfaceShardedModel- Parameters:
companyId- the company ID of this layout branch
-
setDescription
Sets the description of this layout branch.- Specified by:
setDescriptionin interfaceLayoutBranchModel- Parameters:
description- the description of this layout branch
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this layout branch.- Specified by:
setGroupIdin interfaceLayoutBranchModel- Parameters:
groupId- the group ID of this layout branch
-
setLayoutBranchId
public void setLayoutBranchId(long layoutBranchId) Sets the layout branch ID of this layout branch.- Specified by:
setLayoutBranchIdin interfaceLayoutBranchModel- Parameters:
layoutBranchId- the layout branch ID of this layout branch
-
setLayoutSetBranchId
public void setLayoutSetBranchId(long layoutSetBranchId) Sets the layout set branch ID of this layout branch.- Specified by:
setLayoutSetBranchIdin interfaceLayoutBranchModel- Parameters:
layoutSetBranchId- the layout set branch ID of this layout branch
-
setMaster
public void setMaster(boolean master) Sets whether this layout branch is master.- Specified by:
setMasterin interfaceLayoutBranchModel- Parameters:
master- the master of this layout branch
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this layout branch.- Specified by:
setMvccVersionin interfaceLayoutBranchModel- Specified by:
setMvccVersionin interfaceMVCCModel- Parameters:
mvccVersion- the mvcc version of this layout branch
-
setName
Sets the name of this layout branch.- Specified by:
setNamein interfaceLayoutBranchModel- Parameters:
name- the name of this layout branch
-
setPlid
public void setPlid(long plid) Sets the plid of this layout branch.- Specified by:
setPlidin interfaceLayoutBranchModel- Parameters:
plid- the plid of this layout branch
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this layout branch.- Specified by:
setPrimaryKeyin interfaceLayoutBranchModel- Parameters:
primaryKey- the primary key of this layout branch
-
setUserId
public void setUserId(long userId) Sets the user ID of this layout branch.- Specified by:
setUserIdin interfaceLayoutBranchModel- Parameters:
userId- the user ID of this layout branch
-
setUserName
Sets the user name of this layout branch.- Specified by:
setUserNamein interfaceLayoutBranchModel- Parameters:
userName- the user name of this layout branch
-
setUserUuid
Sets the user uuid of this layout branch.- Specified by:
setUserUuidin interfaceLayoutBranchModel- Parameters:
userUuid- the user uuid of this layout branch
-
toXmlString
- Specified by:
toXmlStringin interfaceLayoutBranchModel
-
wrap
- Specified by:
wrapin classBaseModelWrapper<LayoutBranch>
-