public class OrgGroupRoleWrapper extends BaseModelWrapper<OrgGroupRole> implements ModelWrapper<OrgGroupRole>, OrgGroupRole
This class is a wrapper for OrgGroupRole.
OrgGroupRole,
Serialized FormmodelGROUP_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, toXmlStringgetWrappedModelclone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNamepublic 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 OrgGroupRolepublic boolean containsOrganization(List<Organization> organizations)
containsOrganization in interface OrgGroupRolepublic long getCompanyId()
getCompanyId in interface OrgGroupRoleModelgetCompanyId in interface ShardedModelpublic long getGroupId()
getGroupId in interface OrgGroupRoleModelpublic long getMvccVersion()
getMvccVersion in interface MVCCModelgetMvccVersion in interface OrgGroupRoleModelpublic long getOrganizationId()
getOrganizationId in interface OrgGroupRoleModelpublic OrgGroupRolePK getPrimaryKey()
getPrimaryKey in interface OrgGroupRoleModelpublic long getRoleId()
getRoleId in interface OrgGroupRoleModelpublic void setCompanyId(long companyId)
setCompanyId in interface OrgGroupRoleModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this org group rolepublic void setGroupId(long groupId)
setGroupId in interface OrgGroupRoleModelgroupId - the group ID of this org group rolepublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelsetMvccVersion in interface OrgGroupRoleModelmvccVersion - the mvcc version of this org group rolepublic void setOrganizationId(long organizationId)
setOrganizationId in interface OrgGroupRoleModelorganizationId - the organization ID of this org group rolepublic void setPrimaryKey(OrgGroupRolePK primaryKey)
setPrimaryKey in interface OrgGroupRoleModelprimaryKey - the primary key of this org group rolepublic void setRoleId(long roleId)
setRoleId in interface OrgGroupRoleModelroleId - the role ID of this org group roleprotected OrgGroupRoleWrapper wrap(OrgGroupRole orgGroupRole)
wrap in class BaseModelWrapper<OrgGroupRole>