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 forGroups.- Author:
- Joram Barrez
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GroupQuerygroupId(java.lang.String groupId)Only selectGroups with the given id.GroupQuerygroupIdIn(java.lang.String... ids)Only selectGroups with the given idsGroupQuerygroupMember(java.lang.String groupMemberUserId)Only selectsGroups where the given user is a member of.GroupQuerygroupName(java.lang.String groupName)Only selectGroups with the given name.GroupQuerygroupNameLike(java.lang.String groupNameLike)Only selectGroups where the name matches the given parameter.GroupQuerygroupType(java.lang.String groupType)Only selectGroups which have the given type.GroupQuerymemberOfTenant(java.lang.String tenantId)Only selectGroups that belongs to the given tenant.GroupQueryorderByGroupId()Order by group id (needs to be followed byQuery.asc()orQuery.desc()).GroupQueryorderByGroupName()Order by group name (needs to be followed byQuery.asc()orQuery.desc()).GroupQueryorderByGroupType()Order by group type (needs to be followed byQuery.asc()orQuery.desc()).GroupQuerypotentialStarter(java.lang.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 Detail
-
groupId
GroupQuery groupId(java.lang.String groupId)
Only selectGroups with the given id.
-
groupIdIn
GroupQuery groupIdIn(java.lang.String... ids)
Only selectGroups with the given ids
-
groupName
GroupQuery groupName(java.lang.String groupName)
Only selectGroups with the given name.
-
groupNameLike
GroupQuery groupNameLike(java.lang.String groupNameLike)
Only selectGroups 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 selectGroups which have the given type.
-
groupMember
GroupQuery groupMember(java.lang.String groupMemberUserId)
Only selectsGroups where the given user is a member of.
-
potentialStarter
GroupQuery potentialStarter(java.lang.String procDefId)
Only selectGroupS that are potential starter for the given process definition.
-
memberOfTenant
GroupQuery memberOfTenant(java.lang.String tenantId)
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()).
-
-