Package com.liferay.account.model
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 TypeMethodDescriptionlongReturns the account entry ID of this account role.longReturns the account role ID of this account role.longReturns the company ID of this account role.Returns the external reference code of this account role.longReturns the mvcc version of this account role.longReturns the primary key of this account role.longReturns the role ID of this account role.voidsetAccountEntryId(long accountEntryId) Sets the account entry ID of this account role.voidsetAccountRoleId(long accountRoleId) Sets the account role ID of this account role.voidsetCompanyId(long companyId) Sets the company ID of this account role.voidsetExternalReferenceCode(String externalReferenceCode) Sets the external reference code of this account role.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this account role.voidsetPrimaryKey(long primaryKey) Sets the primary key of this account role.voidsetRoleId(long roleId) Sets the role ID of this account role.default StringMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods 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:
getMvccVersionin interfacecom.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:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Parameters:
mvccVersion- the mvcc version of this account role
-
getExternalReferenceCode
Returns the external reference code of this account role.- Specified by:
getExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Returns:
- the external reference code of this account role
-
setExternalReferenceCode
Sets the external reference code of this account role.- Specified by:
setExternalReferenceCodein interfacecom.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:
getCompanyIdin interfacecom.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:
setCompanyIdin interfacecom.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:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<AccountRole>
-
toXmlString
-