public class AccountRoleWrapper extends BaseModelWrapper<AccountRole> implements AccountRole, ModelWrapper<AccountRole>
This class is a wrapper for AccountRole.
AccountRole,
Serialized FormmodelACCOUNT_ROLE_ID_ACCESSOR| Constructor and Description |
|---|
AccountRoleWrapper(AccountRole accountRole) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
Role |
getRole() |
long |
getRoleId()
Returns the role ID of this account role.
|
java.lang.String |
getRoleName() |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
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, toUnescapedModel, toXmlStringfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamegetWrappedModelpublic AccountRoleWrapper(AccountRole accountRole)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<AccountRole>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<AccountRole>public long getAccountEntryId()
getAccountEntryId in interface AccountRoleModelpublic long getAccountRoleId()
getAccountRoleId in interface AccountRoleModelpublic long getCompanyId()
getCompanyId in interface AccountRoleModelgetCompanyId in interface ShardedModelpublic long getMvccVersion()
getMvccVersion in interface AccountRoleModelgetMvccVersion in interface MVCCModelpublic long getPrimaryKey()
getPrimaryKey in interface AccountRoleModelpublic Role getRole() throws PortalException
getRole in interface AccountRolePortalExceptionpublic long getRoleId()
getRoleId in interface AccountRoleModelpublic java.lang.String getRoleName()
throws PortalException
getRoleName in interface AccountRolePortalExceptionpublic void persist()
PersistedModelpersist in interface 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 ShardedModelcompanyId - the company ID of this account rolepublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface AccountRoleModelsetMvccVersion in interface 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 BaseModelWrapper<AccountRole>