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}
  • Constructor Details

    • LayoutBranchWrapper

      public LayoutBranchWrapper(LayoutBranch layoutBranch)
  • Method Details

    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface BaseModel<LayoutBranch>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface BaseModel<LayoutBranch>
    • cloneWithOriginalValues

      public LayoutBranch cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface BaseModel<LayoutBranch>
      Specified by:
      cloneWithOriginalValues in interface LayoutBranchModel
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this layout branch.
      Specified by:
      getCompanyId in interface LayoutBranchModel
      Specified by:
      getCompanyId in interface ShardedModel
      Returns:
      the company ID of this layout branch
    • getDescription

      public String getDescription()
      Returns the description of this layout branch.
      Specified by:
      getDescription in interface LayoutBranchModel
      Returns:
      the description of this layout branch
    • getGroupId

      public long getGroupId()
      Returns the group ID of this layout branch.
      Specified by:
      getGroupId in interface LayoutBranchModel
      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 interface LayoutBranchModel
      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 interface LayoutBranchModel
      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 interface LayoutBranchModel
      Returns:
      the master of this layout branch
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this layout branch.
      Specified by:
      getMvccVersion in interface LayoutBranchModel
      Specified by:
      getMvccVersion in interface MVCCModel
      Returns:
      the mvcc version of this layout branch
    • getName

      public String getName()
      Returns the name of this layout branch.
      Specified by:
      getName in interface LayoutBranchModel
      Returns:
      the name of this layout branch
    • getPlid

      public long getPlid()
      Returns the plid of this layout branch.
      Specified by:
      getPlid in interface LayoutBranchModel
      Returns:
      the plid of this layout branch
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this layout branch.
      Specified by:
      getPrimaryKey in interface LayoutBranchModel
      Returns:
      the primary key of this layout branch
    • getUserId

      public long getUserId()
      Returns the user ID of this layout branch.
      Specified by:
      getUserId in interface LayoutBranchModel
      Returns:
      the user ID of this layout branch
    • getUserName

      public String getUserName()
      Returns the user name of this layout branch.
      Specified by:
      getUserName in interface LayoutBranchModel
      Returns:
      the user name of this layout branch
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this layout branch.
      Specified by:
      getUserUuid in interface LayoutBranchModel
      Returns:
      the user uuid of this layout branch
    • isMaster

      public boolean isMaster()
      Returns true if this layout branch is master.
      Specified by:
      isMaster in interface LayoutBranchModel
      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 interface PersistedModel
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this layout branch.
      Specified by:
      setCompanyId in interface LayoutBranchModel
      Specified by:
      setCompanyId in interface ShardedModel
      Parameters:
      companyId - the company ID of this layout branch
    • setDescription

      public void setDescription(String description)
      Sets the description of this layout branch.
      Specified by:
      setDescription in interface LayoutBranchModel
      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 interface LayoutBranchModel
      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 interface LayoutBranchModel
      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 interface LayoutBranchModel
      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 interface LayoutBranchModel
      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 interface LayoutBranchModel
      Specified by:
      setMvccVersion in interface MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this layout branch
    • setName

      public void setName(String name)
      Sets the name of this layout branch.
      Specified by:
      setName in interface LayoutBranchModel
      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 interface LayoutBranchModel
      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 interface LayoutBranchModel
      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 interface LayoutBranchModel
      Parameters:
      userId - the user ID of this layout branch
    • setUserName

      public void setUserName(String userName)
      Sets the user name of this layout branch.
      Specified by:
      setUserName in interface LayoutBranchModel
      Parameters:
      userName - the user name of this layout branch
    • setUserUuid

      public void setUserUuid(String userUuid)
      Sets the user uuid of this layout branch.
      Specified by:
      setUserUuid in interface LayoutBranchModel
      Parameters:
      userUuid - the user uuid of this layout branch
    • toXmlString

      public String toXmlString()
      Specified by:
      toXmlString in interface LayoutBranchModel
    • wrap

      protected LayoutBranchWrapper wrap(LayoutBranch layoutBranch)
      Specified by:
      wrap in class BaseModelWrapper<LayoutBranch>