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_GROUP_ROLE_ID_ACCESSOR, USER_ID_ACCESSOR| Constructor and Description |
|---|
UserGroupRoleWrapper(UserGroupRole userGroupRole) |
| Modifier and Type | Method and Description |
|---|---|
UserGroupRole |
cloneWithOriginalValues() |
boolean |
equals(Object object) |
Map<String,Function<UserGroupRole,Object>> |
getAttributeGetterFunctions() |
Map<String,BiConsumer<UserGroupRole,Object>> |
getAttributeSetterBiConsumers() |
long |
getCompanyId()
Returns the company ID of this user group role.
|
long |
getCtCollectionId()
Returns the ct collection 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.
|
long |
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 |
getUserGroupRoleId()
Returns the user group role ID of this user group role.
|
long |
getUserId()
Returns the user ID of this user group role.
|
String |
getUserUuid()
Returns the user uuid of this user group role.
|
int |
hashCode() |
void |
persist()
Updates this model instance in the database or adds it if it does not yet
exist.
|
void |
setCompanyId(long companyId)
Sets the company ID of this user group role.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection 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(long primaryKey)
Sets the primary key of this user group role.
|
void |
setRoleId(long roleId)
Sets the role ID of this user group role.
|
void |
setUserGroupRoleId(long userGroupRoleId)
Sets the user group 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, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, 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 UserGroupRole cloneWithOriginalValues()
cloneWithOriginalValues in interface BaseModel<UserGroupRole>cloneWithOriginalValues in interface UserGroupRoleModelpublic boolean equals(Object object)
equals in interface UserGroupRoleequals in class BaseModelWrapper<UserGroupRole>public long getCompanyId()
getCompanyId in interface ShardedModelgetCompanyId in interface UserGroupRoleModelpublic long getCtCollectionId()
getCtCollectionId in interface CTModel<UserGroupRole>getCtCollectionId 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 long getPrimaryKey()
getPrimaryKey in interface CTModel<UserGroupRole>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 getUserGroupRoleId()
getUserGroupRoleId in interface UserGroupRoleModelpublic long getUserId()
getUserId in interface UserGroupRoleModelpublic String getUserUuid()
getUserUuid in interface UserGroupRoleModelpublic int hashCode()
hashCode in interface UserGroupRolehashCode in class BaseModelWrapper<UserGroupRole>public void persist()
PersistedModelpersist in interface PersistedModelpublic void setCompanyId(long companyId)
setCompanyId in interface ShardedModelsetCompanyId in interface UserGroupRoleModelcompanyId - the company ID of this user group rolepublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId in interface CTModel<UserGroupRole>setCtCollectionId in interface UserGroupRoleModelctCollectionId - the ct collection 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(long primaryKey)
setPrimaryKey in interface CTModel<UserGroupRole>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 setUserGroupRoleId(long userGroupRoleId)
setUserGroupRoleId in interface UserGroupRoleModeluserGroupRoleId - the user group 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 rolepublic Map<String,Function<UserGroupRole,Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions in interface BaseModel<UserGroupRole>public Map<String,BiConsumer<UserGroupRole,Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers in interface BaseModel<UserGroupRole>protected UserGroupRoleWrapper wrap(UserGroupRole userGroupRole)
wrap in class BaseModelWrapper<UserGroupRole>