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(java.lang.String groupId)
Only selectGroup
s with the given id.GroupQuery
groupIdIn(java.lang.String... ids)
Only selectGroup
s with the given idsGroupQuery
groupMember(java.lang.String groupMemberUserId)
Only selectsGroup
s where the given user is a member of.GroupQuery
groupName(java.lang.String groupName)
Only selectGroup
s with the given name.GroupQuery
groupNameLike(java.lang.String groupNameLike)
Only selectGroup
s where the name matches the given parameter.GroupQuery
groupType(java.lang.String groupType)
Only selectGroup
s which have the given type.GroupQuery
memberOfTenant(java.lang.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(java.lang.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(java.lang.String groupId)
Only selectGroup
s with the given id.
-
groupIdIn
GroupQuery groupIdIn(java.lang.String... ids)
Only selectGroup
s with the given ids
-
groupName
GroupQuery groupName(java.lang.String groupName)
Only selectGroup
s with the given name.
-
groupNameLike
GroupQuery groupNameLike(java.lang.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(java.lang.String groupType)
Only selectGroup
s which have the given type.
-
groupMember
GroupQuery groupMember(java.lang.String groupMemberUserId)
Only selectsGroup
s where the given user is a member of.
-
potentialStarter
GroupQuery potentialStarter(java.lang.String procDefId)
Only selectGroup
S that are potential starter for the given process definition.
-
memberOfTenant
GroupQuery memberOfTenant(java.lang.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()
).
-
-