Interface AccountRoleModel

All Superinterfaces:
com.liferay.portal.kernel.model.BaseModel<AccountRole>, com.liferay.portal.kernel.model.ClassedModel, Cloneable, Comparable<AccountRole>, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.MVCCModel, Serializable, com.liferay.portal.kernel.model.ShardedModel
All Known Subinterfaces:
AccountRole
All Known Implementing Classes:
AccountRoleWrapper

@ProviderType public interface AccountRoleModel extends com.liferay.portal.kernel.model.BaseModel<AccountRole>, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel
The base model interface for the AccountRole service. Represents a row in the "AccountRole" database table, with each column mapped to a property of this class.

This interface and its corresponding implementation com.liferay.account.model.impl.AccountRoleModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.account.model.impl.AccountRoleImpl.

See Also:
Generated:
  • 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.
    long
    Returns the role ID of this account role.
    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
    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.
    default String
     

    Methods inherited from interface com.liferay.portal.kernel.model.BaseModel

    clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, 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
  • Method Details

    • getPrimaryKey

      long getPrimaryKey()
      Returns the primary key of this account role.
      Returns:
      the primary key of this account role
    • setPrimaryKey

      void setPrimaryKey(long primaryKey)
      Sets the primary key of this account role.
      Parameters:
      primaryKey - the primary key of this account role
    • getMvccVersion

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

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

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

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

      long getAccountRoleId()
      Returns the account role ID of this account role.
      Returns:
      the account role ID of this account role
    • setAccountRoleId

      void setAccountRoleId(long accountRoleId)
      Sets the account role ID of this account role.
      Parameters:
      accountRoleId - the account role ID of this account role
    • getCompanyId

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

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

      long getAccountEntryId()
      Returns the account entry ID of this account role.
      Returns:
      the account entry ID of this account role
    • setAccountEntryId

      void setAccountEntryId(long accountEntryId)
      Sets the account entry ID of this account role.
      Parameters:
      accountEntryId - the account entry ID of this account role
    • getRoleId

      long getRoleId()
      Returns the role ID of this account role.
      Returns:
      the role ID of this account role
    • setRoleId

      void setRoleId(long roleId)
      Sets the role ID of this account role.
      Parameters:
      roleId - the role ID of this account role
    • cloneWithOriginalValues

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

      default String toXmlString()