public class UserGroupGroupRoleWrapper extends BaseModelWrapper<UserGroupGroupRole> implements ModelWrapper<UserGroupGroupRole>, UserGroupGroupRole
This class is a wrapper for UserGroupGroupRole
.
UserGroupGroupRole
,
Serialized Formmodel
USER_GROUP_GROUP_ROLE_ID_ACCESSOR
Constructor and Description |
---|
UserGroupGroupRoleWrapper(UserGroupGroupRole userGroupGroupRole) |
Modifier and Type | Method and Description |
---|---|
UserGroupGroupRole |
cloneWithOriginalValues() |
boolean |
equals(Object object) |
Map<String,Function<UserGroupGroupRole,Object>> |
getAttributeGetterFunctions() |
Map<String,BiConsumer<UserGroupGroupRole,Object>> |
getAttributeSetterBiConsumers() |
long |
getCompanyId()
Returns the company ID of this user group group role.
|
long |
getCtCollectionId()
Returns the ct collection 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.
|
long |
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 |
getUserGroupGroupRoleId()
Returns the user group group role ID of this user group group role.
|
long |
getUserGroupId()
Returns the user group ID of this user group 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 group role.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection 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(long 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 |
setUserGroupGroupRoleId(long userGroupGroupRoleId)
Sets the user group group role ID of this user group group role.
|
void |
setUserGroupId(long userGroupId)
Sets the user group ID of this user group group role.
|
String |
toXmlString() |
protected UserGroupGroupRoleWrapper |
wrap(UserGroupGroupRole userGroupGroupRole) |
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 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 UserGroupGroupRole cloneWithOriginalValues()
cloneWithOriginalValues
in interface BaseModel<UserGroupGroupRole>
cloneWithOriginalValues
in interface UserGroupGroupRoleModel
public boolean equals(Object object)
equals
in interface UserGroupGroupRole
equals
in class BaseModelWrapper<UserGroupGroupRole>
public long getCompanyId()
getCompanyId
in interface ShardedModel
getCompanyId
in interface UserGroupGroupRoleModel
public long getCtCollectionId()
getCtCollectionId
in interface CTModel<UserGroupGroupRole>
getCtCollectionId
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 long getPrimaryKey()
getPrimaryKey
in interface CTModel<UserGroupGroupRole>
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 getUserGroupGroupRoleId()
getUserGroupGroupRoleId
in interface UserGroupGroupRoleModel
public long getUserGroupId()
getUserGroupId
in interface UserGroupGroupRoleModel
public int hashCode()
hashCode
in interface UserGroupGroupRole
hashCode
in class BaseModelWrapper<UserGroupGroupRole>
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 setCtCollectionId(long ctCollectionId)
setCtCollectionId
in interface CTModel<UserGroupGroupRole>
setCtCollectionId
in interface UserGroupGroupRoleModel
ctCollectionId
- the ct collection 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(long primaryKey)
setPrimaryKey
in interface CTModel<UserGroupGroupRole>
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 setUserGroupGroupRoleId(long userGroupGroupRoleId)
setUserGroupGroupRoleId
in interface UserGroupGroupRoleModel
userGroupGroupRoleId
- the user group group 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 rolepublic String toXmlString()
toXmlString
in interface UserGroupGroupRoleModel
public Map<String,Function<UserGroupGroupRole,Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions
in interface BaseModel<UserGroupGroupRole>
public Map<String,BiConsumer<UserGroupGroupRole,Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers
in interface BaseModel<UserGroupGroupRole>
protected UserGroupGroupRoleWrapper wrap(UserGroupGroupRole userGroupGroupRole)
wrap
in class BaseModelWrapper<UserGroupGroupRole>