public class HistoricTaskInstanceQueryImpl extends AbstractQuery<HistoricTaskInstanceQuery,HistoricTaskInstance> implements HistoricTaskInstanceQuery
AbstractQuery.ResultType
commandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
authCheck, 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() |
boolean |
isWithoutTaskDueDate() |
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.
|
HistoricTaskInstanceQuery |
processVariableValueNotLike(String variableName,
Object variableValue)
Only select historic task instances which are part of a process that have a variable
with the given name and not matching the given 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 |
withoutTaskDueDate()
Only select select historic task instances that have no due date.
|
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, validate
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheck
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asc, count, desc, list, listPage, singleResult, unlimitedList
isRetryable
protected 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 boolean isWithoutTaskDueDate
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)
AbstractQuery
executeList
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)
HistoricTaskInstanceQuery
processInstanceId
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery processInstanceBusinessKey(String processInstanceBusinessKey)
HistoricTaskInstanceQuery
processInstanceBusinessKey
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery processInstanceBusinessKeyIn(String... processInstanceBusinessKeys)
HistoricTaskInstanceQuery
processInstanceBusinessKeyIn
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery processInstanceBusinessKeyLike(String processInstanceBusinessKey)
HistoricTaskInstanceQuery
processInstanceBusinessKeyLike
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl executionId(String executionId)
HistoricTaskInstanceQuery
executionId
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery activityInstanceIdIn(String... activityInstanceIds)
HistoricTaskInstanceQuery
activityInstanceIdIn
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl processDefinitionId(String processDefinitionId)
HistoricTaskInstanceQuery
processDefinitionId
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery processDefinitionKey(String processDefinitionKey)
HistoricTaskInstanceQuery
processDefinitionKey
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery processDefinitionName(String processDefinitionName)
HistoricTaskInstanceQuery
processDefinitionName
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery taskId(String taskId)
HistoricTaskInstanceQuery
taskId
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl taskName(String taskName)
HistoricTaskInstanceQuery
taskName
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl taskNameLike(String taskNameLike)
HistoricTaskInstanceQuery
taskNameLike
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery taskParentTaskId(String parentTaskId)
HistoricTaskInstanceQuery
taskParentTaskId
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl taskDescription(String taskDescription)
HistoricTaskInstanceQuery
taskDescription
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl taskDescriptionLike(String taskDescriptionLike)
HistoricTaskInstanceQuery
taskDescriptionLike
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl taskDeleteReason(String taskDeleteReason)
HistoricTaskInstanceQuery
taskDeleteReason
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl taskDeleteReasonLike(String taskDeleteReasonLike)
HistoricTaskInstanceQuery
taskDeleteReasonLike
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl taskAssigned()
HistoricTaskInstanceQuery
taskAssigned
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl taskUnassigned()
HistoricTaskInstanceQuery
taskUnassigned
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl taskAssignee(String taskAssignee)
HistoricTaskInstanceQuery
taskAssignee
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl taskAssigneeLike(String taskAssigneeLike)
HistoricTaskInstanceQuery
taskAssigneeLike
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl taskOwner(String taskOwner)
HistoricTaskInstanceQuery
taskOwner
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl taskOwnerLike(String taskOwnerLike)
HistoricTaskInstanceQuery
taskOwnerLike
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery caseDefinitionId(String caseDefinitionId)
HistoricTaskInstanceQuery
caseDefinitionId
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery caseDefinitionKey(String caseDefinitionKey)
HistoricTaskInstanceQuery
caseDefinitionKey
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery caseDefinitionName(String caseDefinitionName)
HistoricTaskInstanceQuery
caseDefinitionName
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery caseInstanceId(String caseInstanceId)
HistoricTaskInstanceQuery
caseInstanceId
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery caseExecutionId(String caseExecutionId)
HistoricTaskInstanceQuery
caseExecutionId
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl finished()
HistoricTaskInstanceQuery
finished
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl unfinished()
HistoricTaskInstanceQuery
unfinished
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery matchVariableNamesIgnoreCase()
HistoricTaskInstanceQuery
matchVariableNamesIgnoreCase
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery matchVariableValuesIgnoreCase()
HistoricTaskInstanceQuery
matchVariableValuesIgnoreCase
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl taskVariableValueEquals(String variableName, Object variableValue)
HistoricTaskInstanceQuery
taskVariableValueEquals
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery processVariableValueEquals(String variableName, Object variableValue)
HistoricTaskInstanceQuery
HistoricDetail
) will be used, so make sure history-level is configured
>= AUDIT when this feature is used.processVariableValueEquals
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery processVariableValueNotEquals(String variableName, Object variableValue)
HistoricTaskInstanceQuery
Serializable
objects (which are not primitive type wrappers)
are not supported.processVariableValueNotEquals
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery processVariableValueLike(String variableName, Object variableValue)
HistoricTaskInstanceQuery
processVariableValueLike
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery processVariableValueNotLike(String variableName, Object variableValue)
HistoricTaskInstanceQuery
processVariableValueNotLike
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery processVariableValueGreaterThan(String variableName, Object variableValue)
HistoricTaskInstanceQuery
processVariableValueGreaterThan
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery processVariableValueGreaterThanOrEquals(String variableName, Object variableValue)
HistoricTaskInstanceQuery
processVariableValueGreaterThanOrEquals
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery processVariableValueLessThan(String variableName, Object variableValue)
HistoricTaskInstanceQuery
processVariableValueLessThan
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery processVariableValueLessThanOrEquals(String variableName, Object variableValue)
HistoricTaskInstanceQuery
processVariableValueLessThanOrEquals
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery taskDefinitionKey(String taskDefinitionKey)
HistoricTaskInstanceQuery
taskDefinitionKey
in interface HistoricTaskInstanceQuery
Task.getTaskDefinitionKey()
public HistoricTaskInstanceQuery taskDefinitionKeyIn(String... taskDefinitionKeys)
HistoricTaskInstanceQuery
taskDefinitionKeyIn
in interface HistoricTaskInstanceQuery
Task.getTaskDefinitionKey()
public HistoricTaskInstanceQuery taskPriority(Integer taskPriority)
HistoricTaskInstanceQuery
taskPriority
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery processFinished()
HistoricTaskInstanceQuery
processFinished
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery taskInvolvedUser(String userId)
HistoricTaskInstanceQuery
taskInvolvedUser
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery taskInvolvedGroup(String groupId)
HistoricTaskInstanceQuery
taskInvolvedGroup
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery taskHadCandidateUser(String userId)
HistoricTaskInstanceQuery
taskHadCandidateUser
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery taskHadCandidateGroup(String groupId)
HistoricTaskInstanceQuery
taskHadCandidateGroup
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery withCandidateGroups()
HistoricTaskInstanceQuery
withCandidateGroups
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery withoutCandidateGroups()
HistoricTaskInstanceQuery
withoutCandidateGroups
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery processUnfinished()
HistoricTaskInstanceQuery
processUnfinished
in interface HistoricTaskInstanceQuery
protected 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)
HistoricTaskInstanceQuery
taskDueDate
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery taskDueAfter(Date dueAfter)
HistoricTaskInstanceQuery
taskDueAfter
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery taskDueBefore(Date dueBefore)
HistoricTaskInstanceQuery
taskDueBefore
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery withoutTaskDueDate()
HistoricTaskInstanceQuery
withoutTaskDueDate
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery taskFollowUpDate(Date followUpDate)
HistoricTaskInstanceQuery
taskFollowUpDate
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery taskFollowUpBefore(Date followUpBefore)
HistoricTaskInstanceQuery
taskFollowUpBefore
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery taskFollowUpAfter(Date followUpAfter)
HistoricTaskInstanceQuery
taskFollowUpAfter
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery tenantIdIn(String... tenantIds)
HistoricTaskInstanceQuery
tenantIdIn
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery withoutTenantId()
HistoricTaskInstanceQuery
withoutTenantId
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery finishedAfter(Date date)
HistoricTaskInstanceQuery
finishedAfter
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery finishedBefore(Date date)
HistoricTaskInstanceQuery
finishedBefore
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery startedAfter(Date date)
HistoricTaskInstanceQuery
startedAfter
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery startedBefore(Date date)
HistoricTaskInstanceQuery
startedBefore
in interface HistoricTaskInstanceQuery
protected boolean hasExcludingConditions()
AbstractQuery
hasExcludingConditions
in class AbstractQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
true
if the query does have excluding conditions, false
otherwisepublic HistoricTaskInstanceQueryImpl orderByTaskId()
HistoricTaskInstanceQuery
Query.asc()
or Query.desc()
).orderByTaskId
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl orderByHistoricActivityInstanceId()
HistoricTaskInstanceQuery
Query.asc()
or Query.desc()
).orderByHistoricActivityInstanceId
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl orderByProcessDefinitionId()
HistoricTaskInstanceQuery
Query.asc()
or Query.desc()
).orderByProcessDefinitionId
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl orderByProcessInstanceId()
HistoricTaskInstanceQuery
Query.asc()
or Query.desc()
).orderByProcessInstanceId
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl orderByExecutionId()
HistoricTaskInstanceQuery
Query.asc()
or Query.desc()
).orderByExecutionId
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl orderByHistoricTaskInstanceDuration()
HistoricTaskInstanceQuery
Query.asc()
or Query.desc()
).orderByHistoricTaskInstanceDuration
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl orderByHistoricTaskInstanceEndTime()
HistoricTaskInstanceQuery
Query.asc()
or Query.desc()
).orderByHistoricTaskInstanceEndTime
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl orderByHistoricActivityInstanceStartTime()
HistoricTaskInstanceQuery
Query.asc()
or Query.desc()
).orderByHistoricActivityInstanceStartTime
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl orderByTaskName()
HistoricTaskInstanceQuery
Query.asc()
or Query.desc()
).orderByTaskName
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl orderByTaskDescription()
HistoricTaskInstanceQuery
Query.asc()
or Query.desc()
).orderByTaskDescription
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery orderByTaskAssignee()
HistoricTaskInstanceQuery
Query.asc()
or Query.desc()
).orderByTaskAssignee
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery orderByTaskOwner()
HistoricTaskInstanceQuery
Query.asc()
or Query.desc()
).orderByTaskOwner
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery orderByTaskDueDate()
HistoricTaskInstanceQuery
Query.asc()
or Query.desc()
).orderByTaskDueDate
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery orderByTaskFollowUpDate()
HistoricTaskInstanceQuery
Query.asc()
or Query.desc()
).orderByTaskFollowUpDate
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQueryImpl orderByDeleteReason()
HistoricTaskInstanceQuery
Query.asc()
or Query.desc()
).orderByDeleteReason
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery orderByTaskDefinitionKey()
HistoricTaskInstanceQuery
Query.asc()
or Query.desc()
).orderByTaskDefinitionKey
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery orderByTaskPriority()
HistoricTaskInstanceQuery
Query.asc()
or Query.desc()
).orderByTaskPriority
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery orderByCaseDefinitionId()
HistoricTaskInstanceQuery
Query.asc()
or Query.desc()
).orderByCaseDefinitionId
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery orderByCaseInstanceId()
HistoricTaskInstanceQuery
Query.asc()
or Query.desc()
).orderByCaseInstanceId
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery orderByCaseExecutionId()
HistoricTaskInstanceQuery
Query.asc()
or Query.desc()
).orderByCaseExecutionId
in interface HistoricTaskInstanceQuery
public HistoricTaskInstanceQuery orderByTenantId()
HistoricTaskInstanceQuery
Query.asc()
or Query.desc()
).
Note that the ordering of historic task instances without tenant id is database-specific.orderByTenantId
in interface HistoricTaskInstanceQuery
public 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 boolean isWithoutTaskDueDate()
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()
HistoricTaskInstanceQuery
After 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 HistoricTaskInstanceQuery
HistoricTaskInstanceQuery
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()
HistoricTaskInstanceQuery
endOr() 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 HistoricTaskInstanceQuery
HistoricTaskInstanceQuery
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.