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.
AccountRole,
Serialized FormACCOUNT_ROLE_ID_ACCESSOR| Constructor and Description |
|---|
AccountRoleWrapper(AccountRole accountRole) |
| Modifier and Type | Method and Description |
|---|---|
AccountRole |
cloneWithOriginalValues() |
long |
getAccountEntryId()
Returns the account entry ID of this account role.
|
long |
getAccountRoleId()
Returns the account role ID of this account role.
|
long |
getCompanyId()
Returns the company ID of this account role.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
long |
getMvccVersion()
Returns the mvcc version of this account role.
|
long |
getPrimaryKey()
Returns the primary key of this account role.
|
com.liferay.portal.kernel.model.Role |
getRole() |
long |
getRoleId()
Returns the role ID of this account role.
|
java.lang.String |
getRoleName() |
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 |
setModelAttributes(java.util.Map<java.lang.String,java.lang.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) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelpublic AccountRoleWrapper(AccountRole accountRole)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<AccountRole>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<AccountRole>public AccountRole cloneWithOriginalValues()
cloneWithOriginalValues in interface AccountRoleModelcloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<AccountRole>public long getAccountEntryId()
getAccountEntryId in interface AccountRoleModelpublic long getAccountRoleId()
getAccountRoleId in interface AccountRoleModelpublic long getCompanyId()
getCompanyId in interface AccountRoleModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelpublic long getMvccVersion()
getMvccVersion in interface AccountRoleModelgetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelpublic long getPrimaryKey()
getPrimaryKey in interface AccountRoleModelpublic com.liferay.portal.kernel.model.Role getRole()
throws com.liferay.portal.kernel.exception.PortalException
getRole in interface AccountRolecom.liferay.portal.kernel.exception.PortalExceptionpublic long getRoleId()
getRoleId in interface AccountRoleModelpublic java.lang.String getRoleName()
throws com.liferay.portal.kernel.exception.PortalException
getRoleName in interface AccountRolecom.liferay.portal.kernel.exception.PortalExceptionpublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void setAccountEntryId(long accountEntryId)
setAccountEntryId in interface AccountRoleModelaccountEntryId - the account entry ID of this account rolepublic void setAccountRoleId(long accountRoleId)
setAccountRoleId in interface AccountRoleModelaccountRoleId - the account role ID of this account rolepublic void setCompanyId(long companyId)
setCompanyId in interface AccountRoleModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelcompanyId - the company ID of this account rolepublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface AccountRoleModelsetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelmvccVersion - the mvcc version of this account rolepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface AccountRoleModelprimaryKey - the primary key of this account rolepublic void setRoleId(long roleId)
setRoleId in interface AccountRoleModelroleId - the role ID of this account roleprotected AccountRoleWrapper wrap(AccountRole accountRole)
wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<AccountRole>