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.ResultTypeNested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
Query.NullHandlingOnOrder -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Collection<String>protected Stringprotected Stringprotected Stringprotected Stringprotected Collection<String>protected Stringprotected Stringprotected Collection<String>protected Collection<String>protected Stringprotected Dateprotected Dateprotected Dateprotected Stringprotected Collection<String>protected Stringprotected Dateprotected Dateprotected Dateprotected Dateprotected Dateprotected Dateprotected HistoricTaskInstanceQueryImplprotected Stringprotected Collection<String>protected Dateprotected Dateprotected Dateprotected Stringprotected booleanprotected Stringprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected Dateprotected Dateprotected Dateprotected Stringprotected Dateprotected Dateprotected Dateprotected Collection<String>protected Stringprotected Stringprotected List<HistoricTaskInstanceQueryImpl>protected Stringprotected Collection<String>protected Collection<String>protected Stringprotected Stringprotected Stringprotected Stringprotected Collection<String>protected Stringprotected Stringprotected booleanprotected Stringprotected Stringprotected Stringprotected Stringprotected Collection<String>protected Stringprotected booleanprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Dateprotected Dateprotected Dateprotected Stringprotected Collection<String>protected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Collection<String>protected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Collection<String>protected Integerprotected Integerprotected Stringprotected Stringprotected Stringprotected Collection<String>protected Collection<String>protected Stringprotected Stringprotected Stringprotected Stringprotected Integerprotected TaskServiceConfigurationprotected Stringprotected Stringprotected booleanprotected VariableServiceConfigurationprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected booleanFields inherited from class org.flowable.variable.service.impl.AbstractVariableQueryImpl
queryVariableValues, variableValueProviderFields inherited from class org.flowable.common.engine.impl.query.AbstractQuery
commandContext, commandExecutorFields 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 voidaddCachedVariableForQueryById(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 andSerializableobjects (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 voidcheckTaskCategoryList(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.voiddelete()Delete all instances that match the query.voidDeprecated.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()voidprotected voidlongexecuteCount(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 resultbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanLocalize 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 andSerializableobjects (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.voidsetSafeCandidateGroups(List<List<String>> safeCandidateGroups) voidsetSafeInvolvedGroups(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 anIdentityLinkwith the given Groups.taskInvolvedUser(String involvedUser) Only select tasks for which there exist anIdentityLinkwith 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 andSerializableobjects (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, variableValueNotEqualsIgnoreCaseMethods inherited from class org.flowable.common.engine.impl.query.AbstractQuery
asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, list, listPage, orderBy, orderBy, setCommandExecutor, singleResultMethods 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:
executeCountin classAbstractVariableQueryImpl<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
executeList
Description copied from class:AbstractQueryExecutes the actual query to retrieve the list of results.- Specified by:
executeListin classAbstractVariableQueryImpl<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
addCachedVariableForQueryById
protected void addCachedVariableForQueryById(CommandContext commandContext, List<HistoricTaskInstance> results, boolean local) -
enhanceCachedValue
- Specified by:
enhanceCachedValuein interfaceCacheAwareQuery<HistoricTaskInstanceEntity>
-
processInstanceId
Description copied from interface:TaskInfoQueryOnly select tasks for the given process instance id.- Specified by:
processInstanceIdin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
processInstanceIdIn
Description copied from interface:TaskInfoQueryOnly select tasks for the given process ids.- Specified by:
processInstanceIdInin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
withoutProcessInstanceId
Description copied from interface:TaskInfoQueryOnly select tasks without a process instance id.- Specified by:
withoutProcessInstanceIdin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
processInstanceBusinessKey
Description copied from interface:TaskInfoQueryOnly select tasks for the given business key- Specified by:
processInstanceBusinessKeyin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
processInstanceBusinessKeyLike
public HistoricTaskInstanceQueryImpl processInstanceBusinessKeyLike(String processInstanceBusinessKeyLike) Description copied from interface:TaskInfoQueryOnly select tasks with a business key like the given value The syntax is that of SQL: for example usage: processInstanceBusinessKeyLike("%test%").- Specified by:
processInstanceBusinessKeyLikein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
processInstanceBusinessKeyLikeIgnoreCase
public HistoricTaskInstanceQuery processInstanceBusinessKeyLikeIgnoreCase(String processInstanceBusinessKeyLikeIgnoreCase) Description copied from interface:TaskInfoQueryOnly 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:
processInstanceBusinessKeyLikeIgnoreCasein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
executionId
Description copied from interface:TaskInfoQueryOnly select tasks for the given execution.- Specified by:
executionIdin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
caseInstanceId
Description copied from interface:TaskInfoQueryOnly select tasks for the given case instance.- Specified by:
caseInstanceIdin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
caseDefinitionId
Description copied from interface:TaskInfoQueryOnly select tasks for the given case definition.- Specified by:
caseDefinitionIdin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
caseDefinitionKey
Description copied from interface:TaskInfoQueryOnly select tasks which are part of a case instance which has the given case definition key.- Specified by:
caseDefinitionKeyin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
caseDefinitionKeyLike
Description copied from interface:TaskInfoQueryOnly 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:
caseDefinitionKeyLikein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
caseDefinitionKeyLikeIgnoreCase
public HistoricTaskInstanceQueryImpl caseDefinitionKeyLikeIgnoreCase(String caseDefinitionKeyLikeIgnoreCase) Description copied from interface:TaskInfoQueryOnly 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:
caseDefinitionKeyLikeIgnoreCasein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
caseDefinitionKeyIn
Description copied from interface:TaskInfoQueryOnly select tasks that have a case definition for which the key is present in the given list- Specified by:
caseDefinitionKeyInin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
processInstanceIdWithChildren
Description copied from interface:TaskInfoQuerySelect all tasks for the given process instance id and its children.- Specified by:
processInstanceIdWithChildrenin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
caseInstanceIdWithChildren
Description copied from interface:TaskInfoQuerySelect all tasks for the given case instance id and its children.- Specified by:
caseInstanceIdWithChildrenin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
planItemInstanceId
Description copied from interface:TaskInfoQueryOnly select tasks for the given plan item instance.- Specified by:
planItemInstanceIdin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
scopeId
Description copied from interface:TaskInfoQueryOnly select tasks for the given scope identifier.- Specified by:
scopeIdin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
subScopeId
Description copied from interface:TaskInfoQueryOnly select tasks for the given sub scope identifier.- Specified by:
subScopeIdin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
scopeType
Description copied from interface:TaskInfoQueryOnly select tasks for the given scope type.- Specified by:
scopeTypein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
scopeDefinitionId
Description copied from interface:TaskInfoQueryOnly select tasks for the given scope definition identifier.- Specified by:
scopeDefinitionIdin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
withoutScopeId
Description copied from interface:TaskInfoQueryOnly select tasks which don't have a scope id set.- Specified by:
withoutScopeIdin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
propagatedStageInstanceId
Description copied from interface:TaskInfoQueryOnly select tasks for the given stage, defined through its stage instance id.- Specified by:
propagatedStageInstanceIdin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskDefinitionId
Description copied from interface:TaskInfoQueryOnly select tasks which created from the given task definition referenced by id.- Specified by:
taskDefinitionIdin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
processDefinitionId
Description copied from interface:TaskInfoQueryOnly select tasks which are part of a process instance which has the given process definition id.- Specified by:
processDefinitionIdin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
processDefinitionKey
Description copied from interface:TaskInfoQueryOnly select tasks which are part of a process instance which has the given process definition key.- Specified by:
processDefinitionKeyin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
processDefinitionKeyLike
Description copied from interface:TaskInfoQueryOnly 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:
processDefinitionKeyLikein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
processDefinitionKeyLikeIgnoreCase
public HistoricTaskInstanceQuery processDefinitionKeyLikeIgnoreCase(String processDefinitionKeyLikeIgnoreCase) Description copied from interface:TaskInfoQueryOnly 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:
processDefinitionKeyLikeIgnoreCasein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
processDefinitionKeyIn
Description copied from interface:TaskInfoQueryOnly select tasks that have a process definition for which the key is present in the given list- Specified by:
processDefinitionKeyInin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
processDefinitionName
Description copied from interface:TaskInfoQueryOnly select tasks which are part of a process instance which has the given process definition name.- Specified by:
processDefinitionNamein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
processDefinitionNameLike
Description copied from interface:TaskInfoQueryOnly 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:
processDefinitionNameLikein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
processCategoryIn
Description copied from interface:TaskInfoQueryOnly select tasks which are part of a process instance whose definition belongs to the category which is present in the given list.- Specified by:
processCategoryInin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
processCategoryNotIn
Description copied from interface:TaskInfoQueryOnly 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:
processCategoryNotInin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
deploymentId
Description copied from interface:TaskInfoQueryOnly select tasks which are part of a process instance which has the given deployment id.- Specified by:
deploymentIdin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
deploymentIdIn
Description copied from interface:TaskInfoQueryOnly select tasks which are part of a process instance which has the given deployment id.- Specified by:
deploymentIdInin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
cmmnDeploymentId
Description copied from interface:TaskInfoQueryOnly select tasks which are related to a case instance for to the given deployment id.- Specified by:
cmmnDeploymentIdin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
cmmnDeploymentIdIn
Description copied from interface:TaskInfoQueryOnly select tasks which are related to a case instances for the given deployment id.- Specified by:
cmmnDeploymentIdInin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskId
Description copied from interface:TaskInfoQueryOnly select tasks with the given task id (in practice, there will be maximum one of this kind)- Specified by:
taskIdin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskIds
Description copied from interface:TaskInfoQueryOnly select tasks with an id that is in the given list- Specified by:
taskIdsin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskName
Description copied from interface:TaskInfoQueryOnly select tasks with the given name- Specified by:
taskNamein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskNameIn
Description copied from interface:TaskInfoQueryOnly select tasks with a name that is in the given list- Specified by:
taskNameInin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskNameInIgnoreCase
Description copied from interface:TaskInfoQueryOnly 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:
taskNameInIgnoreCasein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskNameLike
Description copied from interface:TaskInfoQueryOnly select tasks with a name matching the parameter. The syntax is that of SQL: for example usage: nameLike(%test%)- Specified by:
taskNameLikein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskNameLikeIgnoreCase
Description copied from interface:TaskInfoQueryOnly 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:
taskNameLikeIgnoreCasein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskParentTaskId
Description copied from interface:HistoricTaskInstanceQueryOnly select subtasks of the given parent task- Specified by:
taskParentTaskIdin interfaceHistoricTaskInstanceQuery
-
taskDescription
Description copied from interface:TaskInfoQueryOnly select tasks with the given description.- Specified by:
taskDescriptionin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskDescriptionLike
Description copied from interface:TaskInfoQueryOnly select tasks with a description matching the parameter . The syntax is that of SQL: for example usage: descriptionLike(%test%)- Specified by:
taskDescriptionLikein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskDescriptionLikeIgnoreCase
public HistoricTaskInstanceQuery taskDescriptionLikeIgnoreCase(String taskDescriptionLikeIgnoreCase) Description copied from interface:TaskInfoQueryOnly 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:
taskDescriptionLikeIgnoreCasein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskDeleteReason
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances with the given task delete reason.- Specified by:
taskDeleteReasonin interfaceHistoricTaskInstanceQuery
-
taskDeleteReasonLike
Description copied from interface:HistoricTaskInstanceQueryOnly 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:
taskDeleteReasonLikein interfaceHistoricTaskInstanceQuery
-
taskAssignee
Description copied from interface:TaskInfoQueryOnly select tasks which are assigned to the given user.- Specified by:
taskAssigneein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskAssigneeLike
Description copied from interface:TaskInfoQueryOnly 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:
taskAssigneeLikein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskAssigneeLikeIgnoreCase
Description copied from interface:TaskInfoQueryOnly 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:
taskAssigneeLikeIgnoreCasein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskUnassigned
Description copied from interface:TaskInfoQueryOnly select tasks which don't have an assignee.- Specified by:
taskUnassignedin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskAssigned
Description copied from interface:TaskInfoQueryOnly select tasks which are assigned to any user- Specified by:
taskAssignedin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskAssigneeIds
Description copied from interface:TaskInfoQueryOnly select tasks with an assignee that is in the given list- Specified by:
taskAssigneeIdsin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskOwner
Description copied from interface:TaskInfoQueryOnly select tasks for which the given user is the owner.- Specified by:
taskOwnerin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskOwnerLike
Description copied from interface:TaskInfoQueryOnly 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:
taskOwnerLikein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskOwnerLikeIgnoreCase
Description copied from interface:TaskInfoQueryOnly 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:
taskOwnerLikeIgnoreCasein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
finished
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances which are finished.- Specified by:
finishedin interfaceHistoricTaskInstanceQuery
-
unfinished
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances which aren't finished yet.- Specified by:
unfinishedin interfaceHistoricTaskInstanceQuery
-
taskVariableValueEquals
Description copied from interface:TaskInfoQueryOnly select tasks which have a local task variable with the given name set to the given value.- Specified by:
taskVariableValueEqualsin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskVariableValueEquals
Description copied from interface:TaskInfoQueryOnly select tasks which have at least one local task variable with the given value.- Specified by:
taskVariableValueEqualsin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskVariableValueEqualsIgnoreCase
Description copied from interface:TaskInfoQueryOnly 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:
taskVariableValueEqualsIgnoreCasein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskVariableValueNotEqualsIgnoreCase
Description copied from interface:TaskInfoQueryOnly 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:
taskVariableValueNotEqualsIgnoreCasein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskVariableValueNotEquals
public HistoricTaskInstanceQuery taskVariableValueNotEquals(String variableName, Object variableValue) Description copied from interface:TaskInfoQueryOnly select tasks which have a local task variable with the given name, but with a different value than the passed value. Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
taskVariableValueNotEqualsin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskVariableValueGreaterThan
Description copied from interface:TaskInfoQueryOnly select tasks which have a local variable value greater than the passed value when they ended. Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
taskVariableValueGreaterThanin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance> - Parameters:
name- cannot be null.value- cannot be null.
-
taskVariableValueGreaterThanOrEqual
Description copied from interface:TaskInfoQueryOnly select tasks which have a local variable value greater than or equal to the passed value when they ended. Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
taskVariableValueGreaterThanOrEqualin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance> - Parameters:
name- cannot be null.value- cannot be null.
-
taskVariableValueLessThan
Description copied from interface:TaskInfoQueryOnly select tasks which have a local variable value less than the passed value when the ended.Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
taskVariableValueLessThanin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance> - Parameters:
name- cannot be null.value- cannot be null.
-
taskVariableValueLessThanOrEqual
Description copied from interface:TaskInfoQueryOnly select tasks which have a local variable value less than or equal to the passed value when they ended. Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
taskVariableValueLessThanOrEqualin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance> - Parameters:
name- cannot be null.value- cannot be null.
-
taskVariableValueLike
Description copied from interface:TaskInfoQueryOnly 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:
taskVariableValueLikein 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:TaskInfoQueryOnly 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:
taskVariableValueLikeIgnoreCasein 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:TaskInfoQueryOnly select tasks which have a local variable with the given name.- Specified by:
taskVariableExistsin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance> - Parameters:
name- cannot be null.
-
taskVariableNotExists
Description copied from interface:TaskInfoQueryOnly select tasks which does not have a local variable with the given name.- Specified by:
taskVariableNotExistsin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance> - Parameters:
name- cannot be null.
-
processVariableValueEquals
public HistoricTaskInstanceQuery processVariableValueEquals(String variableName, Object variableValue) Description copied from interface:TaskInfoQueryOnly select tasks which are part of a process that has a variable with the given name set to the given value.- Specified by:
processVariableValueEqualsin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
processVariableValueNotEquals
public HistoricTaskInstanceQuery processVariableValueNotEquals(String variableName, Object variableValue) Description copied from interface:TaskInfoQueryOnly select tasks which have a variable with the given name, but with a different value than the passed value. Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
processVariableValueNotEqualsin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
processVariableValueEquals
Description copied from interface:TaskInfoQueryOnly select tasks which are part of a process that has at least one variable with the given value.- Specified by:
processVariableValueEqualsin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
processVariableValueEqualsIgnoreCase
Description copied from interface:TaskInfoQueryOnly 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:
processVariableValueEqualsIgnoreCasein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
processVariableValueNotEqualsIgnoreCase
Description copied from interface:TaskInfoQueryOnly 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:
processVariableValueNotEqualsIgnoreCasein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
processVariableValueGreaterThan
Description copied from interface:TaskInfoQueryOnly select tasks which have a global variable value greater than the passed value when they ended. Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
processVariableValueGreaterThanin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance> - Parameters:
name- cannot be null.value- cannot be null.
-
processVariableValueGreaterThanOrEqual
Description copied from interface:TaskInfoQueryOnly select tasks which have a global variable value greater than or equal to the passed value when they ended. Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
processVariableValueGreaterThanOrEqualin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance> - Parameters:
name- cannot be null.value- cannot be null.
-
processVariableValueLessThan
Description copied from interface:TaskInfoQueryOnly select tasks which have a global variable value less than the passed value when the ended.Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
processVariableValueLessThanin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance> - Parameters:
name- cannot be null.value- cannot be null.
-
processVariableValueLessThanOrEqual
Description copied from interface:TaskInfoQueryOnly select tasks which have a global variable value less than or equal to the passed value when they ended. Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
processVariableValueLessThanOrEqualin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance> - Parameters:
name- cannot be null.value- cannot be null.
-
processVariableValueLike
Description copied from interface:TaskInfoQueryOnly 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:
processVariableValueLikein 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:TaskInfoQueryOnly 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:
processVariableValueLikeIgnoreCasein 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:TaskInfoQueryOnly select tasks which have a global variable with the given name.- Specified by:
processVariableExistsin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance> - Parameters:
name- cannot be null.
-
processVariableNotExists
Description copied from interface:TaskInfoQueryOnly select tasks which does not have a global variable with the given name.- Specified by:
processVariableNotExistsin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance> - Parameters:
name- cannot be null.
-
caseVariableValueEquals
Description copied from interface:TaskInfoQueryOnly select tasks which are part of a case that has a variable with the given name set to the given value.- Specified by:
caseVariableValueEqualsin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
caseVariableValueEquals
Description copied from interface:TaskInfoQueryOnly select tasks which are part of a case that has at least one variable with the given value.- Specified by:
caseVariableValueEqualsin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
caseVariableValueEqualsIgnoreCase
Description copied from interface:TaskInfoQueryOnly 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:
caseVariableValueEqualsIgnoreCasein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
caseVariableValueNotEquals
public HistoricTaskInstanceQuery caseVariableValueNotEquals(String variableName, Object variableValue) Description copied from interface:TaskInfoQueryOnly select tasks which have a variable with the given name, but with a different value than the passed value. Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
caseVariableValueNotEqualsin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
caseVariableValueNotEqualsIgnoreCase
Description copied from interface:TaskInfoQueryOnly 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:
caseVariableValueNotEqualsIgnoreCasein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
caseVariableValueGreaterThan
Description copied from interface:TaskInfoQueryOnly select tasks which have a global variable value greater than the passed value when they ended. Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
caseVariableValueGreaterThanin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance> - Parameters:
name- cannot be null.value- cannot be null.
-
caseVariableValueGreaterThanOrEqual
Description copied from interface:TaskInfoQueryOnly select tasks which have a global variable value greater than or equal to the passed value when they ended. Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
caseVariableValueGreaterThanOrEqualin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance> - Parameters:
name- cannot be null.value- cannot be null.
-
caseVariableValueLessThan
Description copied from interface:TaskInfoQueryOnly select tasks which have a global variable value less than the passed value when the ended.Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
caseVariableValueLessThanin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance> - Parameters:
name- cannot be null.value- cannot be null.
-
caseVariableValueLessThanOrEqual
Description copied from interface:TaskInfoQueryOnly select tasks which have a global variable value less than or equal to the passed value when they ended. Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
caseVariableValueLessThanOrEqualin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance> - Parameters:
name- cannot be null.value- cannot be null.
-
caseVariableValueLike
Description copied from interface:TaskInfoQueryOnly 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:
caseVariableValueLikein 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:TaskInfoQueryOnly 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:
caseVariableValueLikeIgnoreCasein 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:TaskInfoQueryOnly select tasks which have a global variable with the given name.- Specified by:
caseVariableExistsin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance> - Parameters:
name- cannot be null.
-
caseVariableNotExists
Description copied from interface:TaskInfoQueryOnly select tasks which does not have a global variable with the given name.- Specified by:
caseVariableNotExistsin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance> - Parameters:
name- cannot be null.
-
taskRootScopeId
Description copied from interface:TaskInfoQueryOnly selects tasks which with the given root scope id- Specified by:
taskRootScopeIdin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskParentScopeId
Description copied from interface:TaskInfoQueryOnly selects tasks which with the given parent scope id- Specified by:
taskParentScopeIdin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskDefinitionKey
Description copied from interface:TaskInfoQueryOnly select tasks with the given taskDefinitionKey. The task definition key is the id of the userTask: <userTask id="xxx" .../>- Specified by:
taskDefinitionKeyin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskDefinitionKeyLike
Description copied from interface:TaskInfoQueryOnly 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:
taskDefinitionKeyLikein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskDefinitionKeys
Description copied from interface:TaskInfoQueryOnly select tasks with the given taskDefinitionKeys. The task definition key is the id of the userTask: <userTask id="xxx" .../>- Specified by:
taskDefinitionKeysin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskPriority
Description copied from interface:TaskInfoQueryOnly select tasks with the given priority.- Specified by:
taskPriorityin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskMinPriority
Description copied from interface:TaskInfoQueryOnly select tasks with the given priority or higher.- Specified by:
taskMinPriorityin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskMaxPriority
Description copied from interface:TaskInfoQueryOnly select tasks with the given priority or lower.- Specified by:
taskMaxPriorityin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
processFinished
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances which are part of a process instance which is already finished.- Specified by:
processFinishedin interfaceHistoricTaskInstanceQuery
-
processUnfinished
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances which are part of a process instance which is not finished yet.- Specified by:
processUnfinishedin interfaceHistoricTaskInstanceQuery
-
ensureVariablesInitialized
protected void ensureVariablesInitialized()- Overrides:
ensureVariablesInitializedin classAbstractVariableQueryImpl<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskState
Description copied from interface:TaskInfoQueryOnly select tasks with the given state.- Specified by:
taskStatein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskCreatedOn
Description copied from interface:TaskInfoQueryOnly select tasks that are created on the given date.- Specified by:
taskCreatedOnin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskCreatedBefore
Description copied from interface:TaskInfoQueryOnly select tasks that are created before the given date.- Specified by:
taskCreatedBeforein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskCreatedAfter
Description copied from interface:TaskInfoQueryOnly select tasks that are created after the given date.- Specified by:
taskCreatedAfterin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskInProgressStartTimeOn
Description copied from interface:TaskInfoQueryOnly select tasks that are started in progress on the given date.- Specified by:
taskInProgressStartTimeOnin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskInProgressStartTimeBefore
Description copied from interface:TaskInfoQueryOnly select tasks that are started in progress before the given date.- Specified by:
taskInProgressStartTimeBeforein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskInProgressStartTimeAfter
Description copied from interface:TaskInfoQueryOnly select tasks that are started in progress after the given date.- Specified by:
taskInProgressStartTimeAfterin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskInProgressStartedBy
Description copied from interface:TaskInfoQuerySelect all tasks that have an in progress started user reference for the given value.- Specified by:
taskInProgressStartedByin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskClaimedOn
Description copied from interface:TaskInfoQueryOnly select tasks that are claimed on the given date.- Specified by:
taskClaimedOnin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskClaimedBefore
Description copied from interface:TaskInfoQueryOnly select tasks that are claimed before the given date.- Specified by:
taskClaimedBeforein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskClaimedAfter
Description copied from interface:TaskInfoQueryOnly select tasks that are claimed after the given date.- Specified by:
taskClaimedAfterin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskClaimedBy
Description copied from interface:TaskInfoQuerySelect all tasks that have a claimed by user reference for the given value.- Specified by:
taskClaimedByin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskSuspendedOn
Description copied from interface:TaskInfoQueryOnly select tasks that are suspended on the given date.- Specified by:
taskSuspendedOnin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskSuspendedBefore
Description copied from interface:TaskInfoQueryOnly select tasks that are suspended before the given date.- Specified by:
taskSuspendedBeforein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskSuspendedAfter
Description copied from interface:TaskInfoQueryOnly select tasks that are suspended after the given date.- Specified by:
taskSuspendedAfterin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskSuspendedBy
Description copied from interface:TaskInfoQuerySelect all tasks that have a suspended by user reference for the given value.- Specified by:
taskSuspendedByin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskCompletedOn
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances which are completed on the given date- Specified by:
taskCompletedOnin interfaceHistoricTaskInstanceQuery
-
taskCompletedBefore
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances which are completed before the given date- Specified by:
taskCompletedBeforein interfaceHistoricTaskInstanceQuery
-
taskCompletedAfter
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances which are completed after the given date- Specified by:
taskCompletedAfterin interfaceHistoricTaskInstanceQuery
-
taskCompletedBy
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances which are completed by the given user- Specified by:
taskCompletedByin interfaceHistoricTaskInstanceQuery
-
taskInProgressStartDueDate
Description copied from interface:TaskInfoQueryOnly select tasks with the given in progress start due date.- Specified by:
taskInProgressStartDueDatein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskInProgressStartDueBefore
Description copied from interface:TaskInfoQueryOnly select tasks which have an in progress start due date before the given date.- Specified by:
taskInProgressStartDueBeforein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskInProgressStartDueAfter
Description copied from interface:TaskInfoQueryOnly select tasks which have an in progress start due date after the given date.- Specified by:
taskInProgressStartDueAfterin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
withoutTaskInProgressStartDueDate
Description copied from interface:TaskInfoQueryOnly select tasks with no in progress start due date.- Specified by:
withoutTaskInProgressStartDueDatein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskDueDate
Description copied from interface:TaskInfoQueryOnly select tasks with the given due date.- Specified by:
taskDueDatein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskDueBefore
Description copied from interface:TaskInfoQueryOnly select tasks which have a due date before the given date.- Specified by:
taskDueBeforein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskDueAfter
Description copied from interface:TaskInfoQueryOnly select tasks which have a due date after the given date.- Specified by:
taskDueAfterin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
withoutTaskDueDate
Description copied from interface:TaskInfoQueryOnly select tasks with no due date.- Specified by:
withoutTaskDueDatein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskCategory
Description copied from interface:TaskInfoQueryOnly select tasks with the given category.- Specified by:
taskCategoryin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskCategoryIn
Description copied from interface:TaskInfoQueryOnly select tasks belonging to one of the categories in the given list.- Specified by:
taskCategoryInin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskCategoryNotIn
Description copied from interface:TaskInfoQueryOnly 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
nullcategory. To includenullcategories, usequery.or().taskCategoryNotIn(...).taskWithoutCategory().endOr()- Specified by:
taskCategoryNotInin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance> - See Also:
-
checkTaskCategoryList
-
taskWithoutCategory
Description copied from interface:TaskInfoQuerySelects tasks without category.Can also be used in conjunction with other filter criteria to include tasks without category e.g. in
orqueries.- Specified by:
taskWithoutCategoryin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance> - See Also:
-
taskWithFormKey
Description copied from interface:TaskInfoQueryOnly select tasks with form key.- Specified by:
taskWithFormKeyin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskFormKey
Description copied from interface:TaskInfoQueryOnly select tasks with the given formKey.- Specified by:
taskFormKeyin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskCandidateUser
Description copied from interface:TaskInfoQueryOnly select tasks for which the given user is a candidate.- Specified by:
taskCandidateUserin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskCandidateGroup
Description copied from interface:TaskInfoQueryOnly select tasks for which users in the given group are candidates.- Specified by:
taskCandidateGroupin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskCandidateGroupIn
Description copied from interface:TaskInfoQueryOnly select tasks for which the 'candidateGroup' is one of the given groups.- Specified by:
taskCandidateGroupInin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskInvolvedUser
Description copied from interface:TaskInfoQueryOnly select tasks for which there exist anIdentityLinkwith the given user, including tasks which have been assigned to the given user (assignee) or owned by the given user (owner).- Specified by:
taskInvolvedUserin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskInvolvedGroups
Description copied from interface:TaskInfoQueryOnly select tasks for which there exist anIdentityLinkwith the given Groups.- Specified by:
taskInvolvedGroupsin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
ignoreAssigneeValue
Description copied from interface:TaskInfoQueryAllows 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:
ignoreAssigneeValuein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskTenantId
Description copied from interface:TaskInfoQueryOnly select tasks that have the given tenant id.- Specified by:
taskTenantIdin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskTenantIdLike
Description copied from interface:TaskInfoQueryOnly select tasks with a tenant id like the given one.- Specified by:
taskTenantIdLikein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskWithoutTenantId
Description copied from interface:TaskInfoQueryOnly select tasks that do not have a tenant id.- Specified by:
taskWithoutTenantIdin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
taskWithoutDeleteReason
Description copied from interface:HistoricTaskInstanceQueryOnly select historic tasks without a delete reason (completed normally)- Specified by:
taskWithoutDeleteReasonin interfaceHistoricTaskInstanceQuery
-
locale
Description copied from interface:TaskInfoQueryLocalize task name and description to specified locale.- Specified by:
localein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
withLocalizationFallback
Description copied from interface:TaskInfoQueryInstruct localization to fallback to more general locales including the default locale of the JVM if the specified locale is not found.- Specified by:
withLocalizationFallbackin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
includeTaskLocalVariables
Description copied from interface:TaskInfoQueryInclude local task variables in the task query result- Specified by:
includeTaskLocalVariablesin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
includeProcessVariables
Description copied from interface:TaskInfoQueryInclude global process variables in the task query result- Specified by:
includeProcessVariablesin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
includeCaseVariables
Description copied from interface:TaskInfoQueryInclude global case variables in the task query result- Specified by:
includeCaseVariablesin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
includeIdentityLinks
Description copied from interface:TaskInfoQueryInclude identity links in the task query result- Specified by:
includeIdentityLinksin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
or
Description copied from interface:TaskInfoQueryAll 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:
orin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
endOr
- Specified by:
endOrin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
orderByTaskId
Description copied from interface:TaskInfoQueryOrder by task id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTaskIdin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
orderByHistoricActivityInstanceId
Description copied from interface:HistoricTaskInstanceQueryOrder by the historic activity instance id this task was used in (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByHistoricActivityInstanceIdin interfaceHistoricTaskInstanceQuery
-
orderByProcessDefinitionId
Description copied from interface:TaskInfoQueryOrder by process definition id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByProcessDefinitionIdin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
orderByProcessInstanceId
Description copied from interface:TaskInfoQueryOrder by process instance id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByProcessInstanceIdin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
orderByExecutionId
Description copied from interface:TaskInfoQueryOrder by execution id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByExecutionIdin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
orderByHistoricTaskInstanceDuration
Description copied from interface:HistoricTaskInstanceQueryOrder by duration (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByHistoricTaskInstanceDurationin interfaceHistoricTaskInstanceQuery
-
orderByHistoricTaskInstanceEndTime
Description copied from interface:HistoricTaskInstanceQueryOrder by end time (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByHistoricTaskInstanceEndTimein interfaceHistoricTaskInstanceQuery
-
orderByHistoricActivityInstanceStartTime
-
orderByHistoricTaskInstanceStartTime
Description copied from interface:HistoricTaskInstanceQueryOrder by start time (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByHistoricTaskInstanceStartTimein interfaceHistoricTaskInstanceQuery
-
orderByTaskCreateTime
Description copied from interface:TaskInfoQueryOrder by the time on which the tasks were created (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTaskCreateTimein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
orderByTaskName
Description copied from interface:TaskInfoQueryOrder by task name (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTaskNamein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
orderByTaskDescription
Description copied from interface:TaskInfoQueryOrder by description (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTaskDescriptionin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
orderByTaskAssignee
Description copied from interface:TaskInfoQueryOrder by assignee (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTaskAssigneein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
orderByTaskOwner
Description copied from interface:TaskInfoQueryOrder by task owner (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTaskOwnerin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
orderByTaskDueDate
Description copied from interface:TaskInfoQueryOrder by task due date (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTaskDueDatein interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
orderByDueDateNullsFirst
Description copied from interface:TaskInfoQueryOrder 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:
orderByDueDateNullsFirstin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
orderByDueDateNullsLast
Description copied from interface:TaskInfoQueryOrder 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:
orderByDueDateNullsLastin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
orderByCategory
Description copied from interface:TaskInfoQueryOrder by category (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByCategoryin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
orderByDeleteReason
Description copied from interface:HistoricTaskInstanceQueryOrder by task delete reason (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByDeleteReasonin interfaceHistoricTaskInstanceQuery
-
orderByTaskDefinitionKey
Description copied from interface:TaskInfoQueryOrder by task definition key (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTaskDefinitionKeyin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
orderByTaskPriority
Description copied from interface:TaskInfoQueryOrder by priority (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTaskPriorityin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
orderByTenantId
Description copied from interface:TaskInfoQueryOrder by tenant id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTenantIdin interfaceTaskInfoQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
getCandidateGroups
-
getGroupsForCandidateUser
-
delete
public void delete()Description copied from interface:DeleteQueryDelete all instances that match the query.- Specified by:
deletein interfaceDeleteQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
deleteWithRelatedData
Deprecated.Description copied from interface:DeleteQueryDelete 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:
deleteWithRelatedDatain 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:
getIdin 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
-