Interface WorkInstanceInfoQuery<Q extends WorkInstanceInfoQuery<Q,R> , R extends WorkInstanceInfo>
- All Superinterfaces:
org.flowable.common.engine.api.query.Query<Q,R>
- All Known Subinterfaces:
HistoricWorkInstanceQuery, WorkInstanceQuery
- All Known Implementing Classes:
HistoricWorkInstanceQueryImpl, WorkInstanceInfoQueryImpl, WorkInstanceQueryImpl
public interface WorkInstanceInfoQuery<Q extends WorkInstanceInfoQuery<Q,R>, R extends WorkInstanceInfo>
extends org.flowable.common.engine.api.query.Query<Q,R>
Query used for querying process and case instances.
By default, only root instances are selected.
- Author:
- Filip Hrisafov
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
org.flowable.common.engine.api.query.Query.NullHandlingOnOrder -
Method Summary
Modifier and TypeMethodDescriptionaccessibleByUserOrGroups(String userId, Collection<String> groupKeys) Only select work instances accessible by the give user or groupsassigneeUserId(String userId) Only select work instance assigned to the given useridbusinessKey(String businessKey) Only select work instance with the given businessKeybusinessStatus(String businessStatus) Only select work instance with the given businessStatusdefinitionCategories(Collection<String> definitionCategories) Only select work instances with the given definition categoriesdefinitionCategory(String definitionCategory) Only select work instances with the given definition categorydefinitionId(String definitionId) Only select work instances with the given definition iddefinitionKey(String definitionKey) Only select work instances with the given definition keydefinitionName(String definitionName) Only select work instances with the given definition namefinishedAfter(Date finishedAfter) finishedBefore(Date finishedBefore) Only select work instances with the given idSelect all instances.Whether translations for the work instances should also be fetched.Only select work instances with the given nameparentScopeId(String parentId) rootScopeId(String rootScopeId) searchText(String searchText) Only select work instances with the given search textstartedAfter(Date startedAfter) startedBefore(Date startedBefore) startUserId(String startUserId) Only select work instances with the given start user idOnly select work instances with the given stateOnly select work instances with the given tenantIdtenantIdLike(String tenantIdLike) Only select work instances with a tenant id like the given oneOnly select work instances with the given typeMethods inherited from interface org.flowable.common.engine.api.query.Query
asc, count, desc, list, listPage, orderBy, orderBy, singleResult
-
Method Details
-
id
-
name
-
definitionId
-
definitionName
-
definitionKey
-
definitionCategory
-
definitionCategories
Only select work instances with the given definition categories -
state
-
type
-
startUserId
-
searchText
-
tenantId
-
tenantIdLike
-
accessibleByUserOrGroups
Only select work instances accessible by the give user or groups -
includeTranslation
Q includeTranslation()Whether translations for the work instances should also be fetched. -
assigneeUserId
-
businessKey
-
businessStatus
-
includeAllInstances
Q includeAllInstances()Select all instances. Not only the root instances. -
parentScopeId
-
rootScopeId
-
startedBefore
-
startedAfter
-
finishedBefore
-
finishedAfter
-