public class UserGroupRoleWrapper extends BaseModelWrapper<UserGroupRole> implements ModelWrapper<UserGroupRole>, UserGroupRole
This class is a wrapper for UserGroupRole
.
UserGroupRole
,
Serialized Formmodel
GROUP_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.
|
String |
toXmlString() |
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
getWrappedModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
getModelClass, getModelClassName
public 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 UserGroupRoleModel
public boolean equals(Object object)
equals
in interface UserGroupRole
equals
in class BaseModelWrapper<UserGroupRole>
public long getCompanyId()
getCompanyId
in interface ShardedModel
getCompanyId
in interface UserGroupRoleModel
public long getCtCollectionId()
getCtCollectionId
in interface CTModel<UserGroupRole>
getCtCollectionId
in interface UserGroupRoleModel
public Group getGroup() throws PortalException
getGroup
in interface UserGroupRole
PortalException
public long getGroupId()
getGroupId
in interface UserGroupRoleModel
public long getMvccVersion()
getMvccVersion
in interface MVCCModel
getMvccVersion
in interface UserGroupRoleModel
public long getPrimaryKey()
getPrimaryKey
in interface CTModel<UserGroupRole>
getPrimaryKey
in interface UserGroupRoleModel
public Role getRole() throws PortalException
getRole
in interface UserGroupRole
PortalException
public long getRoleId()
getRoleId
in interface UserGroupRoleModel
public User getUser() throws PortalException
getUser
in interface UserGroupRole
PortalException
public long getUserGroupRoleId()
getUserGroupRoleId
in interface UserGroupRoleModel
public long getUserId()
getUserId
in interface UserGroupRoleModel
public String getUserUuid()
getUserUuid
in interface UserGroupRoleModel
public int hashCode()
hashCode
in interface UserGroupRole
hashCode
in class BaseModelWrapper<UserGroupRole>
public void persist()
PersistedModel
persist
in interface PersistedModel
public void setCompanyId(long companyId)
setCompanyId
in interface ShardedModel
setCompanyId
in interface UserGroupRoleModel
companyId
- the company ID of this user group rolepublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId
in interface CTModel<UserGroupRole>
setCtCollectionId
in interface UserGroupRoleModel
ctCollectionId
- the ct collection ID of this user group rolepublic void setGroupId(long groupId)
setGroupId
in interface UserGroupRoleModel
groupId
- the group ID of this user group rolepublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
setMvccVersion
in interface UserGroupRoleModel
mvccVersion
- the mvcc version of this user group rolepublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface CTModel<UserGroupRole>
setPrimaryKey
in interface UserGroupRoleModel
primaryKey
- the primary key of this user group rolepublic void setRoleId(long roleId)
setRoleId
in interface UserGroupRoleModel
roleId
- the role ID of this user group rolepublic void setUserGroupRoleId(long userGroupRoleId)
setUserGroupRoleId
in interface UserGroupRoleModel
userGroupRoleId
- the user group role ID of this user group rolepublic void setUserId(long userId)
setUserId
in interface UserGroupRoleModel
userId
- the user ID of this user group rolepublic void setUserUuid(String userUuid)
setUserUuid
in interface UserGroupRoleModel
userUuid
- the user uuid of this user group rolepublic String toXmlString()
toXmlString
in interface UserGroupRoleModel
public 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>