public class HistoricTaskInstanceQueryImpl extends AbstractQuery<HistoricTaskInstanceQuery,HistoricTaskInstance> implements HistoricTaskInstanceQuery
AbstractQuery.ResultTypecommandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validatorsauthCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck| Constructor and Description |
|---|
HistoricTaskInstanceQueryImpl() |
HistoricTaskInstanceQueryImpl(CommandExecutor commandExecutor) |
| Modifier and Type | Method and Description |
|---|---|
HistoricTaskInstanceQuery |
activityInstanceIdIn(String... activityInstanceIds)
Only select historic task instances which have one of the given activity instance ids.
|
void |
addOrQuery(HistoricTaskInstanceQueryImpl orQuery) |
void |
addVariable(String name,
Object value,
QueryOperator operator,
boolean isTaskVariable,
boolean isProcessInstanceVariable) |
protected void |
addVariable(TaskQueryVariableValue taskQueryVariableValue) |
HistoricTaskInstanceQuery |
caseDefinitionId(String caseDefinitionId)
Only select historic task instances for the given case definition.
|
HistoricTaskInstanceQuery |
caseDefinitionKey(String caseDefinitionKey)
Only select historic task instances which are part of a case instance
which has the given case definition key.
|
HistoricTaskInstanceQuery |
caseDefinitionName(String caseDefinitionName)
Only select historic task instances which are part of a (historic) case instance
which has the given case definition name.
|
HistoricTaskInstanceQuery |
caseExecutionId(String caseExecutionId)
Only select historic task instances for the given case execution id.
|
HistoricTaskInstanceQuery |
caseInstanceId(String caseInstanceId)
Only select historic task instances for the given case instance.
|
HistoricTaskInstanceQuery |
endOr()
endOr() terminates an OR query on which an arbitrary amount of filter criteria were applied.
|
protected void |
ensureVariablesInitialized() |
long |
executeCount(CommandContext commandContext) |
List<HistoricTaskInstance> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results.
|
HistoricTaskInstanceQueryImpl |
executionId(String executionId)
Only select historic task instances for the given execution.
|
HistoricTaskInstanceQueryImpl |
finished()
Only select historic task instances which are finished.
|
HistoricTaskInstanceQuery |
finishedAfter(Date date)
Only select tasks where end time is after given date
|
HistoricTaskInstanceQuery |
finishedBefore(Date date)
Only select tasks where end time is before given date
|
String[] |
getActivityInstanceIds() |
String |
getCaseDefinitionId() |
String |
getCaseDefinitionKey() |
String |
getCaseDefinitionName() |
String |
getCaseExecutionId() |
String |
getCaseInstanceId() |
Date |
getDueAfter() |
Date |
getDueBefore() |
Date |
getDueDate() |
String |
getExecutionId() |
Date |
getFinishedAfter() |
Date |
getFinishedBefore() |
Date |
getFollowUpAfter() |
Date |
getFollowUpBefore() |
Date |
getFollowUpDate() |
String |
getProcessDefinitionId() |
String |
getProcessDefinitionKey() |
String |
getProcessDefinitionName() |
String |
getProcessInstanceBusinessKey() |
String |
getProcessInstanceBusinessKeyLike() |
String[] |
getProcessInstanceBusinessKeys() |
String |
getProcessInstanceId() |
List<HistoricTaskInstanceQueryImpl> |
getQueries() |
Date |
getStartedAfter() |
Date |
getStartedBefore() |
String |
getTaskAssignee() |
String |
getTaskAssigneeLike() |
String[] |
getTaskDefinitionKeys() |
String |
getTaskDeleteReason() |
String |
getTaskDeleteReasonLike() |
String |
getTaskDescription() |
String |
getTaskDescriptionLike() |
String |
getTaskHadCandidateGroup() |
String |
getTaskHadCandidateUser() |
String |
getTaskId() |
String |
getTaskInvolvedGroup() |
String |
getTaskInvolvedUser() |
String |
getTaskName() |
String |
getTaskNameLike() |
String |
getTaskOwner() |
String |
getTaskOwnerLike() |
String |
getTaskParentTaskId() |
Integer |
getTaskPriority() |
String[] |
getTenantIds() |
Boolean |
getVariableNamesIgnoreCase() |
List<TaskQueryVariableValue> |
getVariables() |
Boolean |
getVariableValuesIgnoreCase() |
protected boolean |
hasExcludingConditions()
Whether or not the query has excluding conditions.
|
Boolean |
isAssigned() |
boolean |
isFinished() |
boolean |
isOrQueryActive() |
boolean |
isProcessFinished() |
boolean |
isProcessUnfinished() |
boolean |
isTenantIdSet() |
Boolean |
isUnassigned() |
boolean |
isUnfinished() |
Boolean |
isWithCandidateGroups() |
Boolean |
isWithoutCandidateGroups() |
HistoricTaskInstanceQuery |
matchVariableNamesIgnoreCase()
The query will match the names of task and process variables in a case-insensitive way.
|
HistoricTaskInstanceQuery |
matchVariableValuesIgnoreCase()
The query will match the values of task and process variables in a case-insensitive way.
|
HistoricTaskInstanceQuery |
or()
After calling or(), a chain of several filter criteria could follow.
|
HistoricTaskInstanceQuery |
orderByCaseDefinitionId()
Order by case definition id (needs to be followed by
Query.asc() or Query.desc()). |
HistoricTaskInstanceQuery |
orderByCaseExecutionId()
Order by case execution id (needs to be followed by
Query.asc() or Query.desc()). |
HistoricTaskInstanceQuery |
orderByCaseInstanceId()
Order by case instance id (needs to be followed by
Query.asc() or Query.desc()). |
HistoricTaskInstanceQueryImpl |
orderByDeleteReason()
Order by task delete reason (needs to be followed by
Query.asc() or Query.desc()). |
HistoricTaskInstanceQueryImpl |
orderByExecutionId()
Order by execution id (needs to be followed by
Query.asc() or Query.desc()). |
HistoricTaskInstanceQueryImpl |
orderByHistoricActivityInstanceId()
Order by the historic activity instance id this task was used in
(needs to be followed by
Query.asc() or Query.desc()). |
HistoricTaskInstanceQueryImpl |
orderByHistoricActivityInstanceStartTime()
Order by start time (needs to be followed by
Query.asc() or Query.desc()). |
HistoricTaskInstanceQueryImpl |
orderByHistoricTaskInstanceDuration()
Order by duration (needs to be followed by
Query.asc() or Query.desc()). |
HistoricTaskInstanceQueryImpl |
orderByHistoricTaskInstanceEndTime()
Order by end time (needs to be followed by
Query.asc() or Query.desc()). |
HistoricTaskInstanceQueryImpl |
orderByProcessDefinitionId()
Order by process definition id (needs to be followed by
Query.asc() or Query.desc()). |
HistoricTaskInstanceQueryImpl |
orderByProcessInstanceId()
Order by process instance id (needs to be followed by
Query.asc() or Query.desc()). |
HistoricTaskInstanceQuery |
orderByTaskAssignee()
Order by task assignee (needs to be followed by
Query.asc() or Query.desc()). |
HistoricTaskInstanceQuery |
orderByTaskDefinitionKey()
Order by task definition key (needs to be followed by
Query.asc() or Query.desc()). |
HistoricTaskInstanceQueryImpl |
orderByTaskDescription()
Order by task description (needs to be followed by
Query.asc() or Query.desc()). |
HistoricTaskInstanceQuery |
orderByTaskDueDate()
Order by task due date (needs to be followed by
Query.asc() or Query.desc()). |
HistoricTaskInstanceQuery |
orderByTaskFollowUpDate()
Order by task follow-up date (needs to be followed by
Query.asc() or Query.desc()). |
HistoricTaskInstanceQueryImpl |
orderByTaskId()
Order by task id (needs to be followed by
Query.asc() or Query.desc()). |
HistoricTaskInstanceQueryImpl |
orderByTaskName()
Order by task name (needs to be followed by
Query.asc() or Query.desc()). |
HistoricTaskInstanceQuery |
orderByTaskOwner()
Order by task owner (needs to be followed by
Query.asc() or Query.desc()). |
HistoricTaskInstanceQuery |
orderByTaskPriority()
Order by task priority key (needs to be followed by
Query.asc() or Query.desc()). |
HistoricTaskInstanceQuery |
orderByTenantId()
Order by tenant id (needs to be followed by
Query.asc() or Query.desc()). |
HistoricTaskInstanceQueryImpl |
processDefinitionId(String processDefinitionId)
Only select historic task instances for the given process definition.
|
HistoricTaskInstanceQuery |
processDefinitionKey(String processDefinitionKey)
Only select historic task instances which are part of a (historic) process instance
which has the given process definition key.
|
HistoricTaskInstanceQuery |
processDefinitionName(String processDefinitionName)
Only select historic task instances which are part of a (historic) process instance
which has the given definition name.
|
HistoricTaskInstanceQuery |
processFinished()
Only select historic task instances which are part of a process
instance which is already finished.
|
HistoricTaskInstanceQuery |
processInstanceBusinessKey(String processInstanceBusinessKey)
Only select historic tasks for the given process instance business key
|
HistoricTaskInstanceQuery |
processInstanceBusinessKeyIn(String... processInstanceBusinessKeys)
Only select historic tasks for any of the given the given process instance business keys.
|
HistoricTaskInstanceQuery |
processInstanceBusinessKeyLike(String processInstanceBusinessKey)
Only select historic tasks matching the given process instance business key.
|
HistoricTaskInstanceQueryImpl |
processInstanceId(String processInstanceId)
Only select historic task instances for the given process instance.
|
HistoricTaskInstanceQuery |
processUnfinished()
Only select historic task instances which are part of a process
instance which is not finished yet.
|
HistoricTaskInstanceQuery |
processVariableValueEquals(String variableName,
Object variableValue)
Only select historic task instances which are part of a process instance which have a variable
with the given name set to the given value.
|
HistoricTaskInstanceQuery |
processVariableValueGreaterThan(String variableName,
Object variableValue)
Only select historic task instances which are part of a process that have a variable
with the given name and a value greater than the given one.
|
HistoricTaskInstanceQuery |
processVariableValueGreaterThanOrEquals(String variableName,
Object variableValue)
Only select historic task instances which are part of a process that have a variable
with the given name and a value greater than or equal to the given one.
|
HistoricTaskInstanceQuery |
processVariableValueLessThan(String variableName,
Object variableValue)
Only select historic task instances which are part of a process that have a variable
with the given name and a value less than the given one.
|
HistoricTaskInstanceQuery |
processVariableValueLessThanOrEquals(String variableName,
Object variableValue)
Only select historic task instances which are part of a process that have a variable
with the given name and a value less than or equal to the given one.
|
HistoricTaskInstanceQuery |
processVariableValueLike(String variableName,
Object variableValue)
Only select historic task instances which are part of a process that have a variable
with the given name and matching the given value.
|
HistoricTaskInstanceQuery |
processVariableValueNotEquals(String variableName,
Object variableValue)
Only select historic task instances which have a variable with the given name, but
with a different value than the passed value.
|
void |
setOrQueryActive() |
HistoricTaskInstanceQuery |
startedAfter(Date date)
Only select tasks where started after given date
|
HistoricTaskInstanceQuery |
startedBefore(Date date)
Only select tasks where started before given date
|
HistoricTaskInstanceQueryImpl |
taskAssigned()
Only select historic task instances with an assignee.
|
HistoricTaskInstanceQueryImpl |
taskAssignee(String taskAssignee)
Only select historic task instances which were last taskAssigned to the given assignee.
|
HistoricTaskInstanceQueryImpl |
taskAssigneeLike(String taskAssigneeLike)
Only select historic task instances which were last taskAssigned to an assignee like
the given value.
|
HistoricTaskInstanceQuery |
taskDefinitionKey(String taskDefinitionKey)
Only select historic task instances with the given task definition key.
|
HistoricTaskInstanceQuery |
taskDefinitionKeyIn(String... taskDefinitionKeys)
Only select historic task instances with one of the given task definition keys.
|
HistoricTaskInstanceQueryImpl |
taskDeleteReason(String taskDeleteReason)
Only select historic task instances with the given task delete reason.
|
HistoricTaskInstanceQueryImpl |
taskDeleteReasonLike(String taskDeleteReasonLike)
Only select historic task instances with a task description like the given value.
|
HistoricTaskInstanceQueryImpl |
taskDescription(String taskDescription)
Only select historic task instances with the given task description.
|
HistoricTaskInstanceQueryImpl |
taskDescriptionLike(String taskDescriptionLike)
Only select historic task instances with a task description like the given value.
|
HistoricTaskInstanceQuery |
taskDueAfter(Date dueAfter)
Only select select historic task instances which have a due date after the given date.
|
HistoricTaskInstanceQuery |
taskDueBefore(Date dueBefore)
Only select select historic task instances which have a due date before the given date.
|
HistoricTaskInstanceQuery |
taskDueDate(Date dueDate)
Only select select historic task instances with the given due date.
|
HistoricTaskInstanceQuery |
taskFollowUpAfter(Date followUpAfter)
Only select select historic task instances which have a follow-up date after the given date.
|
HistoricTaskInstanceQuery |
taskFollowUpBefore(Date followUpBefore)
Only select select historic task instances which have a follow-up date before the given date.
|
HistoricTaskInstanceQuery |
taskFollowUpDate(Date followUpDate)
Only select select historic task instances with the given follow-up date.
|
HistoricTaskInstanceQuery |
taskHadCandidateGroup(String groupId)
Only select historic task instances which have mapping
with Historic identity links with the condition of group being a candidate
|
HistoricTaskInstanceQuery |
taskHadCandidateUser(String userId)
Only select historic task instances which have mapping
with Historic identity links with the condition of user being a candidate
|
HistoricTaskInstanceQuery |
taskId(String taskId)
Only select historic task instances for the given task id.
|
HistoricTaskInstanceQuery |
taskInvolvedGroup(String groupId)
Only select historic task instances which have mapping
with Historic identity links based on group id
|
HistoricTaskInstanceQuery |
taskInvolvedUser(String userId)
Only select historic task instances which have mapping
with Historic identity links based on user id
|
HistoricTaskInstanceQueryImpl |
taskName(String taskName)
Only select historic task instances with the given task name.
|
HistoricTaskInstanceQueryImpl |
taskNameLike(String taskNameLike)
Only select historic task instances with a task name like the given value.
|
HistoricTaskInstanceQueryImpl |
taskOwner(String taskOwner)
Only select historic task instances which have the given owner.
|
HistoricTaskInstanceQueryImpl |
taskOwnerLike(String taskOwnerLike)
Only select historic task instances which have an owner like the one specified.
|
HistoricTaskInstanceQuery |
taskParentTaskId(String parentTaskId)
Only select subtasks of the given parent task
|
HistoricTaskInstanceQuery |
taskPriority(Integer taskPriority)
Only select historic task instances with the given priority.
|
HistoricTaskInstanceQueryImpl |
taskUnassigned()
Only select historic task instances without an assignee.
|
HistoricTaskInstanceQueryImpl |
taskVariableValueEquals(String variableName,
Object variableValue)
Only select historic task instances which have a local task variable with the
given name set to the given value.
|
HistoricTaskInstanceQuery |
tenantIdIn(String... tenantIds)
Only select historic task instances with one of the given tenant ids.
|
HistoricTaskInstanceQueryImpl |
unfinished()
Only select historic task instances which aren't finished yet.
|
HistoricTaskInstanceQuery |
withCandidateGroups()
Only select historic task instances which have a candidate group
|
HistoricTaskInstanceQuery |
withoutCandidateGroups()
Only select historic task instances which have no candidate group
|
HistoricTaskInstanceQuery |
withoutTenantId()
Only selects historic task instances that have no tenant id.
|
addExpression, addValidator, asc, checkMaxResultsLimit, checkQueryOk, count, desc, direction, disableMaxResultsLimit, enableMaxResultsLimit, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteDeploymentIdMappingsList, evaluateExpressionsAndExecuteIdsList, evaluateExpressionsAndExecuteList, execute, executeDeploymentIdMappingsList, executeIdsList, executeResult, executeSingleResult, extend, getExpressions, getMethod, list, listDeploymentIdMappings, listIds, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, unlimitedList, validate, validategetAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheckclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasc, count, desc, list, listPage, singleResult, unlimitedListisRetryableprotected String processDefinitionId
protected String processDefinitionKey
protected String processDefinitionName
protected String processInstanceId
protected String processInstanceBusinessKey
protected String[] processInstanceBusinessKeys
protected String processInstanceBusinessKeyLike
protected String executionId
protected String[] activityInstanceIds
protected String taskId
protected String taskName
protected String taskNameLike
protected String taskParentTaskId
protected String taskDescription
protected String taskDescriptionLike
protected String taskDeleteReason
protected String taskDeleteReasonLike
protected String taskOwner
protected String taskOwnerLike
protected Boolean assigned
protected Boolean unassigned
protected String taskAssignee
protected String taskAssigneeLike
protected String[] taskDefinitionKeys
protected String taskInvolvedUser
protected String taskInvolvedGroup
protected String taskHadCandidateUser
protected String taskHadCandidateGroup
protected Boolean withCandidateGroups
protected Boolean withoutCandidateGroups
protected Integer taskPriority
protected boolean finished
protected boolean unfinished
protected boolean processFinished
protected boolean processUnfinished
protected List<TaskQueryVariableValue> variables
protected Boolean variableNamesIgnoreCase
protected Boolean variableValuesIgnoreCase
protected Date dueDate
protected Date dueAfter
protected Date dueBefore
protected Date followUpDate
protected Date followUpBefore
protected Date followUpAfter
protected String[] tenantIds
protected boolean isTenantIdSet
protected String caseDefinitionId
protected String caseDefinitionKey
protected String caseDefinitionName
protected String caseInstanceId
protected String caseExecutionId
protected Date finishedAfter
protected Date finishedBefore
protected Date startedAfter
protected Date startedBefore
protected List<HistoricTaskInstanceQueryImpl> queries
protected boolean isOrQueryActive
public HistoricTaskInstanceQueryImpl()
public HistoricTaskInstanceQueryImpl(CommandExecutor commandExecutor)
public long executeCount(CommandContext commandContext)
executeCount in class AbstractQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>public List<HistoricTaskInstance> executeList(CommandContext commandContext, Page page)
AbstractQueryexecuteList in class AbstractQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>page - used if the results must be paged. If null, no paging will be applied.public HistoricTaskInstanceQueryImpl processInstanceId(String processInstanceId)
HistoricTaskInstanceQueryprocessInstanceId in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery processInstanceBusinessKey(String processInstanceBusinessKey)
HistoricTaskInstanceQueryprocessInstanceBusinessKey in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery processInstanceBusinessKeyIn(String... processInstanceBusinessKeys)
HistoricTaskInstanceQueryprocessInstanceBusinessKeyIn in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery processInstanceBusinessKeyLike(String processInstanceBusinessKey)
HistoricTaskInstanceQueryprocessInstanceBusinessKeyLike in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQueryImpl executionId(String executionId)
HistoricTaskInstanceQueryexecutionId in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery activityInstanceIdIn(String... activityInstanceIds)
HistoricTaskInstanceQueryactivityInstanceIdIn in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQueryImpl processDefinitionId(String processDefinitionId)
HistoricTaskInstanceQueryprocessDefinitionId in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery processDefinitionKey(String processDefinitionKey)
HistoricTaskInstanceQueryprocessDefinitionKey in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery processDefinitionName(String processDefinitionName)
HistoricTaskInstanceQueryprocessDefinitionName in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskId(String taskId)
HistoricTaskInstanceQuerytaskId in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQueryImpl taskName(String taskName)
HistoricTaskInstanceQuerytaskName in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQueryImpl taskNameLike(String taskNameLike)
HistoricTaskInstanceQuerytaskNameLike in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskParentTaskId(String parentTaskId)
HistoricTaskInstanceQuerytaskParentTaskId in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQueryImpl taskDescription(String taskDescription)
HistoricTaskInstanceQuerytaskDescription in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQueryImpl taskDescriptionLike(String taskDescriptionLike)
HistoricTaskInstanceQuerytaskDescriptionLike in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQueryImpl taskDeleteReason(String taskDeleteReason)
HistoricTaskInstanceQuerytaskDeleteReason in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQueryImpl taskDeleteReasonLike(String taskDeleteReasonLike)
HistoricTaskInstanceQuerytaskDeleteReasonLike in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQueryImpl taskAssigned()
HistoricTaskInstanceQuerytaskAssigned in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQueryImpl taskUnassigned()
HistoricTaskInstanceQuerytaskUnassigned in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQueryImpl taskAssignee(String taskAssignee)
HistoricTaskInstanceQuerytaskAssignee in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQueryImpl taskAssigneeLike(String taskAssigneeLike)
HistoricTaskInstanceQuerytaskAssigneeLike in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQueryImpl taskOwner(String taskOwner)
HistoricTaskInstanceQuerytaskOwner in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQueryImpl taskOwnerLike(String taskOwnerLike)
HistoricTaskInstanceQuerytaskOwnerLike in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery caseDefinitionId(String caseDefinitionId)
HistoricTaskInstanceQuerycaseDefinitionId in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery caseDefinitionKey(String caseDefinitionKey)
HistoricTaskInstanceQuerycaseDefinitionKey in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery caseDefinitionName(String caseDefinitionName)
HistoricTaskInstanceQuerycaseDefinitionName in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery caseInstanceId(String caseInstanceId)
HistoricTaskInstanceQuerycaseInstanceId in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery caseExecutionId(String caseExecutionId)
HistoricTaskInstanceQuerycaseExecutionId in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQueryImpl finished()
HistoricTaskInstanceQueryfinished in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQueryImpl unfinished()
HistoricTaskInstanceQueryunfinished in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery matchVariableNamesIgnoreCase()
HistoricTaskInstanceQuerymatchVariableNamesIgnoreCase in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery matchVariableValuesIgnoreCase()
HistoricTaskInstanceQuerymatchVariableValuesIgnoreCase in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQueryImpl taskVariableValueEquals(String variableName, Object variableValue)
HistoricTaskInstanceQuerytaskVariableValueEquals in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery processVariableValueEquals(String variableName, Object variableValue)
HistoricTaskInstanceQueryHistoricDetail) will be used, so make sure history-level is configured
>= AUDIT when this feature is used.processVariableValueEquals in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery processVariableValueNotEquals(String variableName, Object variableValue)
HistoricTaskInstanceQuerySerializable objects (which are not primitive type wrappers)
are not supported.processVariableValueNotEquals in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery processVariableValueLike(String variableName, Object variableValue)
HistoricTaskInstanceQueryprocessVariableValueLike in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery processVariableValueGreaterThan(String variableName, Object variableValue)
HistoricTaskInstanceQueryprocessVariableValueGreaterThan in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery processVariableValueGreaterThanOrEquals(String variableName, Object variableValue)
HistoricTaskInstanceQueryprocessVariableValueGreaterThanOrEquals in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery processVariableValueLessThan(String variableName, Object variableValue)
HistoricTaskInstanceQueryprocessVariableValueLessThan in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery processVariableValueLessThanOrEquals(String variableName, Object variableValue)
HistoricTaskInstanceQueryprocessVariableValueLessThanOrEquals in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskDefinitionKey(String taskDefinitionKey)
HistoricTaskInstanceQuerytaskDefinitionKey in interface HistoricTaskInstanceQueryTask.getTaskDefinitionKey()public HistoricTaskInstanceQuery taskDefinitionKeyIn(String... taskDefinitionKeys)
HistoricTaskInstanceQuerytaskDefinitionKeyIn in interface HistoricTaskInstanceQueryTask.getTaskDefinitionKey()public HistoricTaskInstanceQuery taskPriority(Integer taskPriority)
HistoricTaskInstanceQuerytaskPriority in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery processFinished()
HistoricTaskInstanceQueryprocessFinished in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskInvolvedUser(String userId)
HistoricTaskInstanceQuerytaskInvolvedUser in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskInvolvedGroup(String groupId)
HistoricTaskInstanceQuerytaskInvolvedGroup in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskHadCandidateUser(String userId)
HistoricTaskInstanceQuerytaskHadCandidateUser in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskHadCandidateGroup(String groupId)
HistoricTaskInstanceQuerytaskHadCandidateGroup in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery withCandidateGroups()
HistoricTaskInstanceQuerywithCandidateGroups in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery withoutCandidateGroups()
HistoricTaskInstanceQuerywithoutCandidateGroups in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery processUnfinished()
HistoricTaskInstanceQueryprocessUnfinished in interface HistoricTaskInstanceQueryprotected void ensureVariablesInitialized()
public void addVariable(String name, Object value, QueryOperator operator, boolean isTaskVariable, boolean isProcessInstanceVariable)
protected void addVariable(TaskQueryVariableValue taskQueryVariableValue)
public HistoricTaskInstanceQuery taskDueDate(Date dueDate)
HistoricTaskInstanceQuerytaskDueDate in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskDueAfter(Date dueAfter)
HistoricTaskInstanceQuerytaskDueAfter in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskDueBefore(Date dueBefore)
HistoricTaskInstanceQuerytaskDueBefore in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskFollowUpDate(Date followUpDate)
HistoricTaskInstanceQuerytaskFollowUpDate in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskFollowUpBefore(Date followUpBefore)
HistoricTaskInstanceQuerytaskFollowUpBefore in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery taskFollowUpAfter(Date followUpAfter)
HistoricTaskInstanceQuerytaskFollowUpAfter in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery tenantIdIn(String... tenantIds)
HistoricTaskInstanceQuerytenantIdIn in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery withoutTenantId()
HistoricTaskInstanceQuerywithoutTenantId in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery finishedAfter(Date date)
HistoricTaskInstanceQueryfinishedAfter in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery finishedBefore(Date date)
HistoricTaskInstanceQueryfinishedBefore in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery startedAfter(Date date)
HistoricTaskInstanceQuerystartedAfter in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery startedBefore(Date date)
HistoricTaskInstanceQuerystartedBefore in interface HistoricTaskInstanceQueryprotected boolean hasExcludingConditions()
AbstractQueryhasExcludingConditions in class AbstractQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>true if the query does have excluding conditions, false otherwisepublic HistoricTaskInstanceQueryImpl orderByTaskId()
HistoricTaskInstanceQueryQuery.asc() or Query.desc()).orderByTaskId in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQueryImpl orderByHistoricActivityInstanceId()
HistoricTaskInstanceQueryQuery.asc() or Query.desc()).orderByHistoricActivityInstanceId in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQueryImpl orderByProcessDefinitionId()
HistoricTaskInstanceQueryQuery.asc() or Query.desc()).orderByProcessDefinitionId in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQueryImpl orderByProcessInstanceId()
HistoricTaskInstanceQueryQuery.asc() or Query.desc()).orderByProcessInstanceId in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQueryImpl orderByExecutionId()
HistoricTaskInstanceQueryQuery.asc() or Query.desc()).orderByExecutionId in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQueryImpl orderByHistoricTaskInstanceDuration()
HistoricTaskInstanceQueryQuery.asc() or Query.desc()).orderByHistoricTaskInstanceDuration in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQueryImpl orderByHistoricTaskInstanceEndTime()
HistoricTaskInstanceQueryQuery.asc() or Query.desc()).orderByHistoricTaskInstanceEndTime in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQueryImpl orderByHistoricActivityInstanceStartTime()
HistoricTaskInstanceQueryQuery.asc() or Query.desc()).orderByHistoricActivityInstanceStartTime in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQueryImpl orderByTaskName()
HistoricTaskInstanceQueryQuery.asc() or Query.desc()).orderByTaskName in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQueryImpl orderByTaskDescription()
HistoricTaskInstanceQueryQuery.asc() or Query.desc()).orderByTaskDescription in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery orderByTaskAssignee()
HistoricTaskInstanceQueryQuery.asc() or Query.desc()).orderByTaskAssignee in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery orderByTaskOwner()
HistoricTaskInstanceQueryQuery.asc() or Query.desc()).orderByTaskOwner in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery orderByTaskDueDate()
HistoricTaskInstanceQueryQuery.asc() or Query.desc()).orderByTaskDueDate in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery orderByTaskFollowUpDate()
HistoricTaskInstanceQueryQuery.asc() or Query.desc()).orderByTaskFollowUpDate in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQueryImpl orderByDeleteReason()
HistoricTaskInstanceQueryQuery.asc() or Query.desc()).orderByDeleteReason in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery orderByTaskDefinitionKey()
HistoricTaskInstanceQueryQuery.asc() or Query.desc()).orderByTaskDefinitionKey in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery orderByTaskPriority()
HistoricTaskInstanceQueryQuery.asc() or Query.desc()).orderByTaskPriority in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery orderByCaseDefinitionId()
HistoricTaskInstanceQueryQuery.asc() or Query.desc()).orderByCaseDefinitionId in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery orderByCaseInstanceId()
HistoricTaskInstanceQueryQuery.asc() or Query.desc()).orderByCaseInstanceId in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery orderByCaseExecutionId()
HistoricTaskInstanceQueryQuery.asc() or Query.desc()).orderByCaseExecutionId in interface HistoricTaskInstanceQuerypublic HistoricTaskInstanceQuery orderByTenantId()
HistoricTaskInstanceQueryQuery.asc() or Query.desc()).
Note that the ordering of historic task instances without tenant id is database-specific.orderByTenantId in interface HistoricTaskInstanceQuerypublic String getProcessInstanceId()
public String getProcessInstanceBusinessKey()
public String[] getProcessInstanceBusinessKeys()
public String getProcessInstanceBusinessKeyLike()
public String getProcessDefinitionKey()
public String getProcessDefinitionName()
public String getExecutionId()
public String[] getActivityInstanceIds()
public String getProcessDefinitionId()
public Boolean isAssigned()
public Boolean isUnassigned()
public Boolean isWithCandidateGroups()
public Boolean isWithoutCandidateGroups()
public boolean isFinished()
public boolean isProcessFinished()
public boolean isUnfinished()
public boolean isProcessUnfinished()
public Date getDueDate()
public Date getDueBefore()
public Date getDueAfter()
public Date getFollowUpDate()
public Date getFollowUpBefore()
public Date getFollowUpAfter()
public String getTaskName()
public String getTaskNameLike()
public String getTaskDescription()
public String getTaskDescriptionLike()
public String getTaskDeleteReason()
public String getTaskDeleteReasonLike()
public String getTaskAssignee()
public String getTaskAssigneeLike()
public String getTaskId()
public String getTaskInvolvedGroup()
public String getTaskInvolvedUser()
public String getTaskHadCandidateGroup()
public String getTaskHadCandidateUser()
public String[] getTaskDefinitionKeys()
public List<TaskQueryVariableValue> getVariables()
public Boolean getVariableNamesIgnoreCase()
public Boolean getVariableValuesIgnoreCase()
public String getTaskOwnerLike()
public String getTaskOwner()
public Integer getTaskPriority()
public String getTaskParentTaskId()
public String[] getTenantIds()
public String getCaseDefinitionId()
public String getCaseDefinitionKey()
public String getCaseDefinitionName()
public String getCaseInstanceId()
public String getCaseExecutionId()
public Date getFinishedAfter()
public Date getFinishedBefore()
public Date getStartedAfter()
public Date getStartedBefore()
public boolean isTenantIdSet()
public List<HistoricTaskInstanceQueryImpl> getQueries()
public boolean isOrQueryActive()
public void addOrQuery(HistoricTaskInstanceQueryImpl orQuery)
public void setOrQueryActive()
public HistoricTaskInstanceQuery or()
HistoricTaskInstanceQueryAfter calling or(), a chain of several filter criteria could follow. Each filter criterion that follows or()
will be linked together with an OR expression until the OR query is terminated. To terminate the OR query right
after the last filter criterion was applied, HistoricTaskInstanceQuery.endOr() must be invoked.
or in interface HistoricTaskInstanceQueryHistoricTaskInstanceQuery on which an arbitrary amount of filter criteria could be applied.
The several filter criteria will be linked together by an OR expression.public HistoricTaskInstanceQuery endOr()
HistoricTaskInstanceQueryendOr() terminates an OR query on which an arbitrary amount of filter criteria were applied. To terminate the
OR query which has been started by invoking HistoricTaskInstanceQuery.or(), endOr() must be invoked. Filter criteria which are
applied after calling endOr() are linked together by an AND expression.
endOr in interface HistoricTaskInstanceQueryHistoricTaskInstanceQuery on which an arbitrary amount of filter criteria could be applied.
The filter criteria will be linked together by an AND expression.Copyright © 2022. All rights reserved.