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, toUnescapedModel, toXmlString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
public 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 AccountRoleModel
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<AccountRole>
public long getAccountEntryId()
getAccountEntryId
in interface AccountRoleModel
public long getAccountRoleId()
getAccountRoleId
in interface AccountRoleModel
public long getCompanyId()
getCompanyId
in interface AccountRoleModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
public long getMvccVersion()
getMvccVersion
in interface AccountRoleModel
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public long getPrimaryKey()
getPrimaryKey
in interface AccountRoleModel
public com.liferay.portal.kernel.model.Role getRole() throws com.liferay.portal.kernel.exception.PortalException
getRole
in interface AccountRole
com.liferay.portal.kernel.exception.PortalException
public long getRoleId()
getRoleId
in interface AccountRoleModel
public java.lang.String getRoleName() throws com.liferay.portal.kernel.exception.PortalException
getRoleName
in interface AccountRole
com.liferay.portal.kernel.exception.PortalException
public void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setAccountEntryId(long accountEntryId)
setAccountEntryId
in interface AccountRoleModel
accountEntryId
- the account entry ID of this account rolepublic void setAccountRoleId(long accountRoleId)
setAccountRoleId
in interface AccountRoleModel
accountRoleId
- the account role ID of this account rolepublic void setCompanyId(long companyId)
setCompanyId
in interface AccountRoleModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
companyId
- the company ID of this account rolepublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface AccountRoleModel
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this account rolepublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface AccountRoleModel
primaryKey
- the primary key of this account rolepublic void setRoleId(long roleId)
setRoleId
in interface AccountRoleModel
roleId
- the role ID of this account roleprotected AccountRoleWrapper wrap(AccountRole accountRole)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<AccountRole>