Class HistoricTaskInstanceQueryImpl
- All Implemented Interfaces:
Serializable
,CacheAwareQuery<HistoricTaskInstanceEntity>
,DeleteQuery<HistoricTaskInstanceQuery,
,HistoricTaskInstance> Query<HistoricTaskInstanceQuery,
,HistoricTaskInstance> Command<Object>
,HistoricTaskInstanceQuery
,TaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
- Author:
- Tom Baeyens, Joram Barrez
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
ListQueryParameterObject.OrderBy, ListQueryParameterObject.ResultType
Nested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
Query.NullHandlingOnOrder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
protected Collection<String>
protected String
protected String
protected String
protected String
protected Collection<String>
protected String
protected String
protected Collection<String>
protected Collection<String>
protected String
protected Date
protected Date
protected Date
protected String
protected Collection<String>
protected String
protected Date
protected Date
protected Date
protected Date
protected Date
protected Date
protected HistoricTaskInstanceQueryImpl
protected String
protected Collection<String>
protected Date
protected Date
protected Date
protected String
protected boolean
protected String
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected Date
protected Date
protected Date
protected String
protected Date
protected Date
protected Date
protected Collection<String>
protected String
protected String
protected List<HistoricTaskInstanceQueryImpl>
protected String
protected Collection<String>
protected Collection<String>
protected String
protected String
protected String
protected String
protected Collection<String>
protected String
protected String
protected boolean
protected String
protected String
protected String
protected String
protected Collection<String>
protected String
protected boolean
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected Date
protected Date
protected Date
protected String
protected Collection<String>
protected String
protected String
protected String
protected String
protected String
protected Collection<String>
protected String
protected String
protected String
protected String
protected String
protected String
protected Collection<String>
protected Integer
protected Integer
protected String
protected String
protected String
protected Collection<String>
protected Collection<String>
protected String
protected String
protected String
protected String
protected Integer
protected TaskServiceConfiguration
protected String
protected String
protected boolean
protected VariableServiceConfiguration
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
protected boolean
Fields inherited from class org.flowable.variable.service.impl.AbstractVariableQueryImpl
queryVariableValues, variableValueProvider
Fields inherited from class org.flowable.common.engine.impl.query.AbstractQuery
commandContext, commandExecutor
Fields inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
databaseType, DEFAULT_ORDER_BY, defaultOrderBy, firstResult, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC
-
Constructor Summary
ConstructorsConstructorDescriptionHistoricTaskInstanceQueryImpl
(CommandExecutor commandExecutor, String databaseType, TaskServiceConfiguration taskServiceConfiguration, VariableServiceConfiguration variableServiceConfiguration) HistoricTaskInstanceQueryImpl
(CommandExecutor commandExecutor, TaskServiceConfiguration taskServiceConfiguration, VariableServiceConfiguration variableServiceConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addCachedVariableForQueryById
(CommandContext commandContext, List<HistoricTaskInstance> results, boolean local) caseDefinitionId
(String caseDefinitionId) Only select tasks for the given case definition.caseDefinitionKey
(String caseDefinitionKey) Only select tasks which are part of a case instance which has the given case definition key.caseDefinitionKeyIn
(Collection<String> caseDefinitionKeys) Only select tasks that have a case definition for which the key is present in the given listcaseDefinitionKeyLike
(String caseDefinitionKeyLike) Only select tasks which are part of a case instance which has a case definition key like the given value.caseDefinitionKeyLikeIgnoreCase
(String caseDefinitionKeyLikeIgnoreCase) Only select tasks which are part of a case instance which has a case definition key like the given value.caseInstanceId
(String caseInstanceId) Only select tasks for the given case instance.caseInstanceIdWithChildren
(String caseInstanceId) Select all tasks for the given case instance id and its children.caseVariableExists
(String name) Only select tasks which have a global variable with the given name.caseVariableNotExists
(String name) Only select tasks which does not have a global variable with the given name.caseVariableValueEquals
(Object variableValue) Only select tasks which are part of a case that has at least one variable with the given value.caseVariableValueEquals
(String variableName, Object variableValue) Only select tasks which are part of a case that has a variable with the given name set to the given value.caseVariableValueEqualsIgnoreCase
(String name, String value) Only select tasks which are part of a case that has a local string variable which is not the given value, case insensitive.caseVariableValueGreaterThan
(String name, Object value) Only select tasks which have a global variable value greater than the passed value when they ended.caseVariableValueGreaterThanOrEqual
(String name, Object value) Only select tasks which have a global variable value greater than or equal to the passed value when they ended.caseVariableValueLessThan
(String name, Object value) Only select tasks which have a global variable value less than the passed value when the ended.Booleans, Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.caseVariableValueLessThanOrEqual
(String name, Object value) Only select tasks which have a global variable value less than or equal to the passed value when they ended.caseVariableValueLike
(String name, String value) Only select tasks which have a global variable value like the given value when they ended.caseVariableValueLikeIgnoreCase
(String name, String value) Only select tasks which have a global variable value like the given value (case insensitive) when they ended.caseVariableValueNotEquals
(String variableName, Object variableValue) Only select tasks which have a variable with the given name, but with a different value than the passed value.caseVariableValueNotEqualsIgnoreCase
(String name, String value) Only select tasks which are part of a case that has a string variable with the given value, case insensitive.protected void
checkTaskCategoryList
(Collection<String> taskCategoryInList) cmmnDeploymentId
(String cmmnDeploymentId) Only select tasks which are related to a case instance for to the given deployment id.cmmnDeploymentIdIn
(Collection<String> cmmnDeploymentIds) Only select tasks which are related to a case instances for the given deployment id.void
delete()
Delete all instances that match the query.void
Deprecated.deploymentId
(String deploymentId) Only select tasks which are part of a process instance which has the given deployment id.deploymentIdIn
(Collection<String> deploymentIds) Only select tasks which are part of a process instance which has the given deployment id.endOr()
void
protected void
long
executeCount
(CommandContext commandContext) executeList
(CommandContext commandContext) Executes the actual query to retrieve the list of results.executionId
(String executionId) Only select tasks for the given execution.finished()
Only select historic task instances which are finished.protected Collection<String>
getGroupsForCandidateUser
(String candidateUser) getId()
Allows to select a task usingTaskInfoQuery.taskCandidateGroup(String)
TaskInfoQuery.taskCandidateGroupIn(Collection)
orTaskInfoQuery.taskCandidateUser(String)
but ignore the assignee value instead of querying for an empty assignee.Include global case variables in the task query resultInclude identity links in the task query resultInclude global process variables in the task query resultInclude local task variables in the task query resultboolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
Localize task name and description to specified locale.or()
All query clauses called will be added to a single or-statement.Order by category (needs to be followed byQuery.asc()
orQuery.desc()
).Order by task delete reason (needs to be followed byQuery.asc()
orQuery.desc()
).Order by due date (needs to be followed byQuery.asc()
orQuery.desc()
).Order by due date (needs to be followed byQuery.asc()
orQuery.desc()
).Order by execution id (needs to be followed byQuery.asc()
orQuery.desc()
).Order by the historic activity instance id this task was used in (needs to be followed byQuery.asc()
orQuery.desc()
).Order by duration (needs to be followed byQuery.asc()
orQuery.desc()
).Order by end time (needs to be followed byQuery.asc()
orQuery.desc()
).Order by start time (needs to be followed byQuery.asc()
orQuery.desc()
).Order by process definition id (needs to be followed byQuery.asc()
orQuery.desc()
).Order by process instance id (needs to be followed byQuery.asc()
orQuery.desc()
).Order by assignee (needs to be followed byQuery.asc()
orQuery.desc()
).Order by the time on which the tasks were created (needs to be followed byQuery.asc()
orQuery.desc()
).Order by task definition key (needs to be followed byQuery.asc()
orQuery.desc()
).Order by description (needs to be followed byQuery.asc()
orQuery.desc()
).Order by task due date (needs to be followed byQuery.asc()
orQuery.desc()
).Order by task id (needs to be followed byQuery.asc()
orQuery.desc()
).Order by task name (needs to be followed byQuery.asc()
orQuery.desc()
).Order by task owner (needs to be followed byQuery.asc()
orQuery.desc()
).Order by priority (needs to be followed byQuery.asc()
orQuery.desc()
).Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).planItemInstanceId
(String planItemInstanceId) Only select tasks for the given plan item instance.processCategoryIn
(Collection<String> processCategoryInList) Only select tasks which are part of a process instance whose definition belongs to the category which is present in the given list.processCategoryNotIn
(Collection<String> processCategoryNotInList) Only select tasks which are part of a process instance whose definition does not belong to the category which is present in the given list.processDefinitionId
(String processDefinitionId) Only select tasks which are part of a process instance which has the given process definition id.processDefinitionKey
(String processDefinitionKey) Only select tasks which are part of a process instance which has the given process definition key.processDefinitionKeyIn
(Collection<String> processDefinitionKeys) Only select tasks that have a process definition for which the key is present in the given listprocessDefinitionKeyLike
(String processDefinitionKeyLike) Only select tasks which are part of a process instance which has a process definition key like the given value.processDefinitionKeyLikeIgnoreCase
(String processDefinitionKeyLikeIgnoreCase) Only select tasks which are part of a process instance which has a process definition key like the given value.processDefinitionName
(String processDefinitionName) Only select tasks which are part of a process instance which has the given process definition name.processDefinitionNameLike
(String processDefinitionNameLike) Only select tasks which are part of a process instance which has a process definition name like the given value.Only select historic task instances which are part of a process instance which is already finished.processInstanceBusinessKey
(String processInstanceBusinessKey) Only select tasks for the given business keyprocessInstanceBusinessKeyLike
(String processInstanceBusinessKeyLike) Only select tasks with a business key like the given value The syntax is that of SQL: for example usage: processInstanceBusinessKeyLike("%test%").processInstanceBusinessKeyLikeIgnoreCase
(String processInstanceBusinessKeyLikeIgnoreCase) Only select tasks with a business key like the given value The syntax is that of SQL: for example usage: processInstanceBusinessKeyLike("%test%").processInstanceId
(String processInstanceId) Only select tasks for the given process instance id.processInstanceIdIn
(Collection<String> processInstanceIds) Only select tasks for the given process ids.processInstanceIdWithChildren
(String processInstanceId) Select all tasks for the given process instance id and its children.Only select historic task instances which are part of a process instance which is not finished yet.processVariableExists
(String name) Only select tasks which have a global variable with the given name.Only select tasks which does not have a global variable with the given name.processVariableValueEquals
(Object variableValue) Only select tasks which are part of a process that has at least one variable with the given value.processVariableValueEquals
(String variableName, Object variableValue) Only select tasks which are part of a process that has a variable with the given name set to the given value.processVariableValueEqualsIgnoreCase
(String name, String value) Only select tasks which are part of a process that has a local string variable which is not the given value, case insensitive.processVariableValueGreaterThan
(String name, Object value) Only select tasks which have a global variable value greater than the passed value when they ended.processVariableValueGreaterThanOrEqual
(String name, Object value) Only select tasks which have a global variable value greater than or equal to the passed value when they ended.processVariableValueLessThan
(String name, Object value) Only select tasks which have a global variable value less than the passed value when the ended.Booleans, Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.processVariableValueLessThanOrEqual
(String name, Object value) Only select tasks which have a global variable value less than or equal to the passed value when they ended.processVariableValueLike
(String name, String value) Only select tasks which have a global variable value like the given value when they ended.processVariableValueLikeIgnoreCase
(String name, String value) Only select tasks which have a global variable value like the given value (case insensitive) when they ended.processVariableValueNotEquals
(String variableName, Object variableValue) Only select tasks which have a variable with the given name, but with a different value than the passed value.processVariableValueNotEqualsIgnoreCase
(String name, String value) Only select tasks which are part of a process that has a string variable with the given value, case insensitive.propagatedStageInstanceId
(String propagatedStageInstanceId) Only select tasks for the given stage, defined through its stage instance id.scopeDefinitionId
(String scopeDefinitionId) Only select tasks for the given scope definition identifier.Only select tasks for the given scope identifier.Only select tasks for the given scope type.void
setSafeCandidateGroups
(List<List<String>> safeCandidateGroups) void
setSafeInvolvedGroups
(List<List<String>> safeInvolvedGroups) subScopeId
(String subScopeId) Only select tasks for the given sub scope identifier.Only select tasks which are assigned to any usertaskAssignee
(String taskAssignee) Only select tasks which are assigned to the given user.taskAssigneeIds
(Collection<String> assigneeIds) Only select tasks with an assignee that is in the given listtaskAssigneeLike
(String taskAssigneeLike) Only select tasks which were last assigned to an assignee like the given value.taskAssigneeLikeIgnoreCase
(String taskAssigneeLikeIgnoreCase) Only select tasks which were last assigned to an assignee like the given value.taskCandidateGroup
(String candidateGroup) Only select tasks for which users in the given group are candidates.taskCandidateGroupIn
(Collection<String> candidateGroups) Only select tasks for which the 'candidateGroup' is one of the given groups.taskCandidateUser
(String candidateUser) Only select tasks for which the given user is a candidate.taskCategory
(String category) Only select tasks with the given category.taskCategoryIn
(Collection<String> taskCategoryInList) Only select tasks belonging to one of the categories in the given list.taskCategoryNotIn
(Collection<String> taskCategoryNotInList) Only select tasks with a defined category which do not belong to a category present in the given list.taskClaimedAfter
(Date after) Only select tasks that are claimed after the given date.taskClaimedBefore
(Date before) Only select tasks that are claimed before the given date.taskClaimedBy
(String claimedBy) Select all tasks that have a claimed by user reference for the given value.taskClaimedOn
(Date claimedTime) Only select tasks that are claimed on the given date.taskCompletedAfter
(Date completedAfterDate) Only select historic task instances which are completed after the given datetaskCompletedBefore
(Date completedBeforeDate) Only select historic task instances which are completed before the given datetaskCompletedBy
(String completedBy) Only select historic task instances which are completed by the given usertaskCompletedOn
(Date completedDate) Only select historic task instances which are completed on the given datetaskCreatedAfter
(Date creationAfterDate) Only select tasks that are created after the given date.taskCreatedBefore
(Date creationBeforeDate) Only select tasks that are created before the given date.taskCreatedOn
(Date creationDate) Only select tasks that are created on the given date.taskDefinitionId
(String taskDefinitionId) Only select tasks which created from the given task definition referenced by id.taskDefinitionKey
(String taskDefinitionKey) Only select tasks with the given taskDefinitionKey.taskDefinitionKeyLike
(String taskDefinitionKeyLike) Only select tasks with a taskDefinitionKey that match the given parameter.taskDefinitionKeys
(Collection<String> taskDefinitionKeys) Only select tasks with the given taskDefinitionKeys.taskDeleteReason
(String taskDeleteReason) Only select historic task instances with the given task delete reason.taskDeleteReasonLike
(String taskDeleteReasonLike) Only select historic task instances with a task description like the given value.taskDescription
(String taskDescription) Only select tasks with the given description.taskDescriptionLike
(String taskDescriptionLike) Only select tasks with a description matching the parameter .taskDescriptionLikeIgnoreCase
(String taskDescriptionLikeIgnoreCase) Only select tasks with a description matching the parameter .taskDueAfter
(Date dueAfter) Only select tasks which have a due date after the given date.taskDueBefore
(Date dueBefore) Only select tasks which have a due date before the given date.taskDueDate
(Date dueDate) Only select tasks with the given due date.taskFormKey
(String formKey) Only select tasks with the given formKey.Only select tasks with the given task id (in practice, there will be maximum one of this kind)taskIds
(Collection<String> taskIds) Only select tasks with an id that is in the given listtaskInProgressStartDueAfter
(Date dueAfter) Only select tasks which have an in progress start due date after the given date.taskInProgressStartDueBefore
(Date dueBefore) Only select tasks which have an in progress start due date before the given date.taskInProgressStartDueDate
(Date dueDate) Only select tasks with the given in progress start due date.taskInProgressStartedBy
(String startedBy) Select all tasks that have an in progress started user reference for the given value.taskInProgressStartTimeAfter
(Date after) Only select tasks that are started in progress after the given date.taskInProgressStartTimeBefore
(Date before) Only select tasks that are started in progress before the given date.taskInProgressStartTimeOn
(Date startTime) Only select tasks that are started in progress on the given date.taskInvolvedGroups
(Collection<String> involvedGroups) Only select tasks for which there exist anIdentityLink
with the given Groups.taskInvolvedUser
(String involvedUser) Only select tasks for which there exist anIdentityLink
with the given user, including tasks which have been assigned to the given user (assignee) or owned by the given user (owner).taskMaxPriority
(Integer taskMaxPriority) Only select tasks with the given priority or lower.taskMinPriority
(Integer taskMinPriority) Only select tasks with the given priority or higher.Only select tasks with the given nametaskNameIn
(Collection<String> taskNameList) Only select tasks with a name that is in the given listtaskNameInIgnoreCase
(Collection<String> taskNameList) Only select tasks with a name that is in the given list This method, unlike theTaskInfoQuery.taskNameIn(Collection)
method will not take in account the upper/lower case: both the input parameters as the column value are lowercased when the query is executed.taskNameLike
(String taskNameLike) Only select tasks with a name matching the parameter.taskNameLikeIgnoreCase
(String taskNameLikeIgnoreCase) Only select tasks with a name matching the parameter.Only select tasks for which the given user is the owner.taskOwnerLike
(String taskOwnerLike) Only select tasks which were last assigned to an owner like the given value.taskOwnerLikeIgnoreCase
(String taskOwnerLikeIgnoreCase) Only select tasks which were last assigned to an owner like the given value.taskParentScopeId
(String parentScopeId) Only selects tasks which with the given parent scope idtaskParentTaskId
(String parentTaskId) Only select subtasks of the given parent tasktaskPriority
(Integer taskPriority) Only select tasks with the given priority.taskRootScopeId
(String rootScopeId) Only selects tasks which with the given root scope idOnly select tasks with the given state.taskSuspendedAfter
(Date after) Only select tasks that are suspended after the given date.taskSuspendedBefore
(Date before) Only select tasks that are suspended before the given date.taskSuspendedBy
(String suspendedBy) Select all tasks that have a suspended by user reference for the given value.taskSuspendedOn
(Date suspendedTime) Only select tasks that are suspended on the given date.taskTenantId
(String tenantId) Only select tasks that have the given tenant id.taskTenantIdLike
(String tenantIdLike) Only select tasks with a tenant id like the given one.Only select tasks which don't have an assignee.taskVariableExists
(String name) Only select tasks which have a local variable with the given name.taskVariableNotExists
(String name) Only select tasks which does not have a local variable with the given name.taskVariableValueEquals
(Object variableValue) Only select tasks which have at least one local task variable with the given value.taskVariableValueEquals
(String variableName, Object variableValue) Only select tasks which have a local task variable with the given name set to the given value.taskVariableValueEqualsIgnoreCase
(String name, String value) Only select tasks which have a local string variable with the given value, case insensitive.taskVariableValueGreaterThan
(String name, Object value) Only select tasks which have a local variable value greater than the passed value when they ended.taskVariableValueGreaterThanOrEqual
(String name, Object value) Only select tasks which have a local variable value greater than or equal to the passed value when they ended.taskVariableValueLessThan
(String name, Object value) Only select tasks which have a local variable value less than the passed value when the ended.Booleans, Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.taskVariableValueLessThanOrEqual
(String name, Object value) Only select tasks which have a local variable value less than or equal to the passed value when they ended.taskVariableValueLike
(String name, String value) Only select tasks which have a local variable value like the given value when they ended.taskVariableValueLikeIgnoreCase
(String name, String value) Only select tasks which have a local variable value like the given value (case insensitive) when they ended.taskVariableValueNotEquals
(String variableName, Object variableValue) Only select tasks which have a local task variable with the given name, but with a different value than the passed value.taskVariableValueNotEqualsIgnoreCase
(String name, String value) Only select tasks which have a local string variable with is not the given value, case insensitive.Only select tasks with form key.Selects tasks without category.Only select historic tasks without a delete reason (completed normally)Only select tasks that do not have a tenant id.Only select historic task instances which aren't finished yet.Instruct localization to fallback to more general locales including the default locale of the JVM if the specified locale is not found.Only select tasks without a process instance id.Only select tasks which don't have a scope id set.Only select tasks with no due date.Only select tasks with no in progress start due date.Methods inherited from class org.flowable.variable.service.impl.AbstractVariableQueryImpl
addVariable, addVariable, getQueryVariableValues, hasLocalQueryVariableValue, hasNonLocalQueryVariableValue, hasValueComparisonQueryVariables, isBoolean, scopedVariableExists, scopedVariableNotExists, scopedVariableValueEquals, scopedVariableValueEquals, scopedVariableValueEqualsIgnoreCase, scopedVariableValueGreaterThan, scopedVariableValueGreaterThanOrEqual, scopedVariableValueLessThan, scopedVariableValueLessThanOrEqual, scopedVariableValueLike, scopedVariableValueLikeIgnoreCase, scopedVariableValueNotEquals, scopedVariableValueNotEqualsIgnoreCase, variableExists, variableExists, variableNotExists, variableNotExists, variableValueEquals, variableValueEquals, variableValueEquals, variableValueEquals, variableValueEqualsIgnoreCase, variableValueEqualsIgnoreCase, variableValueGreaterThan, variableValueGreaterThan, variableValueGreaterThanOrEqual, variableValueGreaterThanOrEqual, variableValueLessThan, variableValueLessThan, variableValueLessThanOrEqual, variableValueLessThanOrEqual, variableValueLike, variableValueLike, variableValueLikeIgnoreCase, variableValueLikeIgnoreCase, variableValueNotEquals, variableValueNotEquals, variableValueNotEqualsIgnoreCase, variableValueNotEqualsIgnoreCase
Methods inherited from class org.flowable.common.engine.impl.query.AbstractQuery
asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, list, listPage, orderBy, orderBy, setCommandExecutor, singleResult
Methods inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
addOrder, buildOrderBy, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByCollectionSafe, getOrderByForWindow, getOuterJoinOrderBy, getParameter, hasOrderBy, hasOrderByForColumn, isNeedsPaging, mapOrderByToSql, setDatabaseType, setFirstResult, setMaxResults, setNullHandlingColumn, setParameter
-
Field Details
-
taskServiceConfiguration
-
variableServiceConfiguration
-
taskDefinitionId
-
processDefinitionId
-
processDefinitionKey
-
processDefinitionKeyLike
-
processDefinitionKeyLikeIgnoreCase
-
processDefinitionKeys
-
processDefinitionName
-
processDefinitionNameLike
-
processCategoryInList
-
processCategoryNotInList
-
deploymentId
-
deploymentIds
-
cmmnDeploymentId
-
cmmnDeploymentIds
-
processInstanceId
-
processInstanceIds
-
withoutProcessInstanceId
protected boolean withoutProcessInstanceId -
processInstanceBusinessKey
-
processInstanceBusinessKeyLike
-
processInstanceBusinessKeyLikeIgnoreCase
-
executionId
-
scopeId
-
subScopeId
-
scopeType
-
scopeDefinitionId
-
withoutScopeId
protected boolean withoutScopeId -
propagatedStageInstanceId
-
processInstanceIdWithChildren
-
caseInstanceIdWithChildren
-
caseDefinitionKey
-
caseDefinitionKeyLike
-
caseDefinitionKeyLikeIgnoreCase
-
caseDefinitionKeys
-
taskId
-
taskIds
-
taskName
-
taskNameLike
-
taskNameLikeIgnoreCase
-
taskNameList
-
taskNameListIgnoreCase
-
taskParentTaskId
-
taskDescription
-
taskDescriptionLike
-
taskDescriptionLikeIgnoreCase
-
taskDeleteReason
-
taskDeleteReasonLike
-
taskOwner
-
taskOwnerLike
-
taskOwnerLikeIgnoreCase
-
taskAssignee
-
taskAssigneeLike
-
taskAssigneeLikeIgnoreCase
-
rootScopeId
-
parentScopeId
-
withAssignee
protected boolean withAssignee -
withoutAssignee
protected boolean withoutAssignee -
taskAssigneeIds
-
taskDefinitionKey
-
taskDefinitionKeyLike
-
taskDefinitionKeys
-
candidateUser
-
candidateGroup
-
candidateGroups
-
involvedUser
-
involvedGroups
-
ignoreAssigneeValue
protected boolean ignoreAssigneeValue -
taskPriority
-
taskMinPriority
-
taskMaxPriority
-
finished
protected boolean finished -
unfinished
protected boolean unfinished -
processFinished
protected boolean processFinished -
processUnfinished
protected boolean processUnfinished -
state
-
createTime
-
createTimeBefore
-
createTimeAfter
-
inProgressStartTime
-
inProgressStartTimeBefore
-
inProgressStartTimeAfter
-
inProgressStartedBy
-
claimTime
-
claimTimeBefore
-
claimTimeAfter
-
claimedBy
-
suspendedTime
-
suspendedTimeBefore
-
suspendedTimeAfter
-
suspendedBy
-
completedTime
-
completedTimeAfter
-
completedTimeBefore
-
completedBy
-
inProgressStartDueDate
-
inProgressStartDueAfter
-
inProgressStartDueBefore
-
withoutInProgressStartDueDate
protected boolean withoutInProgressStartDueDate -
dueDate
-
dueAfter
-
dueBefore
-
withoutDueDate
protected boolean withoutDueDate -
category
-
categoryInList
-
categoryNotInList
-
withoutCategory
protected boolean withoutCategory -
withFormKey
protected boolean withFormKey -
formKey
-
tenantId
-
tenantIdLike
-
withoutTenantId
protected boolean withoutTenantId -
withoutDeleteReason
protected boolean withoutDeleteReason -
locale
-
withLocalizationFallback
protected boolean withLocalizationFallback -
includeTaskLocalVariables
protected boolean includeTaskLocalVariables -
includeProcessVariables
protected boolean includeProcessVariables -
includeCaseVariables
protected boolean includeCaseVariables -
includeIdentityLinks
protected boolean includeIdentityLinks -
orQueryObjects
-
currentOrQueryObject
-
inOrStatement
protected boolean inOrStatement
-
-
Constructor Details
-
HistoricTaskInstanceQueryImpl
public HistoricTaskInstanceQueryImpl() -
HistoricTaskInstanceQueryImpl
public HistoricTaskInstanceQueryImpl(CommandExecutor commandExecutor, TaskServiceConfiguration taskServiceConfiguration, VariableServiceConfiguration variableServiceConfiguration) -
HistoricTaskInstanceQueryImpl
public HistoricTaskInstanceQueryImpl(CommandExecutor commandExecutor, String databaseType, TaskServiceConfiguration taskServiceConfiguration, VariableServiceConfiguration variableServiceConfiguration)
-
-
Method Details
-
executeCount
- Specified by:
executeCount
in classAbstractVariableQueryImpl<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
executeList
Description copied from class:AbstractQuery
Executes the actual query to retrieve the list of results.- Specified by:
executeList
in classAbstractVariableQueryImpl<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
addCachedVariableForQueryById
protected void addCachedVariableForQueryById(CommandContext commandContext, List<HistoricTaskInstance> results, boolean local) -
enhanceCachedValue
- Specified by:
enhanceCachedValue
in interfaceCacheAwareQuery<HistoricTaskInstanceEntity>
-
processInstanceId
Description copied from interface:TaskInfoQuery
Only select tasks for the given process instance id.- Specified by:
processInstanceId
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
processInstanceIdIn
Description copied from interface:TaskInfoQuery
Only select tasks for the given process ids.- Specified by:
processInstanceIdIn
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
withoutProcessInstanceId
Description copied from interface:TaskInfoQuery
Only select tasks without a process instance id.- Specified by:
withoutProcessInstanceId
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
processInstanceBusinessKey
Description copied from interface:TaskInfoQuery
Only select tasks for the given business key- Specified by:
processInstanceBusinessKey
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
processInstanceBusinessKeyLike
public HistoricTaskInstanceQueryImpl processInstanceBusinessKeyLike(String processInstanceBusinessKeyLike) Description copied from interface:TaskInfoQuery
Only select tasks with a business key like the given value The syntax is that of SQL: for example usage: processInstanceBusinessKeyLike("%test%").- Specified by:
processInstanceBusinessKeyLike
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
processInstanceBusinessKeyLikeIgnoreCase
public HistoricTaskInstanceQuery processInstanceBusinessKeyLikeIgnoreCase(String processInstanceBusinessKeyLikeIgnoreCase) Description copied from interface:TaskInfoQuery
Only select tasks with a business key like the given value The syntax is that of SQL: for example usage: processInstanceBusinessKeyLike("%test%"). This method, unlike theTaskInfoQuery.processInstanceBusinessKeyLike(String)
method will not take in account the upper/lower case: both the input parameter as the column value are lowercased when the query is executed.- Specified by:
processInstanceBusinessKeyLikeIgnoreCase
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
executionId
Description copied from interface:TaskInfoQuery
Only select tasks for the given execution.- Specified by:
executionId
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
caseInstanceId
Description copied from interface:TaskInfoQuery
Only select tasks for the given case instance.- Specified by:
caseInstanceId
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
caseDefinitionId
Description copied from interface:TaskInfoQuery
Only select tasks for the given case definition.- Specified by:
caseDefinitionId
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
caseDefinitionKey
Description copied from interface:TaskInfoQuery
Only select tasks which are part of a case instance which has the given case definition key.- Specified by:
caseDefinitionKey
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
caseDefinitionKeyLike
Description copied from interface:TaskInfoQuery
Only select tasks which are part of a case instance which has a case definition key like the given value. The syntax that should be used is the same as in SQL, eg. %test%.- Specified by:
caseDefinitionKeyLike
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
caseDefinitionKeyLikeIgnoreCase
public HistoricTaskInstanceQueryImpl caseDefinitionKeyLikeIgnoreCase(String caseDefinitionKeyLikeIgnoreCase) Description copied from interface:TaskInfoQuery
Only select tasks which are part of a case instance which has a case definition key like the given value. The syntax that should be used is the same as in SQL, eg. %test%. This method, unlike theTaskInfoQuery.caseDefinitionKeyLike(String)
method will not take in account the upper/lower case: both the input parameter as the column value are lowercased when the query is executed.- Specified by:
caseDefinitionKeyLikeIgnoreCase
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
caseDefinitionKeyIn
Description copied from interface:TaskInfoQuery
Only select tasks that have a case definition for which the key is present in the given list- Specified by:
caseDefinitionKeyIn
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
processInstanceIdWithChildren
Description copied from interface:TaskInfoQuery
Select all tasks for the given process instance id and its children.- Specified by:
processInstanceIdWithChildren
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
caseInstanceIdWithChildren
Description copied from interface:TaskInfoQuery
Select all tasks for the given case instance id and its children.- Specified by:
caseInstanceIdWithChildren
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
planItemInstanceId
Description copied from interface:TaskInfoQuery
Only select tasks for the given plan item instance.- Specified by:
planItemInstanceId
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
scopeId
Description copied from interface:TaskInfoQuery
Only select tasks for the given scope identifier.- Specified by:
scopeId
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
subScopeId
Description copied from interface:TaskInfoQuery
Only select tasks for the given sub scope identifier.- Specified by:
subScopeId
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
scopeType
Description copied from interface:TaskInfoQuery
Only select tasks for the given scope type.- Specified by:
scopeType
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
scopeDefinitionId
Description copied from interface:TaskInfoQuery
Only select tasks for the given scope definition identifier.- Specified by:
scopeDefinitionId
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
withoutScopeId
Description copied from interface:TaskInfoQuery
Only select tasks which don't have a scope id set.- Specified by:
withoutScopeId
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
propagatedStageInstanceId
Description copied from interface:TaskInfoQuery
Only select tasks for the given stage, defined through its stage instance id.- Specified by:
propagatedStageInstanceId
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskDefinitionId
Description copied from interface:TaskInfoQuery
Only select tasks which created from the given task definition referenced by id.- Specified by:
taskDefinitionId
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
processDefinitionId
Description copied from interface:TaskInfoQuery
Only select tasks which are part of a process instance which has the given process definition id.- Specified by:
processDefinitionId
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
processDefinitionKey
Description copied from interface:TaskInfoQuery
Only select tasks which are part of a process instance which has the given process definition key.- Specified by:
processDefinitionKey
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
processDefinitionKeyLike
Description copied from interface:TaskInfoQuery
Only select tasks which are part of a process instance which has a process definition key like the given value. The syntax that should be used is the same as in SQL, eg. %test%.- Specified by:
processDefinitionKeyLike
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
processDefinitionKeyLikeIgnoreCase
public HistoricTaskInstanceQuery processDefinitionKeyLikeIgnoreCase(String processDefinitionKeyLikeIgnoreCase) Description copied from interface:TaskInfoQuery
Only select tasks which are part of a process instance which has a process definition key like the given value. The syntax that should be used is the same as in SQL, eg. %test%. This method, unlike theTaskInfoQuery.processDefinitionKeyLike(String)
method will not take in account the upper/lower case: both the input parameter as the column value are lowercased when the query is executed.- Specified by:
processDefinitionKeyLikeIgnoreCase
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
processDefinitionKeyIn
Description copied from interface:TaskInfoQuery
Only select tasks that have a process definition for which the key is present in the given list- Specified by:
processDefinitionKeyIn
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
processDefinitionName
Description copied from interface:TaskInfoQuery
Only select tasks which are part of a process instance which has the given process definition name.- Specified by:
processDefinitionName
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
processDefinitionNameLike
Description copied from interface:TaskInfoQuery
Only select tasks which are part of a process instance which has a process definition name like the given value. The syntax that should be used is the same as in SQL, eg. %test%.- Specified by:
processDefinitionNameLike
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
processCategoryIn
Description copied from interface:TaskInfoQuery
Only select tasks which are part of a process instance whose definition belongs to the category which is present in the given list.- Specified by:
processCategoryIn
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
processCategoryNotIn
Description copied from interface:TaskInfoQuery
Only select tasks which are part of a process instance whose definition does not belong to the category which is present in the given list.- Specified by:
processCategoryNotIn
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
deploymentId
Description copied from interface:TaskInfoQuery
Only select tasks which are part of a process instance which has the given deployment id.- Specified by:
deploymentId
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
deploymentIdIn
Description copied from interface:TaskInfoQuery
Only select tasks which are part of a process instance which has the given deployment id.- Specified by:
deploymentIdIn
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
cmmnDeploymentId
Description copied from interface:TaskInfoQuery
Only select tasks which are related to a case instance for to the given deployment id.- Specified by:
cmmnDeploymentId
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
cmmnDeploymentIdIn
Description copied from interface:TaskInfoQuery
Only select tasks which are related to a case instances for the given deployment id.- Specified by:
cmmnDeploymentIdIn
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskId
Description copied from interface:TaskInfoQuery
Only select tasks with the given task id (in practice, there will be maximum one of this kind)- Specified by:
taskId
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskIds
Description copied from interface:TaskInfoQuery
Only select tasks with an id that is in the given list- Specified by:
taskIds
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskName
Description copied from interface:TaskInfoQuery
Only select tasks with the given name- Specified by:
taskName
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskNameIn
Description copied from interface:TaskInfoQuery
Only select tasks with a name that is in the given list- Specified by:
taskNameIn
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskNameInIgnoreCase
Description copied from interface:TaskInfoQuery
Only select tasks with a name that is in the given list This method, unlike theTaskInfoQuery.taskNameIn(Collection)
method will not take in account the upper/lower case: both the input parameters as the column value are lowercased when the query is executed.- Specified by:
taskNameInIgnoreCase
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskNameLike
Description copied from interface:TaskInfoQuery
Only select tasks with a name matching the parameter. The syntax is that of SQL: for example usage: nameLike(%test%)- Specified by:
taskNameLike
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskNameLikeIgnoreCase
Description copied from interface:TaskInfoQuery
Only select tasks with a name matching the parameter. The syntax is that of SQL: for example usage: nameLike(%test%) This method, unlike theTaskInfoQuery.taskNameLike(String)
method will not take in account the upper/lower case: both the input parameter as the column value are lowercased when the query is executed.- Specified by:
taskNameLikeIgnoreCase
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskParentTaskId
Description copied from interface:HistoricTaskInstanceQuery
Only select subtasks of the given parent task- Specified by:
taskParentTaskId
in interfaceHistoricTaskInstanceQuery
-
taskDescription
Description copied from interface:TaskInfoQuery
Only select tasks with the given description.- Specified by:
taskDescription
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskDescriptionLike
Description copied from interface:TaskInfoQuery
Only select tasks with a description matching the parameter . The syntax is that of SQL: for example usage: descriptionLike(%test%)- Specified by:
taskDescriptionLike
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskDescriptionLikeIgnoreCase
public HistoricTaskInstanceQuery taskDescriptionLikeIgnoreCase(String taskDescriptionLikeIgnoreCase) Description copied from interface:TaskInfoQuery
Only select tasks with a description matching the parameter . The syntax is that of SQL: for example usage: descriptionLike(%test%) This method, unlike theTaskInfoQuery.taskDescriptionLike(String)
method will not take in account the upper/lower case: both the input parameter as the column value are lowercased when the query is executed.- Specified by:
taskDescriptionLikeIgnoreCase
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskDeleteReason
Description copied from interface:HistoricTaskInstanceQuery
Only select historic task instances with the given task delete reason.- Specified by:
taskDeleteReason
in interfaceHistoricTaskInstanceQuery
-
taskDeleteReasonLike
Description copied from interface:HistoricTaskInstanceQuery
Only select historic task instances with a task description like the given value. The syntax that should be used is the same as in SQL, eg. %test%.- Specified by:
taskDeleteReasonLike
in interfaceHistoricTaskInstanceQuery
-
taskAssignee
Description copied from interface:TaskInfoQuery
Only select tasks which are assigned to the given user.- Specified by:
taskAssignee
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskAssigneeLike
Description copied from interface:TaskInfoQuery
Only select tasks which were last assigned to an assignee like the given value. The syntax that should be used is the same as in SQL, eg. %test%.- Specified by:
taskAssigneeLike
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskAssigneeLikeIgnoreCase
Description copied from interface:TaskInfoQuery
Only select tasks which were last assigned to an assignee like the given value. The syntax that should be used is the same as in SQL, eg. %test%. This method, unlike theTaskInfoQuery.taskAssigneeLike(String)
method will not take in account the upper/lower case: both the input parameter as the column value are lowercased when the query is executed.- Specified by:
taskAssigneeLikeIgnoreCase
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskUnassigned
Description copied from interface:TaskInfoQuery
Only select tasks which don't have an assignee.- Specified by:
taskUnassigned
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskAssigned
Description copied from interface:TaskInfoQuery
Only select tasks which are assigned to any user- Specified by:
taskAssigned
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskAssigneeIds
Description copied from interface:TaskInfoQuery
Only select tasks with an assignee that is in the given list- Specified by:
taskAssigneeIds
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskOwner
Description copied from interface:TaskInfoQuery
Only select tasks for which the given user is the owner.- Specified by:
taskOwner
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskOwnerLike
Description copied from interface:TaskInfoQuery
Only select tasks which were last assigned to an owner like the given value. The syntax that should be used is the same as in SQL, eg. %test%.- Specified by:
taskOwnerLike
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskOwnerLikeIgnoreCase
Description copied from interface:TaskInfoQuery
Only select tasks which were last assigned to an owner like the given value. The syntax that should be used is the same as in SQL, eg. %test%. This method, unlike theTaskInfoQuery.taskOwnerLike(String)
method will not take in account the upper/lower case: both the input parameter as the column value are lowercased when the query is executed.- Specified by:
taskOwnerLikeIgnoreCase
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
finished
Description copied from interface:HistoricTaskInstanceQuery
Only select historic task instances which are finished.- Specified by:
finished
in interfaceHistoricTaskInstanceQuery
-
unfinished
Description copied from interface:HistoricTaskInstanceQuery
Only select historic task instances which aren't finished yet.- Specified by:
unfinished
in interfaceHistoricTaskInstanceQuery
-
taskVariableValueEquals
Description copied from interface:TaskInfoQuery
Only select tasks which have a local task variable with the given name set to the given value.- Specified by:
taskVariableValueEquals
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskVariableValueEquals
Description copied from interface:TaskInfoQuery
Only select tasks which have at least one local task variable with the given value.- Specified by:
taskVariableValueEquals
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskVariableValueEqualsIgnoreCase
Description copied from interface:TaskInfoQuery
Only select tasks which have a local string variable with the given value, case insensitive.This method only works if your database has encoding/collation that supports case-sensitive queries. For example, use "collate UTF-8" on MySQL and for MSSQL, select one of the case-sensitive Collations available (MSDN Server Collation Reference).
- Specified by:
taskVariableValueEqualsIgnoreCase
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskVariableValueNotEqualsIgnoreCase
Description copied from interface:TaskInfoQuery
Only select tasks which have a local string variable with is not the given value, case insensitive.This method only works if your database has encoding/collation that supports case-sensitive queries. For example, use "collate UTF-8" on MySQL and for MSSQL, select one of the case-sensitive Collations available (MSDN Server Collation Reference).
- Specified by:
taskVariableValueNotEqualsIgnoreCase
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskVariableValueNotEquals
public HistoricTaskInstanceQuery taskVariableValueNotEquals(String variableName, Object variableValue) Description copied from interface:TaskInfoQuery
Only select tasks which have a local task variable with the given name, but with a different value than the passed value. Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
taskVariableValueNotEquals
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskVariableValueGreaterThan
Description copied from interface:TaskInfoQuery
Only select tasks which have a local variable value greater than the passed value when they ended. Booleans, Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
taskVariableValueGreaterThan
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance> - Parameters:
name
- cannot be null.value
- cannot be null.
-
taskVariableValueGreaterThanOrEqual
Description copied from interface:TaskInfoQuery
Only select tasks which have a local variable value greater than or equal to the passed value when they ended. Booleans, Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
taskVariableValueGreaterThanOrEqual
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance> - Parameters:
name
- cannot be null.value
- cannot be null.
-
taskVariableValueLessThan
Description copied from interface:TaskInfoQuery
Only select tasks which have a local variable value less than the passed value when the ended.Booleans, Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
taskVariableValueLessThan
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance> - Parameters:
name
- cannot be null.value
- cannot be null.
-
taskVariableValueLessThanOrEqual
Description copied from interface:TaskInfoQuery
Only select tasks which have a local variable value less than or equal to the passed value when they ended. Booleans, Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
taskVariableValueLessThanOrEqual
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance> - Parameters:
name
- cannot be null.value
- cannot be null.
-
taskVariableValueLike
Description copied from interface:TaskInfoQuery
Only select tasks which have a local variable value like the given value when they ended. This can be used on string variables only.- Specified by:
taskVariableValueLike
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance> - Parameters:
name
- cannot be null.value
- cannot be null. The string can include the wildcard character '%' to express like-strategy: starts with (string%), ends with (%string) or contains (%string%).
-
taskVariableValueLikeIgnoreCase
Description copied from interface:TaskInfoQuery
Only select tasks which have a local variable value like the given value (case insensitive) when they ended. This can be used on string variables only.- Specified by:
taskVariableValueLikeIgnoreCase
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance> - Parameters:
name
- cannot be null.value
- cannot be null. The string can include the wildcard character '%' to express like-strategy: starts with (string%), ends with (%string) or contains (%string%).
-
taskVariableExists
Description copied from interface:TaskInfoQuery
Only select tasks which have a local variable with the given name.- Specified by:
taskVariableExists
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance> - Parameters:
name
- cannot be null.
-
taskVariableNotExists
Description copied from interface:TaskInfoQuery
Only select tasks which does not have a local variable with the given name.- Specified by:
taskVariableNotExists
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance> - Parameters:
name
- cannot be null.
-
processVariableValueEquals
public HistoricTaskInstanceQuery processVariableValueEquals(String variableName, Object variableValue) Description copied from interface:TaskInfoQuery
Only select tasks which are part of a process that has a variable with the given name set to the given value.- Specified by:
processVariableValueEquals
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
processVariableValueNotEquals
public HistoricTaskInstanceQuery processVariableValueNotEquals(String variableName, Object variableValue) Description copied from interface:TaskInfoQuery
Only select tasks which have a variable with the given name, but with a different value than the passed value. Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
processVariableValueNotEquals
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
processVariableValueEquals
Description copied from interface:TaskInfoQuery
Only select tasks which are part of a process that has at least one variable with the given value.- Specified by:
processVariableValueEquals
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
processVariableValueEqualsIgnoreCase
Description copied from interface:TaskInfoQuery
Only select tasks which are part of a process that has a local string variable which is not the given value, case insensitive.This method only works if your database has encoding/collation that supports case-sensitive queries. For example, use "collate UTF-8" on MySQL and for MSSQL, select one of the case-sensitive Collations available (MSDN Server Collation Reference).
- Specified by:
processVariableValueEqualsIgnoreCase
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
processVariableValueNotEqualsIgnoreCase
Description copied from interface:TaskInfoQuery
Only select tasks which are part of a process that has a string variable with the given value, case insensitive.This method only works if your database has encoding/collation that supports case-sensitive queries. For example, use "collate UTF-8" on MySQL and for MSSQL, select one of the case-sensitive Collations available (MSDN Server Collation Reference).
- Specified by:
processVariableValueNotEqualsIgnoreCase
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
processVariableValueGreaterThan
Description copied from interface:TaskInfoQuery
Only select tasks which have a global variable value greater than the passed value when they ended. Booleans, Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
processVariableValueGreaterThan
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance> - Parameters:
name
- cannot be null.value
- cannot be null.
-
processVariableValueGreaterThanOrEqual
Description copied from interface:TaskInfoQuery
Only select tasks which have a global variable value greater than or equal to the passed value when they ended. Booleans, Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
processVariableValueGreaterThanOrEqual
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance> - Parameters:
name
- cannot be null.value
- cannot be null.
-
processVariableValueLessThan
Description copied from interface:TaskInfoQuery
Only select tasks which have a global variable value less than the passed value when the ended.Booleans, Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
processVariableValueLessThan
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance> - Parameters:
name
- cannot be null.value
- cannot be null.
-
processVariableValueLessThanOrEqual
Description copied from interface:TaskInfoQuery
Only select tasks which have a global variable value less than or equal to the passed value when they ended. Booleans, Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
processVariableValueLessThanOrEqual
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance> - Parameters:
name
- cannot be null.value
- cannot be null.
-
processVariableValueLike
Description copied from interface:TaskInfoQuery
Only select tasks which have a global variable value like the given value when they ended. This can be used on string variables only.- Specified by:
processVariableValueLike
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance> - Parameters:
name
- cannot be null.value
- cannot be null. The string can include the wildcard character '%' to express like-strategy: starts with (string%), ends with (%string) or contains (%string%).
-
processVariableValueLikeIgnoreCase
Description copied from interface:TaskInfoQuery
Only select tasks which have a global variable value like the given value (case insensitive) when they ended. This can be used on string variables only.- Specified by:
processVariableValueLikeIgnoreCase
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance> - Parameters:
name
- cannot be null.value
- cannot be null. The string can include the wildcard character '%' to express like-strategy: starts with (string%), ends with (%string) or contains (%string%).
-
processVariableExists
Description copied from interface:TaskInfoQuery
Only select tasks which have a global variable with the given name.- Specified by:
processVariableExists
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance> - Parameters:
name
- cannot be null.
-
processVariableNotExists
Description copied from interface:TaskInfoQuery
Only select tasks which does not have a global variable with the given name.- Specified by:
processVariableNotExists
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance> - Parameters:
name
- cannot be null.
-
caseVariableValueEquals
Description copied from interface:TaskInfoQuery
Only select tasks which are part of a case that has a variable with the given name set to the given value.- Specified by:
caseVariableValueEquals
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
caseVariableValueEquals
Description copied from interface:TaskInfoQuery
Only select tasks which are part of a case that has at least one variable with the given value.- Specified by:
caseVariableValueEquals
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
caseVariableValueEqualsIgnoreCase
Description copied from interface:TaskInfoQuery
Only select tasks which are part of a case that has a local string variable which is not the given value, case insensitive.This method only works if your database has encoding/collation that supports case-sensitive queries. For example, use "collate UTF-8" on MySQL and for MSSQL, select one of the case-sensitive Collations available (MSDN Server Collation Reference).
- Specified by:
caseVariableValueEqualsIgnoreCase
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
caseVariableValueNotEquals
public HistoricTaskInstanceQuery caseVariableValueNotEquals(String variableName, Object variableValue) Description copied from interface:TaskInfoQuery
Only select tasks which have a variable with the given name, but with a different value than the passed value. Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
caseVariableValueNotEquals
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
caseVariableValueNotEqualsIgnoreCase
Description copied from interface:TaskInfoQuery
Only select tasks which are part of a case that has a string variable with the given value, case insensitive.This method only works if your database has encoding/collation that supports case-sensitive queries. For example, use "collate UTF-8" on MySQL and for MSSQL, select one of the case-sensitive Collations available (MSDN Server Collation Reference).
- Specified by:
caseVariableValueNotEqualsIgnoreCase
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
caseVariableValueGreaterThan
Description copied from interface:TaskInfoQuery
Only select tasks which have a global variable value greater than the passed value when they ended. Booleans, Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
caseVariableValueGreaterThan
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance> - Parameters:
name
- cannot be null.value
- cannot be null.
-
caseVariableValueGreaterThanOrEqual
Description copied from interface:TaskInfoQuery
Only select tasks which have a global variable value greater than or equal to the passed value when they ended. Booleans, Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
caseVariableValueGreaterThanOrEqual
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance> - Parameters:
name
- cannot be null.value
- cannot be null.
-
caseVariableValueLessThan
Description copied from interface:TaskInfoQuery
Only select tasks which have a global variable value less than the passed value when the ended.Booleans, Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
caseVariableValueLessThan
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance> - Parameters:
name
- cannot be null.value
- cannot be null.
-
caseVariableValueLessThanOrEqual
Description copied from interface:TaskInfoQuery
Only select tasks which have a global variable value less than or equal to the passed value when they ended. Booleans, Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
caseVariableValueLessThanOrEqual
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance> - Parameters:
name
- cannot be null.value
- cannot be null.
-
caseVariableValueLike
Description copied from interface:TaskInfoQuery
Only select tasks which have a global variable value like the given value when they ended. This can be used on string variables only.- Specified by:
caseVariableValueLike
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance> - Parameters:
name
- cannot be null.value
- cannot be null. The string can include the wildcard character '%' to express like-strategy: starts with (string%), ends with (%string) or contains (%string%).
-
caseVariableValueLikeIgnoreCase
Description copied from interface:TaskInfoQuery
Only select tasks which have a global variable value like the given value (case insensitive) when they ended. This can be used on string variables only.- Specified by:
caseVariableValueLikeIgnoreCase
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance> - Parameters:
name
- cannot be null.value
- cannot be null. The string can include the wildcard character '%' to express like-strategy: starts with (string%), ends with (%string) or contains (%string%).
-
caseVariableExists
Description copied from interface:TaskInfoQuery
Only select tasks which have a global variable with the given name.- Specified by:
caseVariableExists
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance> - Parameters:
name
- cannot be null.
-
caseVariableNotExists
Description copied from interface:TaskInfoQuery
Only select tasks which does not have a global variable with the given name.- Specified by:
caseVariableNotExists
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance> - Parameters:
name
- cannot be null.
-
taskRootScopeId
Description copied from interface:TaskInfoQuery
Only selects tasks which with the given root scope id- Specified by:
taskRootScopeId
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskParentScopeId
Description copied from interface:TaskInfoQuery
Only selects tasks which with the given parent scope id- Specified by:
taskParentScopeId
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskDefinitionKey
Description copied from interface:TaskInfoQuery
Only select tasks with the given taskDefinitionKey. The task definition key is the id of the userTask: <userTask id="xxx" .../>- Specified by:
taskDefinitionKey
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskDefinitionKeyLike
Description copied from interface:TaskInfoQuery
Only select tasks with a taskDefinitionKey that match the given parameter. The syntax is that of SQL: for example usage: taskDefinitionKeyLike("%test%"). The task definition key is the id of the userTask: <userTask id="xxx" .../>- Specified by:
taskDefinitionKeyLike
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskDefinitionKeys
Description copied from interface:TaskInfoQuery
Only select tasks with the given taskDefinitionKeys. The task definition key is the id of the userTask: <userTask id="xxx" .../>- Specified by:
taskDefinitionKeys
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskPriority
Description copied from interface:TaskInfoQuery
Only select tasks with the given priority.- Specified by:
taskPriority
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskMinPriority
Description copied from interface:TaskInfoQuery
Only select tasks with the given priority or higher.- Specified by:
taskMinPriority
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskMaxPriority
Description copied from interface:TaskInfoQuery
Only select tasks with the given priority or lower.- Specified by:
taskMaxPriority
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
processFinished
Description copied from interface:HistoricTaskInstanceQuery
Only select historic task instances which are part of a process instance which is already finished.- Specified by:
processFinished
in interfaceHistoricTaskInstanceQuery
-
processUnfinished
Description copied from interface:HistoricTaskInstanceQuery
Only select historic task instances which are part of a process instance which is not finished yet.- Specified by:
processUnfinished
in interfaceHistoricTaskInstanceQuery
-
ensureVariablesInitialized
protected void ensureVariablesInitialized()- Overrides:
ensureVariablesInitialized
in classAbstractVariableQueryImpl<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskState
Description copied from interface:TaskInfoQuery
Only select tasks with the given state.- Specified by:
taskState
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskCreatedOn
Description copied from interface:TaskInfoQuery
Only select tasks that are created on the given date.- Specified by:
taskCreatedOn
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskCreatedBefore
Description copied from interface:TaskInfoQuery
Only select tasks that are created before the given date.- Specified by:
taskCreatedBefore
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskCreatedAfter
Description copied from interface:TaskInfoQuery
Only select tasks that are created after the given date.- Specified by:
taskCreatedAfter
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskInProgressStartTimeOn
Description copied from interface:TaskInfoQuery
Only select tasks that are started in progress on the given date.- Specified by:
taskInProgressStartTimeOn
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskInProgressStartTimeBefore
Description copied from interface:TaskInfoQuery
Only select tasks that are started in progress before the given date.- Specified by:
taskInProgressStartTimeBefore
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskInProgressStartTimeAfter
Description copied from interface:TaskInfoQuery
Only select tasks that are started in progress after the given date.- Specified by:
taskInProgressStartTimeAfter
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskInProgressStartedBy
Description copied from interface:TaskInfoQuery
Select all tasks that have an in progress started user reference for the given value.- Specified by:
taskInProgressStartedBy
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskClaimedOn
Description copied from interface:TaskInfoQuery
Only select tasks that are claimed on the given date.- Specified by:
taskClaimedOn
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskClaimedBefore
Description copied from interface:TaskInfoQuery
Only select tasks that are claimed before the given date.- Specified by:
taskClaimedBefore
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskClaimedAfter
Description copied from interface:TaskInfoQuery
Only select tasks that are claimed after the given date.- Specified by:
taskClaimedAfter
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskClaimedBy
Description copied from interface:TaskInfoQuery
Select all tasks that have a claimed by user reference for the given value.- Specified by:
taskClaimedBy
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskSuspendedOn
Description copied from interface:TaskInfoQuery
Only select tasks that are suspended on the given date.- Specified by:
taskSuspendedOn
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskSuspendedBefore
Description copied from interface:TaskInfoQuery
Only select tasks that are suspended before the given date.- Specified by:
taskSuspendedBefore
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskSuspendedAfter
Description copied from interface:TaskInfoQuery
Only select tasks that are suspended after the given date.- Specified by:
taskSuspendedAfter
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskSuspendedBy
Description copied from interface:TaskInfoQuery
Select all tasks that have a suspended by user reference for the given value.- Specified by:
taskSuspendedBy
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskCompletedOn
Description copied from interface:HistoricTaskInstanceQuery
Only select historic task instances which are completed on the given date- Specified by:
taskCompletedOn
in interfaceHistoricTaskInstanceQuery
-
taskCompletedBefore
Description copied from interface:HistoricTaskInstanceQuery
Only select historic task instances which are completed before the given date- Specified by:
taskCompletedBefore
in interfaceHistoricTaskInstanceQuery
-
taskCompletedAfter
Description copied from interface:HistoricTaskInstanceQuery
Only select historic task instances which are completed after the given date- Specified by:
taskCompletedAfter
in interfaceHistoricTaskInstanceQuery
-
taskCompletedBy
Description copied from interface:HistoricTaskInstanceQuery
Only select historic task instances which are completed by the given user- Specified by:
taskCompletedBy
in interfaceHistoricTaskInstanceQuery
-
taskInProgressStartDueDate
Description copied from interface:TaskInfoQuery
Only select tasks with the given in progress start due date.- Specified by:
taskInProgressStartDueDate
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskInProgressStartDueBefore
Description copied from interface:TaskInfoQuery
Only select tasks which have an in progress start due date before the given date.- Specified by:
taskInProgressStartDueBefore
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskInProgressStartDueAfter
Description copied from interface:TaskInfoQuery
Only select tasks which have an in progress start due date after the given date.- Specified by:
taskInProgressStartDueAfter
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
withoutTaskInProgressStartDueDate
Description copied from interface:TaskInfoQuery
Only select tasks with no in progress start due date.- Specified by:
withoutTaskInProgressStartDueDate
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskDueDate
Description copied from interface:TaskInfoQuery
Only select tasks with the given due date.- Specified by:
taskDueDate
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskDueBefore
Description copied from interface:TaskInfoQuery
Only select tasks which have a due date before the given date.- Specified by:
taskDueBefore
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskDueAfter
Description copied from interface:TaskInfoQuery
Only select tasks which have a due date after the given date.- Specified by:
taskDueAfter
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
withoutTaskDueDate
Description copied from interface:TaskInfoQuery
Only select tasks with no due date.- Specified by:
withoutTaskDueDate
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskCategory
Description copied from interface:TaskInfoQuery
Only select tasks with the given category.- Specified by:
taskCategory
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskCategoryIn
Description copied from interface:TaskInfoQuery
Only select tasks belonging to one of the categories in the given list.- Specified by:
taskCategoryIn
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskCategoryNotIn
Description copied from interface:TaskInfoQuery
Only select tasks with a defined category which do not belong to a category present in the given list.NOTE: This method does not return tasks without category e.g. tasks having a
null
category. To includenull
categories, usequery.or().taskCategoryNotIn(...).taskWithoutCategory().endOr()
- Specified by:
taskCategoryNotIn
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance> - See Also:
-
checkTaskCategoryList
-
taskWithoutCategory
Description copied from interface:TaskInfoQuery
Selects tasks without category.Can also be used in conjunction with other filter criteria to include tasks without category e.g. in
or
queries.- Specified by:
taskWithoutCategory
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance> - See Also:
-
taskWithFormKey
Description copied from interface:TaskInfoQuery
Only select tasks with form key.- Specified by:
taskWithFormKey
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskFormKey
Description copied from interface:TaskInfoQuery
Only select tasks with the given formKey.- Specified by:
taskFormKey
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskCandidateUser
Description copied from interface:TaskInfoQuery
Only select tasks for which the given user is a candidate.- Specified by:
taskCandidateUser
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskCandidateGroup
Description copied from interface:TaskInfoQuery
Only select tasks for which users in the given group are candidates.- Specified by:
taskCandidateGroup
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskCandidateGroupIn
Description copied from interface:TaskInfoQuery
Only select tasks for which the 'candidateGroup' is one of the given groups.- Specified by:
taskCandidateGroupIn
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskInvolvedUser
Description copied from interface:TaskInfoQuery
Only select tasks for which there exist anIdentityLink
with the given user, including tasks which have been assigned to the given user (assignee) or owned by the given user (owner).- Specified by:
taskInvolvedUser
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskInvolvedGroups
Description copied from interface:TaskInfoQuery
Only select tasks for which there exist anIdentityLink
with the given Groups.- Specified by:
taskInvolvedGroups
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
ignoreAssigneeValue
Description copied from interface:TaskInfoQuery
Allows to select a task usingTaskInfoQuery.taskCandidateGroup(String)
TaskInfoQuery.taskCandidateGroupIn(Collection)
orTaskInfoQuery.taskCandidateUser(String)
but ignore the assignee value instead of querying for an empty assignee.- Specified by:
ignoreAssigneeValue
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskTenantId
Description copied from interface:TaskInfoQuery
Only select tasks that have the given tenant id.- Specified by:
taskTenantId
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskTenantIdLike
Description copied from interface:TaskInfoQuery
Only select tasks with a tenant id like the given one.- Specified by:
taskTenantIdLike
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskWithoutTenantId
Description copied from interface:TaskInfoQuery
Only select tasks that do not have a tenant id.- Specified by:
taskWithoutTenantId
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
taskWithoutDeleteReason
Description copied from interface:HistoricTaskInstanceQuery
Only select historic tasks without a delete reason (completed normally)- Specified by:
taskWithoutDeleteReason
in interfaceHistoricTaskInstanceQuery
-
locale
Description copied from interface:TaskInfoQuery
Localize task name and description to specified locale.- Specified by:
locale
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
withLocalizationFallback
Description copied from interface:TaskInfoQuery
Instruct localization to fallback to more general locales including the default locale of the JVM if the specified locale is not found.- Specified by:
withLocalizationFallback
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
includeTaskLocalVariables
Description copied from interface:TaskInfoQuery
Include local task variables in the task query result- Specified by:
includeTaskLocalVariables
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
includeProcessVariables
Description copied from interface:TaskInfoQuery
Include global process variables in the task query result- Specified by:
includeProcessVariables
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
includeCaseVariables
Description copied from interface:TaskInfoQuery
Include global case variables in the task query result- Specified by:
includeCaseVariables
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
includeIdentityLinks
Description copied from interface:TaskInfoQuery
Include identity links in the task query result- Specified by:
includeIdentityLinks
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
or
Description copied from interface:TaskInfoQuery
All query clauses called will be added to a single or-statement. This or-statement will be included with the other already existing clauses in the query, joined by an 'and'.Calling endOr() will add all clauses to the regular query again. Calling or() after or() has been called or calling endOr() after endOr() has been called will result in an exception. It is possible to call or() endOr() several times if each or() has a matching endOr(), e.g.:
query.<ConditionA>
.or().<conditionB>.<conditionC>.endOr()
.<conditionD>.<conditionE>
.or().<conditionF>.<conditionG>.endOr()
will result in: conditionA & (conditionB | conditionC) & conditionD & conditionE & (conditionF | conditionG)
- Specified by:
or
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
endOr
- Specified by:
endOr
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
orderByTaskId
Description copied from interface:TaskInfoQuery
Order by task id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByTaskId
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
orderByHistoricActivityInstanceId
Description copied from interface:HistoricTaskInstanceQuery
Order by the historic activity instance id this task was used in (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByHistoricActivityInstanceId
in interfaceHistoricTaskInstanceQuery
-
orderByProcessDefinitionId
Description copied from interface:TaskInfoQuery
Order by process definition id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByProcessDefinitionId
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
orderByProcessInstanceId
Description copied from interface:TaskInfoQuery
Order by process instance id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByProcessInstanceId
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
orderByExecutionId
Description copied from interface:TaskInfoQuery
Order by execution id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByExecutionId
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
orderByHistoricTaskInstanceDuration
Description copied from interface:HistoricTaskInstanceQuery
Order by duration (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByHistoricTaskInstanceDuration
in interfaceHistoricTaskInstanceQuery
-
orderByHistoricTaskInstanceEndTime
Description copied from interface:HistoricTaskInstanceQuery
Order by end time (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByHistoricTaskInstanceEndTime
in interfaceHistoricTaskInstanceQuery
-
orderByHistoricActivityInstanceStartTime
-
orderByHistoricTaskInstanceStartTime
Description copied from interface:HistoricTaskInstanceQuery
Order by start time (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByHistoricTaskInstanceStartTime
in interfaceHistoricTaskInstanceQuery
-
orderByTaskCreateTime
Description copied from interface:TaskInfoQuery
Order by the time on which the tasks were created (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByTaskCreateTime
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
orderByTaskName
Description copied from interface:TaskInfoQuery
Order by task name (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByTaskName
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
orderByTaskDescription
Description copied from interface:TaskInfoQuery
Order by description (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByTaskDescription
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
orderByTaskAssignee
Description copied from interface:TaskInfoQuery
Order by assignee (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByTaskAssignee
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
orderByTaskOwner
Description copied from interface:TaskInfoQuery
Order by task owner (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByTaskOwner
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
orderByTaskDueDate
Description copied from interface:TaskInfoQuery
Order by task due date (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByTaskDueDate
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
orderByDueDateNullsFirst
Description copied from interface:TaskInfoQuery
Order by due date (needs to be followed byQuery.asc()
orQuery.desc()
). If any of the tasks have null for the due date, these will be first in the result.- Specified by:
orderByDueDateNullsFirst
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
orderByDueDateNullsLast
Description copied from interface:TaskInfoQuery
Order by due date (needs to be followed byQuery.asc()
orQuery.desc()
). If any of the tasks have null for the due date, these will be last in the result.- Specified by:
orderByDueDateNullsLast
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
orderByCategory
Description copied from interface:TaskInfoQuery
Order by category (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByCategory
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
orderByDeleteReason
Description copied from interface:HistoricTaskInstanceQuery
Order by task delete reason (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByDeleteReason
in interfaceHistoricTaskInstanceQuery
-
orderByTaskDefinitionKey
Description copied from interface:TaskInfoQuery
Order by task definition key (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByTaskDefinitionKey
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
orderByTaskPriority
Description copied from interface:TaskInfoQuery
Order by priority (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByTaskPriority
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
orderByTenantId
Description copied from interface:TaskInfoQuery
Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByTenantId
in interfaceTaskInfoQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
getCandidateGroups
-
getGroupsForCandidateUser
-
delete
public void delete()Description copied from interface:DeleteQuery
Delete all instances that match the query.- Specified by:
delete
in interfaceDeleteQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
deleteWithRelatedData
Deprecated.Description copied from interface:DeleteQuery
Delete all instances and their related data that match the query in bulk. Note that only the historical data directly related to the instance will be deleted. This means that for example for historic case/process instances, it will not delete any associated historic case/process instance (these should be deleted through the respective deletion for the particular model) which is owned by another engine (e.g. a process for the cmmn engine). Use the specific deletion methods on the respective history services otherwise: they delete with cascading to all other engines, but are not as performant as the bulk delete here.- Specified by:
deleteWithRelatedData
in interfaceDeleteQuery<HistoricTaskInstanceQuery,
HistoricTaskInstance>
-
getProcessInstanceId
-
getProcessInstanceIds
-
isWithoutProcessInstanceId
public boolean isWithoutProcessInstanceId() -
getProcessInstanceBusinessKey
-
getExecutionId
-
getScopeId
-
isWithoutScopeId
public boolean isWithoutScopeId() -
getSubScopeId
-
getScopeType
-
getScopeDefinitionId
-
getPropagatedStageInstanceId
-
getTaskDefinitionId
-
getProcessDefinitionId
-
getProcessDefinitionKey
-
getProcessDefinitionKeyLike
-
getProcessDefinitionKeys
-
getProcessDefinitionName
-
getProcessDefinitionNameLike
-
getProcessCategoryInList
-
getProcessCategoryNotInList
-
getDeploymentId
-
getDeploymentIds
-
getCmmnDeploymentId
-
getCmmnDeploymentIds
-
getProcessInstanceBusinessKeyLike
-
getTaskDefinitionKeyLike
-
getProcessInstanceIdWithChildren
-
getCaseInstanceIdWithChildren
-
getTaskPriority
-
getTaskMinPriority
-
getTaskMaxPriority
-
isProcessFinished
public boolean isProcessFinished() -
isProcessUnfinished
public boolean isProcessUnfinished() -
getDueDate
-
getDueAfter
-
getDueBefore
-
isWithoutDueDate
public boolean isWithoutDueDate() -
getCreateTime
-
getCreateTimeBefore
-
getCreateTimeAfter
-
getCompletedTime
-
getCompletedTimeBefore
-
getCompletedTimeAfter
-
getCategory
-
getCategoryInList
-
getCategoryNotInList
-
isWithoutCategory
public boolean isWithoutCategory() -
isWithFormKey
public boolean isWithFormKey() -
getFormKey
-
getTenantId
-
getTenantIdLike
-
isWithoutTenantId
public boolean isWithoutTenantId() -
isIncludeTaskLocalVariables
public boolean isIncludeTaskLocalVariables() -
isIncludeProcessVariables
public boolean isIncludeProcessVariables() -
isIncludeIdentityLinks
public boolean isIncludeIdentityLinks() -
isInOrStatement
public boolean isInOrStatement() -
isFinished
public boolean isFinished() -
isUnfinished
public boolean isUnfinished() -
getTaskName
-
getTaskNameLike
-
getTaskNameList
-
getTaskNameListIgnoreCase
-
getTaskDescription
-
getTaskDescriptionLike
-
getTaskDeleteReason
-
getTaskDeleteReasonLike
-
getTaskAssignee
-
getTaskAssigneeLike
-
isWithAssignee
public boolean isWithAssignee() -
isWithoutAssignee
public boolean isWithoutAssignee() -
getTaskAssigneeIds
-
getTaskId
-
getTaskIds
-
getId
- Specified by:
getId
in interfaceCacheAwareQuery<HistoricTaskInstanceEntity>
-
getTaskDefinitionKey
-
getTaskOwnerLike
-
getTaskOwner
-
getTaskDefinitionKeys
-
getTaskParentTaskId
-
getCandidateUser
-
getCandidateGroup
-
getInvolvedUser
-
getInvolvedGroups
-
isIgnoreAssigneeValue
public boolean isIgnoreAssigneeValue() -
getProcessDefinitionKeyLikeIgnoreCase
-
getProcessInstanceBusinessKeyLikeIgnoreCase
-
getTaskNameLikeIgnoreCase
-
getTaskDescriptionLikeIgnoreCase
-
getTaskOwnerLikeIgnoreCase
-
getTaskAssigneeLikeIgnoreCase
-
isWithoutDeleteReason
public boolean isWithoutDeleteReason() -
getLocale
-
getCaseDefinitionKey
-
getCaseDefinitionKeyLike
-
getCaseDefinitionKeyLikeIgnoreCase
-
getCaseDefinitionKeys
-
isWithLocalizationFallback
public boolean isWithLocalizationFallback() -
getOrQueryObjects
-
getSafeCandidateGroups
-
setSafeCandidateGroups
-
getSafeInvolvedGroups
-
setSafeInvolvedGroups
-