Class AccountRoleWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<AccountRole>
com.liferay.account.model.AccountRoleWrapper
All Implemented Interfaces:
AccountRole, AccountRoleModel, com.liferay.portal.kernel.model.BaseModel<AccountRole>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.ModelWrapper<AccountRole>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, Serializable, Cloneable, Comparable<AccountRole>

public class AccountRoleWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<AccountRole> implements AccountRole, com.liferay.portal.kernel.model.ModelWrapper<AccountRole>

This class is a wrapper for AccountRole.

See Also:
Generated:
  • Field Summary

    Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper

    model

    Fields inherited from interface com.liferay.account.model.AccountRole

    ACCOUNT_ROLE_ID_ACCESSOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    long
    Returns the account entry ID of this account role.
    long
    Returns the account role ID of this account role.
    long
    Returns the company ID of this account role.
    Returns the external reference code of this account role.
     
    long
    Returns the mvcc version of this account role.
    long
    Returns the primary key of this account role.
    com.liferay.portal.kernel.model.Role
     
    long
    Returns the role ID of this account role.
     
    void
     
    void
    setAccountEntryId(long accountEntryId)
    Sets the account entry ID of this account role.
    void
    setAccountRoleId(long accountRoleId)
    Sets the account role ID of this account role.
    void
    setCompanyId(long companyId)
    Sets the company ID of this account role.
    void
    setExternalReferenceCode(String externalReferenceCode)
    Sets the external reference code of this account role.
    void
     
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this account role.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this account role.
    void
    setRoleId(long roleId)
    Sets the role ID of this account role.
     
    wrap(AccountRole accountRole)
     

    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

    • AccountRoleWrapper

      public AccountRoleWrapper(AccountRole accountRole)
  • Method Details

    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<AccountRole>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<AccountRole>
    • cloneWithOriginalValues

      public AccountRole cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface AccountRoleModel
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<AccountRole>
    • getAccountEntryId

      public long getAccountEntryId()
      Returns the account entry ID of this account role.
      Specified by:
      getAccountEntryId in interface AccountRoleModel
      Returns:
      the account entry ID of this account role
    • getAccountRoleId

      public long getAccountRoleId()
      Returns the account role ID of this account role.
      Specified by:
      getAccountRoleId in interface AccountRoleModel
      Returns:
      the account role ID of this account role
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this account role.
      Specified by:
      getCompanyId in interface AccountRoleModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Returns:
      the company ID of this account role
    • getExternalReferenceCode

      public String getExternalReferenceCode()
      Returns the external reference code of this account role.
      Specified by:
      getExternalReferenceCode in interface AccountRoleModel
      Specified by:
      getExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Returns:
      the external reference code of this account role
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this account role.
      Specified by:
      getMvccVersion in interface AccountRoleModel
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this account role
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this account role.
      Specified by:
      getPrimaryKey in interface AccountRoleModel
      Returns:
      the primary key of this account role
    • getRole

      public com.liferay.portal.kernel.model.Role getRole() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getRole in interface AccountRole
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getRoleId

      public long getRoleId()
      Returns the role ID of this account role.
      Specified by:
      getRoleId in interface AccountRoleModel
      Returns:
      the role ID of this account role
    • getRoleName

      public String getRoleName() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getRoleName in interface AccountRole
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • persist

      public void persist()
      Specified by:
      persist in interface com.liferay.portal.kernel.model.PersistedModel
    • setAccountEntryId

      public void setAccountEntryId(long accountEntryId)
      Sets the account entry ID of this account role.
      Specified by:
      setAccountEntryId in interface AccountRoleModel
      Parameters:
      accountEntryId - the account entry ID of this account role
    • setAccountRoleId

      public void setAccountRoleId(long accountRoleId)
      Sets the account role ID of this account role.
      Specified by:
      setAccountRoleId in interface AccountRoleModel
      Parameters:
      accountRoleId - the account role ID of this account role
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this account role.
      Specified by:
      setCompanyId in interface AccountRoleModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Parameters:
      companyId - the company ID of this account role
    • setExternalReferenceCode

      public void setExternalReferenceCode(String externalReferenceCode)
      Sets the external reference code of this account role.
      Specified by:
      setExternalReferenceCode in interface AccountRoleModel
      Specified by:
      setExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Parameters:
      externalReferenceCode - the external reference code of this account role
    • setMvccVersion

      public void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this account role.
      Specified by:
      setMvccVersion in interface AccountRoleModel
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this account role
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this account role.
      Specified by:
      setPrimaryKey in interface AccountRoleModel
      Parameters:
      primaryKey - the primary key of this account role
    • setRoleId

      public void setRoleId(long roleId)
      Sets the role ID of this account role.
      Specified by:
      setRoleId in interface AccountRoleModel
      Parameters:
      roleId - the role ID of this account role
    • toXmlString

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

      protected AccountRoleWrapper wrap(AccountRole accountRole)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<AccountRole>