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
model
Fields inherited from interface com.liferay.account.model.AccountRole
ACCOUNT_ROLE_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
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
getRole()
long
Returns the role ID of this account role.void
persist()
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
setModelAttributes
(Map<String, Object> attributes) 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.protected AccountRoleWrapper
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
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<AccountRole>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<AccountRole>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfaceAccountRoleModel
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<AccountRole>
-
getAccountEntryId
public long getAccountEntryId()Returns the account entry ID of this account role.- Specified by:
getAccountEntryId
in 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:
getAccountRoleId
in interfaceAccountRoleModel
- 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 interfaceAccountRoleModel
- Specified by:
getCompanyId
in 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:
getExternalReferenceCode
in interfaceAccountRoleModel
- Specified by:
getExternalReferenceCode
in 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:
getMvccVersion
in interfaceAccountRoleModel
- Specified by:
getMvccVersion
in 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:
getPrimaryKey
in 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:
getRole
in interfaceAccountRole
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getRoleId
public long getRoleId()Returns the role ID of this account role.- Specified by:
getRoleId
in interfaceAccountRoleModel
- Returns:
- the role ID of this account role
-
getRoleName
- Specified by:
getRoleName
in interfaceAccountRole
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
persist
public void persist()- Specified by:
persist
in interfacecom.liferay.portal.kernel.model.PersistedModel
-
setAccountEntryId
public void setAccountEntryId(long accountEntryId) Sets the account entry ID of this account role.- Specified by:
setAccountEntryId
in 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:
setAccountRoleId
in 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:
setCompanyId
in interfaceAccountRoleModel
- Specified by:
setCompanyId
in 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:
setExternalReferenceCode
in interfaceAccountRoleModel
- Specified by:
setExternalReferenceCode
in 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:
setMvccVersion
in interfaceAccountRoleModel
- Specified by:
setMvccVersion
in 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:
setPrimaryKey
in 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:
setRoleId
in interfaceAccountRoleModel
- Parameters:
roleId
- the role ID of this account role
-
toXmlString
- Specified by:
toXmlString
in interfaceAccountRoleModel
-
wrap
- Specified by:
wrap
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<AccountRole>
-