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_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.
|
java.util.Map<java.lang.String,java.lang.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.
|
java.lang.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(java.util.Map<java.lang.String,java.lang.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(java.lang.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, toXmlString
finalize, getClass, notify, notifyAll, wait, wait, wait
getWrappedModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
getModelClass, getModelClassName
public UserGroupRoleWrapper(UserGroupRole userGroupRole)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface BaseModel<UserGroupRole>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface BaseModel<UserGroupRole>
public long getCompanyId()
getCompanyId
in interface ShardedModel
getCompanyId
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 UserGroupRolePK getPrimaryKey()
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 getUserId()
getUserId
in interface UserGroupRoleModel
public java.lang.String getUserUuid()
getUserUuid
in interface UserGroupRoleModel
public void persist()
UserGroupRole
interface instead.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 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(UserGroupRolePK primaryKey)
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 setUserId(long userId)
setUserId
in interface UserGroupRoleModel
userId
- the user ID of this user group rolepublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface UserGroupRoleModel
userUuid
- the user uuid of this user group roleprotected UserGroupRoleWrapper wrap(UserGroupRole userGroupRole)
wrap
in class BaseModelWrapper<UserGroupRole>