public class UserGroupRoleWrapper extends BaseModelWrapper<UserGroupRole> implements ModelWrapper<UserGroupRole>, UserGroupRole
This class is a wrapper for UserGroupRole.
UserGroupRole,
Serialized FormmodelGROUP_ID_ACCESSOR, ROLE_ID_ACCESSOR, USER_ID_ACCESSOR| Constructor and Description |
|---|
UserGroupRoleWrapper(UserGroupRole userGroupRole) |
| Modifier and Type | Method and Description |
|---|---|
long |
getCompanyId()
Returns the company ID of this user group role.
|
Group |
getGroup() |
long |
getGroupId()
Returns the group ID of this user group role.
|
Map<String,Object> |
getModelAttributes() |
long |
getMvccVersion()
Returns the mvcc version of this user group role.
|
UserGroupRolePK |
getPrimaryKey()
Returns the primary key of this user group role.
|
Role |
getRole() |
long |
getRoleId()
Returns the role ID of this user group role.
|
User |
getUser() |
long |
getUserId()
Returns the user ID of this user group role.
|
String |
getUserUuid()
Returns the user uuid of this user group role.
|
void |
persist()
NOTE FOR DEVELOPERS:
Never modify or reference this class directly.
|
void |
setCompanyId(long companyId)
Sets the company ID of this user group role.
|
void |
setGroupId(long groupId)
Sets the group ID of this user group role.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this user group role.
|
void |
setPrimaryKey(UserGroupRolePK primaryKey)
Sets the primary key of this user group role.
|
void |
setRoleId(long roleId)
Sets the role ID of this user group role.
|
void |
setUserId(long userId)
Sets the user ID of this user group role.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this user group role.
|
protected UserGroupRoleWrapper |
wrap(UserGroupRole userGroupRole) |
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, toXmlStringgetWrappedModelclone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamepublic UserGroupRoleWrapper(UserGroupRole userGroupRole)
public Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<UserGroupRole>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<UserGroupRole>public long getCompanyId()
getCompanyId in interface ShardedModelgetCompanyId in interface UserGroupRoleModelpublic Group getGroup() throws PortalException
getGroup in interface UserGroupRolePortalExceptionpublic long getGroupId()
getGroupId in interface UserGroupRoleModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface UserGroupRoleModelpublic UserGroupRolePK getPrimaryKey()
getPrimaryKey in interface UserGroupRoleModelpublic Role getRole() throws PortalException
getRole in interface UserGroupRolePortalExceptionpublic long getRoleId()
getRoleId in interface UserGroupRoleModelpublic User getUser() throws PortalException
getUser in interface UserGroupRolePortalExceptionpublic long getUserId()
getUserId in interface UserGroupRoleModelpublic String getUserUuid()
getUserUuid in interface UserGroupRoleModelpublic void persist()
UserGroupRole interface instead.persist in interface PersistedModelpublic void setCompanyId(long companyId)
setCompanyId in interface ShardedModelsetCompanyId in interface UserGroupRoleModelcompanyId - the company ID of this user group rolepublic void setGroupId(long groupId)
setGroupId in interface UserGroupRoleModelgroupId - the group ID of this user group rolepublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface UserGroupRoleModelmvccVersion - the mvcc version of this user group rolepublic void setPrimaryKey(UserGroupRolePK primaryKey)
setPrimaryKey in interface UserGroupRoleModelprimaryKey - the primary key of this user group rolepublic void setRoleId(long roleId)
setRoleId in interface UserGroupRoleModelroleId - the role ID of this user group rolepublic void setUserId(long userId)
setUserId in interface UserGroupRoleModeluserId - the user ID of this user group rolepublic void setUserUuid(String userUuid)
setUserUuid in interface UserGroupRoleModeluserUuid - the user uuid of this user group roleprotected UserGroupRoleWrapper wrap(UserGroupRole userGroupRole)
wrap in class BaseModelWrapper<UserGroupRole>