Package org.camunda.bpm.engine.impl
Class GroupQueryImpl
java.lang.Object
org.camunda.bpm.engine.impl.db.ListQueryParameterObject
org.camunda.bpm.engine.impl.AbstractQuery<GroupQuery,Group>
org.camunda.bpm.engine.impl.GroupQueryImpl
- All Implemented Interfaces:
Serializable,GroupQuery,Command<Object>,Query<GroupQuery,Group>
- Direct Known Subclasses:
DbGroupQueryImpl,LdapGroupQuery,OAuth2IdentityProvider.OAuth2GroupQuery
- Author:
- Joram Barrez
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQuery
AbstractQuery.ResultType -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected String[]protected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected StringFields inherited from class org.camunda.bpm.engine.impl.AbstractQuery
commandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validatorsFields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
authCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()String[]getIds()getName()getType()Only selectGroups with the given id.Only selectGroups with the given idsgroupMember(String userId) Only selectsGroups where the given user is a member of.Only selectGroups with the given name.groupNameLike(String nameLike) 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 class org.camunda.bpm.engine.impl.AbstractQuery
addExpression, addValidator, asc, checkMaxResultsLimit, checkQueryOk, count, desc, direction, disableMaxResultsLimit, enableMaxResultsLimit, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteDeploymentIdMappingsList, evaluateExpressionsAndExecuteIdsList, evaluateExpressionsAndExecuteList, execute, executeCount, executeDeploymentIdMappingsList, executeIdsList, executeList, executeResult, executeSingleResult, extend, getExpressions, getMethod, hasExcludingConditions, list, listDeploymentIdMappings, listIds, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, unlimitedList, validate, validateMethods inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheckMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
Field Details
-
id
-
ids
-
name
-
nameLike
-
type
-
userId
-
procDefId
-
tenantId
-
-
Constructor Details
-
GroupQueryImpl
public GroupQueryImpl() -
GroupQueryImpl
-
-
Method Details
-
groupId
Description copied from interface:GroupQueryOnly selectGroups with the given id.- Specified by:
groupIdin interfaceGroupQuery
-
groupIdIn
Description copied from interface:GroupQueryOnly selectGroups with the given ids- Specified by:
groupIdInin interfaceGroupQuery
-
groupName
Description copied from interface:GroupQueryOnly selectGroups with the given name.- Specified by:
groupNamein interfaceGroupQuery
-
groupNameLike
Description copied from interface:GroupQueryOnly selectGroups where the name matches the given parameter. The syntax to use is that of SQL, eg. %activiti%.- Specified by:
groupNameLikein interfaceGroupQuery
-
groupType
Description copied from interface:GroupQueryOnly selectGroups which have the given type.- Specified by:
groupTypein interfaceGroupQuery
-
groupMember
Description copied from interface:GroupQueryOnly selectsGroups where the given user is a member of.- Specified by:
groupMemberin interfaceGroupQuery
-
potentialStarter
Description copied from interface:GroupQueryOnly selectGroupS that are potential starter for the given process definition.- Specified by:
potentialStarterin interfaceGroupQuery
-
memberOfTenant
Description copied from interface:GroupQueryOnly selectGroups that belongs to the given tenant.- Specified by:
memberOfTenantin interfaceGroupQuery
-
orderByGroupId
Description copied from interface:GroupQueryOrder by group id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByGroupIdin interfaceGroupQuery
-
orderByGroupName
Description copied from interface:GroupQueryOrder by group name (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByGroupNamein interfaceGroupQuery
-
orderByGroupType
Description copied from interface:GroupQueryOrder by group type (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByGroupTypein interfaceGroupQuery
-
getId
-
getName
-
getNameLike
-
getType
-
getUserId
-
getTenantId
-
getIds
-