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
Modifier and TypeFieldDescriptionprotected String
protected String[]
protected String
protected String
protected String
protected String
protected String
protected String
Fields inherited from class org.camunda.bpm.engine.impl.AbstractQuery
commandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
Fields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
authCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
String[]
getIds()
getName()
getType()
Only selectGroup
s with the given id.Only selectGroup
s with the given idsgroupMember
(String userId) Only selectsGroup
s where the given user is a member of.Only selectGroup
s with the given name.groupNameLike
(String nameLike) Only selectGroup
s where the name matches the given parameter.Only selectGroup
s which have the given type.memberOfTenant
(String tenantId) Only selectGroup
s 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 selectGroup
S 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, validate
Methods 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, setTenantCheck
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:GroupQuery
Only selectGroup
s with the given id.- Specified by:
groupId
in interfaceGroupQuery
-
groupIdIn
Description copied from interface:GroupQuery
Only selectGroup
s with the given ids- Specified by:
groupIdIn
in interfaceGroupQuery
-
groupName
Description copied from interface:GroupQuery
Only selectGroup
s with the given name.- Specified by:
groupName
in interfaceGroupQuery
-
groupNameLike
Description copied from interface:GroupQuery
Only selectGroup
s where the name matches the given parameter. The syntax to use is that of SQL, eg. %activiti%.- Specified by:
groupNameLike
in interfaceGroupQuery
-
groupType
Description copied from interface:GroupQuery
Only selectGroup
s which have the given type.- Specified by:
groupType
in interfaceGroupQuery
-
groupMember
Description copied from interface:GroupQuery
Only selectsGroup
s where the given user is a member of.- Specified by:
groupMember
in interfaceGroupQuery
-
potentialStarter
Description copied from interface:GroupQuery
Only selectGroup
S that are potential starter for the given process definition.- Specified by:
potentialStarter
in interfaceGroupQuery
-
memberOfTenant
Description copied from interface:GroupQuery
Only selectGroup
s that belongs to the given tenant.- Specified by:
memberOfTenant
in interfaceGroupQuery
-
orderByGroupId
Description copied from interface:GroupQuery
Order by group id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByGroupId
in interfaceGroupQuery
-
orderByGroupName
Description copied from interface:GroupQuery
Order by group name (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByGroupName
in interfaceGroupQuery
-
orderByGroupType
Description copied from interface:GroupQuery
Order by group type (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByGroupType
in interfaceGroupQuery
-
getId
-
getName
-
getNameLike
-
getType
-
getUserId
-
getTenantId
-
getIds
-