Package com.flowable.platform.api.work
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 tenantIdOnly 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
Only select work instances with the given id -
name
Only select work instances with the given name -
definitionId
Only select work instances with the given definition id -
definitionName
Only select work instances with the given definition name -
definitionKey
Only select work instances with the given definition key -
definitionCategory
Only select work instances with the given definition category -
definitionCategories
Only select work instances with the given definition categories -
state
Only select work instances with the given state -
type
Only select work instances with the given type -
startUserId
Only select work instances with the given start user id -
searchText
Only select work instances with the given search text -
tenantId
Only select work instances with the given tenantId -
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
Only select work instance assigned to the given userid -
businessKey
Only select work instance with the given businessKey -
businessStatus
Only select work instance with the given businessStatus -
includeAllInstances
Q includeAllInstances()Select all instances. Not only the root instances. -
parentScopeId
-
rootScopeId
-
startedBefore
-
startedAfter
-
finishedBefore
-
finishedAfter
-