Package org.camunda.bpm.engine.identity
Interface GroupQuery
- All Superinterfaces:
Query<GroupQuery,Group>
- All Known Implementing Classes:
DbGroupQueryImpl,GroupQueryImpl,LdapGroupQuery,OAuth2IdentityProvider.OAuth2GroupQuery
Allows to programmatically query for
Groups.- Author:
- Joram Barrez
-
Method Summary
Modifier and TypeMethodDescriptionOnly selectGroups with the given id.Only selectGroups with the given idsgroupMember(String groupMemberUserId) Only selectsGroups where the given user is a member of.Only selectGroups with the given name.groupNameLike(String groupNameLike) Only selectGroups where the name matches the given parameter.Only selectGroups which have the given type.memberOfTenant(String tenantId) Only selectGroups that belongs to the given tenant.Order by group id (needs to be followed byQuery.asc()orQuery.desc()).Order by group name (needs to be followed byQuery.asc()orQuery.desc()).Order by group type (needs to be followed byQuery.asc()orQuery.desc()).potentialStarter(String procDefId) Only selectGroupS that are potential starter for the given process definition.Methods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
Method Details
-
groupId
Only selectGroups with the given id. -
groupIdIn
Only selectGroups with the given ids -
groupName
Only selectGroups with the given name. -
groupNameLike
Only selectGroups where the name matches the given parameter. The syntax to use is that of SQL, eg. %activiti%. -
groupType
Only selectGroups which have the given type. -
groupMember
Only selectsGroups where the given user is a member of. -
potentialStarter
Only selectGroupS that are potential starter for the given process definition. -
memberOfTenant
Only selectGroups that belongs to the given tenant. -
orderByGroupId
GroupQuery orderByGroupId()Order by group id (needs to be followed byQuery.asc()orQuery.desc()). -
orderByGroupName
GroupQuery orderByGroupName()Order by group name (needs to be followed byQuery.asc()orQuery.desc()). -
orderByGroupType
GroupQuery orderByGroupType()Order by group type (needs to be followed byQuery.asc()orQuery.desc()).
-