public class UserGroupGroupRoleWrapper extends BaseModelWrapper<UserGroupGroupRole> implements ModelWrapper<UserGroupGroupRole>, UserGroupGroupRole
This class is a wrapper for UserGroupGroupRole
.
UserGroupGroupRole
,
Serialized Formmodel
GROUP_ID_ACCESSOR, ROLE_ID_ACCESSOR, USER_GROUP_ID_ACCESSOR
Constructor and Description |
---|
UserGroupGroupRoleWrapper(UserGroupGroupRole userGroupGroupRole) |
Modifier and Type | Method and Description |
---|---|
long |
getCompanyId()
Returns the company ID of this user group group role.
|
Group |
getGroup() |
long |
getGroupId()
Returns the group ID of this user group group role.
|
Map<String,Object> |
getModelAttributes() |
long |
getMvccVersion()
Returns the mvcc version of this user group group role.
|
UserGroupGroupRolePK |
getPrimaryKey()
Returns the primary key of this user group group role.
|
Role |
getRole() |
long |
getRoleId()
Returns the role ID of this user group group role.
|
UserGroup |
getUserGroup() |
long |
getUserGroupId()
Returns the user group ID of this user group group role.
|
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 group role.
|
void |
setGroupId(long groupId)
Sets the group ID of this user group group role.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this user group group role.
|
void |
setPrimaryKey(UserGroupGroupRolePK primaryKey)
Sets the primary key of this user group group role.
|
void |
setRoleId(long roleId)
Sets the role ID of this user group group role.
|
void |
setUserGroupId(long userGroupId)
Sets the user group ID of this user group group role.
|
protected UserGroupGroupRoleWrapper |
wrap(UserGroupGroupRole userGroupGroupRole) |
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
getWrappedModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
getModelClass, getModelClassName
public UserGroupGroupRoleWrapper(UserGroupGroupRole userGroupGroupRole)
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<UserGroupGroupRole>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<UserGroupGroupRole>
public long getCompanyId()
getCompanyId
in interface ShardedModel
getCompanyId
in interface UserGroupGroupRoleModel
public Group getGroup() throws PortalException
getGroup
in interface UserGroupGroupRole
PortalException
public long getGroupId()
getGroupId
in interface UserGroupGroupRoleModel
public long getMvccVersion()
getMvccVersion
in interface MVCCModel
getMvccVersion
in interface UserGroupGroupRoleModel
public UserGroupGroupRolePK getPrimaryKey()
getPrimaryKey
in interface UserGroupGroupRoleModel
public Role getRole() throws PortalException
getRole
in interface UserGroupGroupRole
PortalException
public long getRoleId()
getRoleId
in interface UserGroupGroupRoleModel
public UserGroup getUserGroup() throws PortalException
getUserGroup
in interface UserGroupGroupRole
PortalException
public long getUserGroupId()
getUserGroupId
in interface UserGroupGroupRoleModel
public void persist()
PersistedModel
persist
in interface PersistedModel
public void setCompanyId(long companyId)
setCompanyId
in interface ShardedModel
setCompanyId
in interface UserGroupGroupRoleModel
companyId
- the company ID of this user group group rolepublic void setGroupId(long groupId)
setGroupId
in interface UserGroupGroupRoleModel
groupId
- the group ID of this user group group rolepublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
setMvccVersion
in interface UserGroupGroupRoleModel
mvccVersion
- the mvcc version of this user group group rolepublic void setPrimaryKey(UserGroupGroupRolePK primaryKey)
setPrimaryKey
in interface UserGroupGroupRoleModel
primaryKey
- the primary key of this user group group rolepublic void setRoleId(long roleId)
setRoleId
in interface UserGroupGroupRoleModel
roleId
- the role ID of this user group group rolepublic void setUserGroupId(long userGroupId)
setUserGroupId
in interface UserGroupGroupRoleModel
userGroupId
- the user group ID of this user group group roleprotected UserGroupGroupRoleWrapper wrap(UserGroupGroupRole userGroupGroupRole)
wrap
in class BaseModelWrapper<UserGroupGroupRole>