Package com.liferay.account.model
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
modelFields inherited from interface com.liferay.account.model.AccountRole
ACCOUNT_ROLE_ID_ACCESSOR -
Constructor Summary
Constructors -
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.com.liferay.portal.kernel.model.RolegetRole()longReturns the role ID of this account role.voidpersist()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.voidsetModelAttributes(Map<String, Object> attributes) 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.protected AccountRoleWrapperwrap(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, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
-
Constructor Details
-
AccountRoleWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<AccountRole>
-
setModelAttributes
- Specified by:
setModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<AccountRole>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfaceAccountRoleModel- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<AccountRole>
-
getAccountEntryId
public long getAccountEntryId()Returns the account entry ID of this account role.- Specified by:
getAccountEntryIdin interfaceAccountRoleModel- Returns:
- the account entry ID of this account role
-
getAccountRoleId
public long getAccountRoleId()Returns the account role ID of this account role.- Specified by:
getAccountRoleIdin interfaceAccountRoleModel- Returns:
- the account role ID of this account role
-
getCompanyId
public long getCompanyId()Returns the company ID of this account role.- Specified by:
getCompanyIdin interfaceAccountRoleModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Returns:
- the company ID of this account role
-
getExternalReferenceCode
Returns the external reference code of this account role.- Specified by:
getExternalReferenceCodein interfaceAccountRoleModel- Specified by:
getExternalReferenceCodein interfacecom.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:
getMvccVersionin interfaceAccountRoleModel- Specified by:
getMvccVersionin interfacecom.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:
getPrimaryKeyin interfaceAccountRoleModel- 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:
getRolein interfaceAccountRole- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getRoleId
public long getRoleId()Returns the role ID of this account role.- Specified by:
getRoleIdin interfaceAccountRoleModel- Returns:
- the role ID of this account role
-
getRoleName
- Specified by:
getRoleNamein interfaceAccountRole- Throws:
com.liferay.portal.kernel.exception.PortalException
-
persist
public void persist()- Specified by:
persistin interfacecom.liferay.portal.kernel.model.PersistedModel
-
setAccountEntryId
public void setAccountEntryId(long accountEntryId) Sets the account entry ID of this account role.- Specified by:
setAccountEntryIdin interfaceAccountRoleModel- 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:
setAccountRoleIdin interfaceAccountRoleModel- 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:
setCompanyIdin interfaceAccountRoleModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Parameters:
companyId- the company ID of this account role
-
setExternalReferenceCode
Sets the external reference code of this account role.- Specified by:
setExternalReferenceCodein interfaceAccountRoleModel- Specified by:
setExternalReferenceCodein interfacecom.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:
setMvccVersionin interfaceAccountRoleModel- Specified by:
setMvccVersionin interfacecom.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:
setPrimaryKeyin interfaceAccountRoleModel- 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:
setRoleIdin interfaceAccountRoleModel- Parameters:
roleId- the role ID of this account role
-
toXmlString
- Specified by:
toXmlStringin interfaceAccountRoleModel
-
wrap
- Specified by:
wrapin classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<AccountRole>
-