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
model
Fields inherited from interface com.liferay.portal.kernel.model.LayoutBranch
LAYOUT_BRANCH_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the company ID of this layout branch.Returns the description of this layout branch.long
Returns the group ID of this layout branch.long
Returns the layout branch ID of this layout branch.long
Returns the layout set branch ID of this layout branch.boolean
Returns the master of this layout branch.long
Returns the mvcc version of this layout branch.getName()
Returns the name of this layout branch.long
getPlid()
Returns the plid of this layout branch.long
Returns the primary key of this layout branch.long
Returns the user ID of this layout branch.Returns the user name of this layout branch.Returns the user uuid of this layout branch.boolean
isMaster()
Returnstrue
if this layout branch is master.void
persist()
Updates this model instance in the database or adds it if it does not yet exist.void
setCompanyId
(long companyId) Sets the company ID of this layout branch.void
setDescription
(String description) Sets the description of this layout branch.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
Sets the name of this layout branch.void
setPlid
(long plid) Sets the plid of this layout branch.void
setPrimaryKey
(long primaryKey) Sets the primary key of this layout branch.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.protected LayoutBranchWrapper
wrap
(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, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
LayoutBranchWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfaceBaseModel<LayoutBranch>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfaceBaseModel<LayoutBranch>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceBaseModel<LayoutBranch>
- Specified by:
cloneWithOriginalValues
in interfaceLayoutBranchModel
-
getCompanyId
public long getCompanyId()Returns the company ID of this layout branch.- Specified by:
getCompanyId
in interfaceLayoutBranchModel
- Specified by:
getCompanyId
in interfaceShardedModel
- Returns:
- the company ID of this layout branch
-
getDescription
Returns the description of this layout branch.- Specified by:
getDescription
in interfaceLayoutBranchModel
- Returns:
- the description of this layout branch
-
getGroupId
public long getGroupId()Returns the group ID of this layout branch.- Specified by:
getGroupId
in interfaceLayoutBranchModel
- Returns:
- the group ID of this layout branch
-
getLayoutBranchId
public long getLayoutBranchId()Returns the layout branch ID of this layout branch.- Specified by:
getLayoutBranchId
in 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:
getLayoutSetBranchId
in interfaceLayoutBranchModel
- Returns:
- the layout set branch ID of this layout branch
-
getMaster
public boolean getMaster()Returns the master of this layout branch.- Specified by:
getMaster
in interfaceLayoutBranchModel
- Returns:
- the master of this layout branch
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this layout branch.- Specified by:
getMvccVersion
in interfaceLayoutBranchModel
- Specified by:
getMvccVersion
in interfaceMVCCModel
- Returns:
- the mvcc version of this layout branch
-
getName
Returns the name of this layout branch.- Specified by:
getName
in interfaceLayoutBranchModel
- Returns:
- the name of this layout branch
-
getPlid
public long getPlid()Returns the plid of this layout branch.- Specified by:
getPlid
in interfaceLayoutBranchModel
- Returns:
- the plid of this layout branch
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this layout branch.- Specified by:
getPrimaryKey
in interfaceLayoutBranchModel
- Returns:
- the primary key of this layout branch
-
getUserId
public long getUserId()Returns the user ID of this layout branch.- Specified by:
getUserId
in interfaceLayoutBranchModel
- Returns:
- the user ID of this layout branch
-
getUserName
Returns the user name of this layout branch.- Specified by:
getUserName
in interfaceLayoutBranchModel
- Returns:
- the user name of this layout branch
-
getUserUuid
Returns the user uuid of this layout branch.- Specified by:
getUserUuid
in interfaceLayoutBranchModel
- Returns:
- the user uuid of this layout branch
-
isMaster
public boolean isMaster()Returnstrue
if this layout branch is master.- Specified by:
isMaster
in interfaceLayoutBranchModel
- Returns:
true
if this layout branch is master;false
otherwise
-
persist
public void persist()Description copied from interface:PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.- Specified by:
persist
in interfacePersistedModel
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this layout branch.- Specified by:
setCompanyId
in interfaceLayoutBranchModel
- Specified by:
setCompanyId
in interfaceShardedModel
- Parameters:
companyId
- the company ID of this layout branch
-
setDescription
Sets the description of this layout branch.- Specified by:
setDescription
in 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:
setGroupId
in 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:
setLayoutBranchId
in 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:
setLayoutSetBranchId
in 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:
setMaster
in 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:
setMvccVersion
in interfaceLayoutBranchModel
- Specified by:
setMvccVersion
in interfaceMVCCModel
- Parameters:
mvccVersion
- the mvcc version of this layout branch
-
setName
Sets the name of this layout branch.- Specified by:
setName
in interfaceLayoutBranchModel
- Parameters:
name
- the name of this layout branch
-
setPlid
public void setPlid(long plid) Sets the plid of this layout branch.- Specified by:
setPlid
in 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:
setPrimaryKey
in 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:
setUserId
in interfaceLayoutBranchModel
- Parameters:
userId
- the user ID of this layout branch
-
setUserName
Sets the user name of this layout branch.- Specified by:
setUserName
in interfaceLayoutBranchModel
- Parameters:
userName
- the user name of this layout branch
-
setUserUuid
Sets the user uuid of this layout branch.- Specified by:
setUserUuid
in interfaceLayoutBranchModel
- Parameters:
userUuid
- the user uuid of this layout branch
-
toXmlString
- Specified by:
toXmlString
in interfaceLayoutBranchModel
-
wrap
- Specified by:
wrap
in classBaseModelWrapper<LayoutBranch>
-