public class OrgGroupRoleWrapper extends BaseModelWrapper<OrgGroupRole> implements ModelWrapper<OrgGroupRole>, OrgGroupRole
This class is a wrapper for OrgGroupRole
.
OrgGroupRole
,
Serialized Formmodel
GROUP_ID_ACCESSOR, ORGANIZATION_ID_ACCESSOR, ROLE_ID_ACCESSOR
Constructor and Description |
---|
OrgGroupRoleWrapper(OrgGroupRole orgGroupRole) |
Modifier and Type | Method and Description |
---|---|
boolean |
containsGroup(List<Group> groups) |
boolean |
containsOrganization(List<Organization> organizations) |
long |
getCompanyId()
Returns the company ID of this org group role.
|
long |
getGroupId()
Returns the group ID of this org group role.
|
Map<String,Object> |
getModelAttributes() |
long |
getMvccVersion()
Returns the mvcc version of this org group role.
|
long |
getOrganizationId()
Returns the organization ID of this org group role.
|
OrgGroupRolePK |
getPrimaryKey()
Returns the primary key of this org group role.
|
long |
getRoleId()
Returns the role ID of this org group role.
|
void |
setCompanyId(long companyId)
Sets the company ID of this org group role.
|
void |
setGroupId(long groupId)
Sets the group ID of this org group role.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this org group role.
|
void |
setOrganizationId(long organizationId)
Sets the organization ID of this org group role.
|
void |
setPrimaryKey(OrgGroupRolePK primaryKey)
Sets the primary key of this org group role.
|
void |
setRoleId(long roleId)
Sets the role ID of this org group role.
|
protected OrgGroupRoleWrapper |
wrap(OrgGroupRole orgGroupRole) |
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, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
getModelClass, getModelClassName
public OrgGroupRoleWrapper(OrgGroupRole orgGroupRole)
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<OrgGroupRole>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<OrgGroupRole>
public boolean containsGroup(List<Group> groups)
containsGroup
in interface OrgGroupRole
public boolean containsOrganization(List<Organization> organizations)
containsOrganization
in interface OrgGroupRole
public long getCompanyId()
getCompanyId
in interface OrgGroupRoleModel
getCompanyId
in interface ShardedModel
public long getGroupId()
getGroupId
in interface OrgGroupRoleModel
public long getMvccVersion()
getMvccVersion
in interface MVCCModel
getMvccVersion
in interface OrgGroupRoleModel
public long getOrganizationId()
getOrganizationId
in interface OrgGroupRoleModel
public OrgGroupRolePK getPrimaryKey()
getPrimaryKey
in interface OrgGroupRoleModel
public long getRoleId()
getRoleId
in interface OrgGroupRoleModel
public void setCompanyId(long companyId)
setCompanyId
in interface OrgGroupRoleModel
setCompanyId
in interface ShardedModel
companyId
- the company ID of this org group rolepublic void setGroupId(long groupId)
setGroupId
in interface OrgGroupRoleModel
groupId
- the group ID of this org group rolepublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
setMvccVersion
in interface OrgGroupRoleModel
mvccVersion
- the mvcc version of this org group rolepublic void setOrganizationId(long organizationId)
setOrganizationId
in interface OrgGroupRoleModel
organizationId
- the organization ID of this org group rolepublic void setPrimaryKey(OrgGroupRolePK primaryKey)
setPrimaryKey
in interface OrgGroupRoleModel
primaryKey
- the primary key of this org group rolepublic void setRoleId(long roleId)
setRoleId
in interface OrgGroupRoleModel
roleId
- the role ID of this org group roleprotected OrgGroupRoleWrapper wrap(OrgGroupRole orgGroupRole)
wrap
in class BaseModelWrapper<OrgGroupRole>