Package org.camunda.bpm.engine.identity
Interface GroupQuery
-
- All Superinterfaces:
Query<GroupQuery,Group>
- All Known Implementing Classes:
DbGroupQueryImpl
,GroupQueryImpl
,LdapGroupQuery
public interface GroupQuery extends Query<GroupQuery,Group>
Allows to programmatically query forGroup
s.- Author:
- Joram Barrez
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GroupQuery
groupId(String groupId)
Only selectGroup
s with the given id.GroupQuery
groupIdIn(String... ids)
Only selectGroup
s with the given idsGroupQuery
groupMember(String groupMemberUserId)
Only selectsGroup
s where the given user is a member of.GroupQuery
groupName(String groupName)
Only selectGroup
s with the given name.GroupQuery
groupNameLike(String groupNameLike)
Only selectGroup
s where the name matches the given parameter.GroupQuery
groupType(String groupType)
Only selectGroup
s which have the given type.GroupQuery
memberOfTenant(String tenantId)
Only selectGroup
s that belongs to the given tenant.GroupQuery
orderByGroupId()
Order by group id (needs to be followed byQuery.asc()
orQuery.desc()
).GroupQuery
orderByGroupName()
Order by group name (needs to be followed byQuery.asc()
orQuery.desc()
).GroupQuery
orderByGroupType()
Order by group type (needs to be followed byQuery.asc()
orQuery.desc()
).GroupQuery
potentialStarter(String procDefId)
Only selectGroup
S 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 Detail
-
groupId
GroupQuery groupId(String groupId)
Only selectGroup
s with the given id.
-
groupIdIn
GroupQuery groupIdIn(String... ids)
Only selectGroup
s with the given ids
-
groupName
GroupQuery groupName(String groupName)
Only selectGroup
s with the given name.
-
groupNameLike
GroupQuery groupNameLike(String groupNameLike)
Only selectGroup
s where the name matches the given parameter. The syntax to use is that of SQL, eg. %activiti%.
-
groupType
GroupQuery groupType(String groupType)
Only selectGroup
s which have the given type.
-
groupMember
GroupQuery groupMember(String groupMemberUserId)
Only selectsGroup
s where the given user is a member of.
-
potentialStarter
GroupQuery potentialStarter(String procDefId)
Only selectGroup
S that are potential starter for the given process definition.
-
memberOfTenant
GroupQuery memberOfTenant(String tenantId)
Only selectGroup
s 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()
).
-
-