Package org.camunda.bpm.engine.impl
Class HistoricTaskInstanceQueryImpl
- java.lang.Object
-
- org.camunda.bpm.engine.impl.db.ListQueryParameterObject
-
- org.camunda.bpm.engine.impl.AbstractQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
- org.camunda.bpm.engine.impl.HistoricTaskInstanceQueryImpl
-
- All Implemented Interfaces:
java.io.Serializable,HistoricTaskInstanceQuery,Command<java.lang.Object>,Query<HistoricTaskInstanceQuery,HistoricTaskInstance>
public class HistoricTaskInstanceQueryImpl extends AbstractQuery<HistoricTaskInstanceQuery,HistoricTaskInstance> implements HistoricTaskInstanceQuery
- Author:
- Tom Baeyens
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQuery
AbstractQuery.ResultType
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String[]activityInstanceIdsprotected java.lang.Booleanassignedprotected java.lang.StringcaseDefinitionIdprotected java.lang.StringcaseDefinitionKeyprotected java.lang.StringcaseDefinitionNameprotected java.lang.StringcaseExecutionIdprotected java.lang.StringcaseInstanceIdprotected java.util.DatedueAfterprotected java.util.DatedueBeforeprotected java.util.DatedueDateprotected java.lang.StringexecutionIdprotected booleanfinishedprotected java.util.DatefinishedAfterprotected java.util.DatefinishedBeforeprotected java.util.DatefollowUpAfterprotected java.util.DatefollowUpBeforeprotected java.util.DatefollowUpDateprotected booleanisOrQueryActiveprotected booleanisTenantIdSetprotected booleanisWithoutTaskDueDateprotected java.lang.StringprocessDefinitionIdprotected java.lang.StringprocessDefinitionKeyprotected java.lang.StringprocessDefinitionNameprotected booleanprocessFinishedprotected java.lang.StringprocessInstanceBusinessKeyprotected java.lang.StringprocessInstanceBusinessKeyLikeprotected java.lang.String[]processInstanceBusinessKeysprotected java.lang.StringprocessInstanceIdprotected booleanprocessUnfinishedprotected java.util.List<HistoricTaskInstanceQueryImpl>queriesprotected java.util.DatestartedAfterprotected java.util.DatestartedBeforeprotected java.lang.StringtaskAssigneeprotected java.lang.StringtaskAssigneeLikeprotected java.lang.String[]taskDefinitionKeysprotected java.lang.StringtaskDeleteReasonprotected java.lang.StringtaskDeleteReasonLikeprotected java.lang.StringtaskDescriptionprotected java.lang.StringtaskDescriptionLikeprotected java.lang.StringtaskHadCandidateGroupprotected java.lang.StringtaskHadCandidateUserprotected java.lang.StringtaskIdprotected java.lang.StringtaskInvolvedGroupprotected java.lang.StringtaskInvolvedUserprotected java.lang.StringtaskNameprotected java.lang.StringtaskNameLikeprotected java.lang.StringtaskOwnerprotected java.lang.StringtaskOwnerLikeprotected java.lang.StringtaskParentTaskIdprotected java.lang.IntegertaskPriorityprotected java.lang.String[]tenantIdsprotected java.lang.Booleanunassignedprotected booleanunfinishedprotected java.lang.BooleanvariableNamesIgnoreCaseprotected java.util.List<TaskQueryVariableValue>variablesprotected java.lang.BooleanvariableValuesIgnoreCaseprotected java.lang.BooleanwithCandidateGroupsprotected java.lang.BooleanwithoutCandidateGroups-
Fields inherited from class org.camunda.bpm.engine.impl.AbstractQuery
commandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
-
Fields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
authCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck
-
-
Constructor Summary
Constructors Constructor Description HistoricTaskInstanceQueryImpl()HistoricTaskInstanceQueryImpl(CommandExecutor commandExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HistoricTaskInstanceQueryactivityInstanceIdIn(java.lang.String... activityInstanceIds)Only select historic task instances which have one of the given activity instance ids.voidaddOrQuery(HistoricTaskInstanceQueryImpl orQuery)voidaddVariable(java.lang.String name, java.lang.Object value, QueryOperator operator, boolean isTaskVariable, boolean isProcessInstanceVariable)protected voidaddVariable(TaskQueryVariableValue taskQueryVariableValue)HistoricTaskInstanceQuerycaseDefinitionId(java.lang.String caseDefinitionId)Only select historic task instances for the given case definition.HistoricTaskInstanceQuerycaseDefinitionKey(java.lang.String caseDefinitionKey)Only select historic task instances which are part of a case instance which has the given case definition key.HistoricTaskInstanceQuerycaseDefinitionName(java.lang.String caseDefinitionName)Only select historic task instances which are part of a (historic) case instance which has the given case definition name.HistoricTaskInstanceQuerycaseExecutionId(java.lang.String caseExecutionId)Only select historic task instances for the given case execution id.HistoricTaskInstanceQuerycaseInstanceId(java.lang.String caseInstanceId)Only select historic task instances for the given case instance.HistoricTaskInstanceQueryendOr()endOr() terminates an OR query on which an arbitrary amount of filter criteria were applied.protected voidensureVariablesInitialized()longexecuteCount(CommandContext commandContext)java.util.List<HistoricTaskInstance>executeList(CommandContext commandContext, Page page)Executes the actual query to retrieve the list of results.HistoricTaskInstanceQueryImplexecutionId(java.lang.String executionId)Only select historic task instances for the given execution.HistoricTaskInstanceQueryImplfinished()Only select historic task instances which are finished.HistoricTaskInstanceQueryfinishedAfter(java.util.Date date)Only select tasks where end time is after given dateHistoricTaskInstanceQueryfinishedBefore(java.util.Date date)Only select tasks where end time is before given datejava.lang.String[]getActivityInstanceIds()java.lang.StringgetCaseDefinitionId()java.lang.StringgetCaseDefinitionKey()java.lang.StringgetCaseDefinitionName()java.lang.StringgetCaseExecutionId()java.lang.StringgetCaseInstanceId()java.util.DategetDueAfter()java.util.DategetDueBefore()java.util.DategetDueDate()java.lang.StringgetExecutionId()java.util.DategetFinishedAfter()java.util.DategetFinishedBefore()java.util.DategetFollowUpAfter()java.util.DategetFollowUpBefore()java.util.DategetFollowUpDate()java.lang.StringgetProcessDefinitionId()java.lang.StringgetProcessDefinitionKey()java.lang.StringgetProcessDefinitionName()java.lang.StringgetProcessInstanceBusinessKey()java.lang.StringgetProcessInstanceBusinessKeyLike()java.lang.String[]getProcessInstanceBusinessKeys()java.lang.StringgetProcessInstanceId()java.util.List<HistoricTaskInstanceQueryImpl>getQueries()java.util.DategetStartedAfter()java.util.DategetStartedBefore()java.lang.StringgetTaskAssignee()java.lang.StringgetTaskAssigneeLike()java.lang.String[]getTaskDefinitionKeys()java.lang.StringgetTaskDeleteReason()java.lang.StringgetTaskDeleteReasonLike()java.lang.StringgetTaskDescription()java.lang.StringgetTaskDescriptionLike()java.lang.StringgetTaskHadCandidateGroup()java.lang.StringgetTaskHadCandidateUser()java.lang.StringgetTaskId()java.lang.StringgetTaskInvolvedGroup()java.lang.StringgetTaskInvolvedUser()java.lang.StringgetTaskName()java.lang.StringgetTaskNameLike()java.lang.StringgetTaskOwner()java.lang.StringgetTaskOwnerLike()java.lang.StringgetTaskParentTaskId()java.lang.IntegergetTaskPriority()java.lang.String[]getTenantIds()java.lang.BooleangetVariableNamesIgnoreCase()java.util.List<TaskQueryVariableValue>getVariables()java.lang.BooleangetVariableValuesIgnoreCase()protected booleanhasExcludingConditions()Whether or not the query has excluding conditions.java.lang.BooleanisAssigned()booleanisFinished()booleanisOrQueryActive()booleanisProcessFinished()booleanisProcessUnfinished()booleanisTenantIdSet()java.lang.BooleanisUnassigned()booleanisUnfinished()java.lang.BooleanisWithCandidateGroups()java.lang.BooleanisWithoutCandidateGroups()booleanisWithoutTaskDueDate()HistoricTaskInstanceQuerymatchVariableNamesIgnoreCase()The query will match the names of task and process variables in a case-insensitive way.HistoricTaskInstanceQuerymatchVariableValuesIgnoreCase()The query will match the values of task and process variables in a case-insensitive way.HistoricTaskInstanceQueryor()After calling or(), a chain of several filter criteria could follow.HistoricTaskInstanceQueryorderByCaseDefinitionId()Order by case definition id (needs to be followed byQuery.asc()orQuery.desc()).HistoricTaskInstanceQueryorderByCaseExecutionId()Order by case execution id (needs to be followed byQuery.asc()orQuery.desc()).HistoricTaskInstanceQueryorderByCaseInstanceId()Order by case instance id (needs to be followed byQuery.asc()orQuery.desc()).HistoricTaskInstanceQueryImplorderByDeleteReason()Order by task delete reason (needs to be followed byQuery.asc()orQuery.desc()).HistoricTaskInstanceQueryImplorderByExecutionId()Order by execution id (needs to be followed byQuery.asc()orQuery.desc()).HistoricTaskInstanceQueryImplorderByHistoricActivityInstanceId()Order by the historic activity instance id this task was used in (needs to be followed byQuery.asc()orQuery.desc()).HistoricTaskInstanceQueryImplorderByHistoricActivityInstanceStartTime()Order by start time (needs to be followed byQuery.asc()orQuery.desc()).HistoricTaskInstanceQueryImplorderByHistoricTaskInstanceDuration()Order by duration (needs to be followed byQuery.asc()orQuery.desc()).HistoricTaskInstanceQueryImplorderByHistoricTaskInstanceEndTime()Order by end time (needs to be followed byQuery.asc()orQuery.desc()).HistoricTaskInstanceQueryImplorderByProcessDefinitionId()Order by process definition id (needs to be followed byQuery.asc()orQuery.desc()).HistoricTaskInstanceQueryImplorderByProcessInstanceId()Order by process instance id (needs to be followed byQuery.asc()orQuery.desc()).HistoricTaskInstanceQueryorderByTaskAssignee()Order by task assignee (needs to be followed byQuery.asc()orQuery.desc()).HistoricTaskInstanceQueryorderByTaskDefinitionKey()Order by task definition key (needs to be followed byQuery.asc()orQuery.desc()).HistoricTaskInstanceQueryImplorderByTaskDescription()Order by task description (needs to be followed byQuery.asc()orQuery.desc()).HistoricTaskInstanceQueryorderByTaskDueDate()Order by task due date (needs to be followed byQuery.asc()orQuery.desc()).HistoricTaskInstanceQueryorderByTaskFollowUpDate()Order by task follow-up date (needs to be followed byQuery.asc()orQuery.desc()).HistoricTaskInstanceQueryImplorderByTaskId()Order by task id (needs to be followed byQuery.asc()orQuery.desc()).HistoricTaskInstanceQueryImplorderByTaskName()Order by task name (needs to be followed byQuery.asc()orQuery.desc()).HistoricTaskInstanceQueryorderByTaskOwner()Order by task owner (needs to be followed byQuery.asc()orQuery.desc()).HistoricTaskInstanceQueryorderByTaskPriority()Order by task priority key (needs to be followed byQuery.asc()orQuery.desc()).HistoricTaskInstanceQueryorderByTenantId()Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()).HistoricTaskInstanceQueryImplprocessDefinitionId(java.lang.String processDefinitionId)Only select historic task instances for the given process definition.HistoricTaskInstanceQueryprocessDefinitionKey(java.lang.String processDefinitionKey)Only select historic task instances which are part of a (historic) process instance which has the given process definition key.HistoricTaskInstanceQueryprocessDefinitionName(java.lang.String processDefinitionName)Only select historic task instances which are part of a (historic) process instance which has the given definition name.HistoricTaskInstanceQueryprocessFinished()Only select historic task instances which are part of a process instance which is already finished.HistoricTaskInstanceQueryprocessInstanceBusinessKey(java.lang.String processInstanceBusinessKey)Only select historic tasks for the given process instance business keyHistoricTaskInstanceQueryprocessInstanceBusinessKeyIn(java.lang.String... processInstanceBusinessKeys)Only select historic tasks for any of the given the given process instance business keys.HistoricTaskInstanceQueryprocessInstanceBusinessKeyLike(java.lang.String processInstanceBusinessKey)Only select historic tasks matching the given process instance business key.HistoricTaskInstanceQueryImplprocessInstanceId(java.lang.String processInstanceId)Only select historic task instances for the given process instance.HistoricTaskInstanceQueryprocessUnfinished()Only select historic task instances which are part of a process instance which is not finished yet.HistoricTaskInstanceQueryprocessVariableValueEquals(java.lang.String variableName, java.lang.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.HistoricTaskInstanceQueryprocessVariableValueGreaterThan(java.lang.String variableName, java.lang.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.HistoricTaskInstanceQueryprocessVariableValueGreaterThanOrEquals(java.lang.String variableName, java.lang.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.HistoricTaskInstanceQueryprocessVariableValueLessThan(java.lang.String variableName, java.lang.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.HistoricTaskInstanceQueryprocessVariableValueLessThanOrEquals(java.lang.String variableName, java.lang.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.HistoricTaskInstanceQueryprocessVariableValueLike(java.lang.String variableName, java.lang.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.HistoricTaskInstanceQueryprocessVariableValueNotEquals(java.lang.String variableName, java.lang.Object variableValue)Only select historic task instances which have a variable with the given name, but with a different value than the passed value.HistoricTaskInstanceQueryprocessVariableValueNotLike(java.lang.String variableName, java.lang.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.voidsetOrQueryActive()HistoricTaskInstanceQuerystartedAfter(java.util.Date date)Only select tasks where started after given dateHistoricTaskInstanceQuerystartedBefore(java.util.Date date)Only select tasks where started before given dateHistoricTaskInstanceQueryImpltaskAssigned()Only select historic task instances with an assignee.HistoricTaskInstanceQueryImpltaskAssignee(java.lang.String taskAssignee)Only select historic task instances which were last taskAssigned to the given assignee.HistoricTaskInstanceQueryImpltaskAssigneeLike(java.lang.String taskAssigneeLike)Only select historic task instances which were last taskAssigned to an assignee like the given value.HistoricTaskInstanceQuerytaskDefinitionKey(java.lang.String taskDefinitionKey)Only select historic task instances with the given task definition key.HistoricTaskInstanceQuerytaskDefinitionKeyIn(java.lang.String... taskDefinitionKeys)Only select historic task instances with one of the given task definition keys.HistoricTaskInstanceQueryImpltaskDeleteReason(java.lang.String taskDeleteReason)Only select historic task instances with the given task delete reason.HistoricTaskInstanceQueryImpltaskDeleteReasonLike(java.lang.String taskDeleteReasonLike)Only select historic task instances with a task description like the given value.HistoricTaskInstanceQueryImpltaskDescription(java.lang.String taskDescription)Only select historic task instances with the given task description.HistoricTaskInstanceQueryImpltaskDescriptionLike(java.lang.String taskDescriptionLike)Only select historic task instances with a task description like the given value.HistoricTaskInstanceQuerytaskDueAfter(java.util.Date dueAfter)Only select select historic task instances which have a due date after the given date.HistoricTaskInstanceQuerytaskDueBefore(java.util.Date dueBefore)Only select select historic task instances which have a due date before the given date.HistoricTaskInstanceQuerytaskDueDate(java.util.Date dueDate)Only select select historic task instances with the given due date.HistoricTaskInstanceQuerytaskFollowUpAfter(java.util.Date followUpAfter)Only select select historic task instances which have a follow-up date after the given date.HistoricTaskInstanceQuerytaskFollowUpBefore(java.util.Date followUpBefore)Only select select historic task instances which have a follow-up date before the given date.HistoricTaskInstanceQuerytaskFollowUpDate(java.util.Date followUpDate)Only select select historic task instances with the given follow-up date.HistoricTaskInstanceQuerytaskHadCandidateGroup(java.lang.String groupId)Only select historic task instances which have mapping with Historic identity links with the condition of group being a candidateHistoricTaskInstanceQuerytaskHadCandidateUser(java.lang.String userId)Only select historic task instances which have mapping with Historic identity links with the condition of user being a candidateHistoricTaskInstanceQuerytaskId(java.lang.String taskId)Only select historic task instances for the given task id.HistoricTaskInstanceQuerytaskInvolvedGroup(java.lang.String groupId)Only select historic task instances which have mapping with Historic identity links based on group idHistoricTaskInstanceQuerytaskInvolvedUser(java.lang.String userId)Only select historic task instances which have mapping with Historic identity links based on user idHistoricTaskInstanceQueryImpltaskName(java.lang.String taskName)Only select historic task instances with the given task name.HistoricTaskInstanceQueryImpltaskNameLike(java.lang.String taskNameLike)Only select historic task instances with a task name like the given value.HistoricTaskInstanceQueryImpltaskOwner(java.lang.String taskOwner)Only select historic task instances which have the given owner.HistoricTaskInstanceQueryImpltaskOwnerLike(java.lang.String taskOwnerLike)Only select historic task instances which have an owner like the one specified.HistoricTaskInstanceQuerytaskParentTaskId(java.lang.String parentTaskId)Only select subtasks of the given parent taskHistoricTaskInstanceQuerytaskPriority(java.lang.Integer taskPriority)Only select historic task instances with the given priority.HistoricTaskInstanceQueryImpltaskUnassigned()Only select historic task instances without an assignee.HistoricTaskInstanceQueryImpltaskVariableValueEquals(java.lang.String variableName, java.lang.Object variableValue)Only select historic task instances which have a local task variable with the given name set to the given value.HistoricTaskInstanceQuerytenantIdIn(java.lang.String... tenantIds)Only select historic task instances with one of the given tenant ids.HistoricTaskInstanceQueryImplunfinished()Only select historic task instances which aren't finished yet.HistoricTaskInstanceQuerywithCandidateGroups()Only select historic task instances which have a candidate groupHistoricTaskInstanceQuerywithoutCandidateGroups()Only select historic task instances which have no candidate groupHistoricTaskInstanceQuerywithoutTaskDueDate()Only select select historic task instances that have no due date.HistoricTaskInstanceQuerywithoutTenantId()Only selects historic task instances that have no tenant id.-
Methods inherited from class org.camunda.bpm.engine.impl.AbstractQuery
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
-
Methods inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheck
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.engine.impl.interceptor.Command
isRetryable
-
Methods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
-
-
-
Field Detail
-
processDefinitionId
protected java.lang.String processDefinitionId
-
processDefinitionKey
protected java.lang.String processDefinitionKey
-
processDefinitionName
protected java.lang.String processDefinitionName
-
processInstanceId
protected java.lang.String processInstanceId
-
processInstanceBusinessKey
protected java.lang.String processInstanceBusinessKey
-
processInstanceBusinessKeys
protected java.lang.String[] processInstanceBusinessKeys
-
processInstanceBusinessKeyLike
protected java.lang.String processInstanceBusinessKeyLike
-
executionId
protected java.lang.String executionId
-
activityInstanceIds
protected java.lang.String[] activityInstanceIds
-
taskId
protected java.lang.String taskId
-
taskName
protected java.lang.String taskName
-
taskNameLike
protected java.lang.String taskNameLike
-
taskParentTaskId
protected java.lang.String taskParentTaskId
-
taskDescription
protected java.lang.String taskDescription
-
taskDescriptionLike
protected java.lang.String taskDescriptionLike
-
taskDeleteReason
protected java.lang.String taskDeleteReason
-
taskDeleteReasonLike
protected java.lang.String taskDeleteReasonLike
-
taskOwner
protected java.lang.String taskOwner
-
taskOwnerLike
protected java.lang.String taskOwnerLike
-
assigned
protected java.lang.Boolean assigned
-
unassigned
protected java.lang.Boolean unassigned
-
taskAssignee
protected java.lang.String taskAssignee
-
taskAssigneeLike
protected java.lang.String taskAssigneeLike
-
taskDefinitionKeys
protected java.lang.String[] taskDefinitionKeys
-
taskInvolvedUser
protected java.lang.String taskInvolvedUser
-
taskInvolvedGroup
protected java.lang.String taskInvolvedGroup
-
taskHadCandidateUser
protected java.lang.String taskHadCandidateUser
-
taskHadCandidateGroup
protected java.lang.String taskHadCandidateGroup
-
withCandidateGroups
protected java.lang.Boolean withCandidateGroups
-
withoutCandidateGroups
protected java.lang.Boolean withoutCandidateGroups
-
taskPriority
protected java.lang.Integer taskPriority
-
finished
protected boolean finished
-
unfinished
protected boolean unfinished
-
processFinished
protected boolean processFinished
-
processUnfinished
protected boolean processUnfinished
-
variables
protected java.util.List<TaskQueryVariableValue> variables
-
variableNamesIgnoreCase
protected java.lang.Boolean variableNamesIgnoreCase
-
variableValuesIgnoreCase
protected java.lang.Boolean variableValuesIgnoreCase
-
dueDate
protected java.util.Date dueDate
-
dueAfter
protected java.util.Date dueAfter
-
dueBefore
protected java.util.Date dueBefore
-
isWithoutTaskDueDate
protected boolean isWithoutTaskDueDate
-
followUpDate
protected java.util.Date followUpDate
-
followUpBefore
protected java.util.Date followUpBefore
-
followUpAfter
protected java.util.Date followUpAfter
-
tenantIds
protected java.lang.String[] tenantIds
-
isTenantIdSet
protected boolean isTenantIdSet
-
caseDefinitionId
protected java.lang.String caseDefinitionId
-
caseDefinitionKey
protected java.lang.String caseDefinitionKey
-
caseDefinitionName
protected java.lang.String caseDefinitionName
-
caseInstanceId
protected java.lang.String caseInstanceId
-
caseExecutionId
protected java.lang.String caseExecutionId
-
finishedAfter
protected java.util.Date finishedAfter
-
finishedBefore
protected java.util.Date finishedBefore
-
startedAfter
protected java.util.Date startedAfter
-
startedBefore
protected java.util.Date startedBefore
-
queries
protected java.util.List<HistoricTaskInstanceQueryImpl> queries
-
isOrQueryActive
protected boolean isOrQueryActive
-
-
Constructor Detail
-
HistoricTaskInstanceQueryImpl
public HistoricTaskInstanceQueryImpl()
-
HistoricTaskInstanceQueryImpl
public HistoricTaskInstanceQueryImpl(CommandExecutor commandExecutor)
-
-
Method Detail
-
executeCount
public long executeCount(CommandContext commandContext)
- Specified by:
executeCountin classAbstractQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
executeList
public java.util.List<HistoricTaskInstance> executeList(CommandContext commandContext, Page page)
Description copied from class:AbstractQueryExecutes the actual query to retrieve the list of results.- Specified by:
executeListin classAbstractQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>page- used if the results must be paged. If null, no paging will be applied.
-
processInstanceId
public HistoricTaskInstanceQueryImpl processInstanceId(java.lang.String processInstanceId)
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances for the given process instance.- Specified by:
processInstanceIdin interfaceHistoricTaskInstanceQuery
-
processInstanceBusinessKey
public HistoricTaskInstanceQuery processInstanceBusinessKey(java.lang.String processInstanceBusinessKey)
Description copied from interface:HistoricTaskInstanceQueryOnly select historic tasks for the given process instance business key- Specified by:
processInstanceBusinessKeyin interfaceHistoricTaskInstanceQuery
-
processInstanceBusinessKeyIn
public HistoricTaskInstanceQuery processInstanceBusinessKeyIn(java.lang.String... processInstanceBusinessKeys)
Description copied from interface:HistoricTaskInstanceQueryOnly select historic tasks for any of the given the given process instance business keys.- Specified by:
processInstanceBusinessKeyInin interfaceHistoricTaskInstanceQuery
-
processInstanceBusinessKeyLike
public HistoricTaskInstanceQuery processInstanceBusinessKeyLike(java.lang.String processInstanceBusinessKey)
Description copied from interface:HistoricTaskInstanceQueryOnly select historic tasks matching the given process instance business key. The syntax is that of SQL: for example usage: nameLike(%camunda%)- Specified by:
processInstanceBusinessKeyLikein interfaceHistoricTaskInstanceQuery
-
executionId
public HistoricTaskInstanceQueryImpl executionId(java.lang.String executionId)
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances for the given execution.- Specified by:
executionIdin interfaceHistoricTaskInstanceQuery
-
activityInstanceIdIn
public HistoricTaskInstanceQuery activityInstanceIdIn(java.lang.String... activityInstanceIds)
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances which have one of the given activity instance ids.- Specified by:
activityInstanceIdInin interfaceHistoricTaskInstanceQuery
-
processDefinitionId
public HistoricTaskInstanceQueryImpl processDefinitionId(java.lang.String processDefinitionId)
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances for the given process definition.- Specified by:
processDefinitionIdin interfaceHistoricTaskInstanceQuery
-
processDefinitionKey
public HistoricTaskInstanceQuery processDefinitionKey(java.lang.String processDefinitionKey)
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances which are part of a (historic) process instance which has the given process definition key.- Specified by:
processDefinitionKeyin interfaceHistoricTaskInstanceQuery
-
processDefinitionName
public HistoricTaskInstanceQuery processDefinitionName(java.lang.String processDefinitionName)
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances which are part of a (historic) process instance which has the given definition name.- Specified by:
processDefinitionNamein interfaceHistoricTaskInstanceQuery
-
taskId
public HistoricTaskInstanceQuery taskId(java.lang.String taskId)
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances for the given task id.- Specified by:
taskIdin interfaceHistoricTaskInstanceQuery
-
taskName
public HistoricTaskInstanceQueryImpl taskName(java.lang.String taskName)
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances with the given task name. This is the last name given to the task. The query will match the names of historic task instances in a case-insensitive way.- Specified by:
taskNamein interfaceHistoricTaskInstanceQuery
-
taskNameLike
public HistoricTaskInstanceQueryImpl taskNameLike(java.lang.String taskNameLike)
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances with a task name like the given value. This is the last name given to the task. The syntax that should be used is the same as in SQL, eg. %activiti%. The query will match the names of historic task instances in a case-insensitive way.- Specified by:
taskNameLikein interfaceHistoricTaskInstanceQuery
-
taskParentTaskId
public HistoricTaskInstanceQuery taskParentTaskId(java.lang.String parentTaskId)
Description copied from interface:HistoricTaskInstanceQueryOnly select subtasks of the given parent task- Specified by:
taskParentTaskIdin interfaceHistoricTaskInstanceQuery
-
taskDescription
public HistoricTaskInstanceQueryImpl taskDescription(java.lang.String taskDescription)
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances with the given task description. This is the last description given to the task. The query will match the descriptions of historic task instances in a case-insensitive way.- Specified by:
taskDescriptionin interfaceHistoricTaskInstanceQuery
-
taskDescriptionLike
public HistoricTaskInstanceQueryImpl taskDescriptionLike(java.lang.String taskDescriptionLike)
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances with a task description like the given value. This is the last description given to the task. The syntax that should be used is the same as in SQL, eg. %activiti%. The query will match the descriptions of historice task instances in a case-insensitive way.- Specified by:
taskDescriptionLikein interfaceHistoricTaskInstanceQuery
-
taskDeleteReason
public HistoricTaskInstanceQueryImpl taskDeleteReason(java.lang.String taskDeleteReason)
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances with the given task delete reason.- Specified by:
taskDeleteReasonin interfaceHistoricTaskInstanceQuery
-
taskDeleteReasonLike
public HistoricTaskInstanceQueryImpl taskDeleteReasonLike(java.lang.String 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. %activiti%.- Specified by:
taskDeleteReasonLikein interfaceHistoricTaskInstanceQuery
-
taskAssigned
public HistoricTaskInstanceQueryImpl taskAssigned()
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances with an assignee.- Specified by:
taskAssignedin interfaceHistoricTaskInstanceQuery
-
taskUnassigned
public HistoricTaskInstanceQueryImpl taskUnassigned()
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances without an assignee.- Specified by:
taskUnassignedin interfaceHistoricTaskInstanceQuery
-
taskAssignee
public HistoricTaskInstanceQueryImpl taskAssignee(java.lang.String taskAssignee)
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances which were last taskAssigned to the given assignee.- Specified by:
taskAssigneein interfaceHistoricTaskInstanceQuery
-
taskAssigneeLike
public HistoricTaskInstanceQueryImpl taskAssigneeLike(java.lang.String taskAssigneeLike)
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances which were last taskAssigned to an assignee like the given value. The syntax that should be used is the same as in SQL, eg. %activiti%.- Specified by:
taskAssigneeLikein interfaceHistoricTaskInstanceQuery
-
taskOwner
public HistoricTaskInstanceQueryImpl taskOwner(java.lang.String taskOwner)
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances which have the given owner.- Specified by:
taskOwnerin interfaceHistoricTaskInstanceQuery
-
taskOwnerLike
public HistoricTaskInstanceQueryImpl taskOwnerLike(java.lang.String taskOwnerLike)
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances which have an owner like the one specified. The syntax that should be used is the same as in SQL, eg. %activiti%.- Specified by:
taskOwnerLikein interfaceHistoricTaskInstanceQuery
-
caseDefinitionId
public HistoricTaskInstanceQuery caseDefinitionId(java.lang.String caseDefinitionId)
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances for the given case definition.- Specified by:
caseDefinitionIdin interfaceHistoricTaskInstanceQuery
-
caseDefinitionKey
public HistoricTaskInstanceQuery caseDefinitionKey(java.lang.String caseDefinitionKey)
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances which are part of a case instance which has the given case definition key.- Specified by:
caseDefinitionKeyin interfaceHistoricTaskInstanceQuery
-
caseDefinitionName
public HistoricTaskInstanceQuery caseDefinitionName(java.lang.String caseDefinitionName)
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances which are part of a (historic) case instance which has the given case definition name.- Specified by:
caseDefinitionNamein interfaceHistoricTaskInstanceQuery
-
caseInstanceId
public HistoricTaskInstanceQuery caseInstanceId(java.lang.String caseInstanceId)
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances for the given case instance.- Specified by:
caseInstanceIdin interfaceHistoricTaskInstanceQuery
-
caseExecutionId
public HistoricTaskInstanceQuery caseExecutionId(java.lang.String caseExecutionId)
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances for the given case execution id.- Specified by:
caseExecutionIdin interfaceHistoricTaskInstanceQuery
-
finished
public HistoricTaskInstanceQueryImpl finished()
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances which are finished.- Specified by:
finishedin interfaceHistoricTaskInstanceQuery
-
unfinished
public HistoricTaskInstanceQueryImpl unfinished()
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances which aren't finished yet.- Specified by:
unfinishedin interfaceHistoricTaskInstanceQuery
-
matchVariableNamesIgnoreCase
public HistoricTaskInstanceQuery matchVariableNamesIgnoreCase()
Description copied from interface:HistoricTaskInstanceQueryThe query will match the names of task and process variables in a case-insensitive way.- Specified by:
matchVariableNamesIgnoreCasein interfaceHistoricTaskInstanceQuery
-
matchVariableValuesIgnoreCase
public HistoricTaskInstanceQuery matchVariableValuesIgnoreCase()
Description copied from interface:HistoricTaskInstanceQueryThe query will match the values of task and process variables in a case-insensitive way.- Specified by:
matchVariableValuesIgnoreCasein interfaceHistoricTaskInstanceQuery
-
taskVariableValueEquals
public HistoricTaskInstanceQueryImpl taskVariableValueEquals(java.lang.String variableName, java.lang.Object variableValue)
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances which have a local task variable with the given name set to the given value. Make sure history-level is configured >= AUDIT when this feature is used.- Specified by:
taskVariableValueEqualsin interfaceHistoricTaskInstanceQuery
-
processVariableValueEquals
public HistoricTaskInstanceQuery processVariableValueEquals(java.lang.String variableName, java.lang.Object variableValue)
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances which are part of a process instance which have a variable with the given name set to the given value. The last variable value in the variable updates (HistoricDetail) will be used, so make sure history-level is configured >= AUDIT when this feature is used.- Specified by:
processVariableValueEqualsin interfaceHistoricTaskInstanceQuery
-
processVariableValueNotEquals
public HistoricTaskInstanceQuery processVariableValueNotEquals(java.lang.String variableName, java.lang.Object variableValue)
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances 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 interfaceHistoricTaskInstanceQuery
-
processVariableValueLike
public HistoricTaskInstanceQuery processVariableValueLike(java.lang.String variableName, java.lang.Object variableValue)
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances which are part of a process that have a variable with the given name and matching the given value. The syntax is that of SQL: for example usage: valueLike(%value%)- Specified by:
processVariableValueLikein interfaceHistoricTaskInstanceQuery
-
processVariableValueNotLike
public HistoricTaskInstanceQuery processVariableValueNotLike(java.lang.String variableName, java.lang.Object variableValue)
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances which are part of a process that have a variable with the given name and not matching the given value. The syntax is that of SQL: for example usage: valueNotLike(%value%)- Specified by:
processVariableValueNotLikein interfaceHistoricTaskInstanceQuery
-
processVariableValueGreaterThan
public HistoricTaskInstanceQuery processVariableValueGreaterThan(java.lang.String variableName, java.lang.Object variableValue)
Description copied from interface:HistoricTaskInstanceQueryOnly 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.- Specified by:
processVariableValueGreaterThanin interfaceHistoricTaskInstanceQuery
-
processVariableValueGreaterThanOrEquals
public HistoricTaskInstanceQuery processVariableValueGreaterThanOrEquals(java.lang.String variableName, java.lang.Object variableValue)
Description copied from interface:HistoricTaskInstanceQueryOnly 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.- Specified by:
processVariableValueGreaterThanOrEqualsin interfaceHistoricTaskInstanceQuery
-
processVariableValueLessThan
public HistoricTaskInstanceQuery processVariableValueLessThan(java.lang.String variableName, java.lang.Object variableValue)
Description copied from interface:HistoricTaskInstanceQueryOnly 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.- Specified by:
processVariableValueLessThanin interfaceHistoricTaskInstanceQuery
-
processVariableValueLessThanOrEquals
public HistoricTaskInstanceQuery processVariableValueLessThanOrEquals(java.lang.String variableName, java.lang.Object variableValue)
Description copied from interface:HistoricTaskInstanceQueryOnly 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.- Specified by:
processVariableValueLessThanOrEqualsin interfaceHistoricTaskInstanceQuery
-
taskDefinitionKey
public HistoricTaskInstanceQuery taskDefinitionKey(java.lang.String taskDefinitionKey)
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances with the given task definition key.- Specified by:
taskDefinitionKeyin interfaceHistoricTaskInstanceQuery- See Also:
Task.getTaskDefinitionKey()
-
taskDefinitionKeyIn
public HistoricTaskInstanceQuery taskDefinitionKeyIn(java.lang.String... taskDefinitionKeys)
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances with one of the given task definition keys.- Specified by:
taskDefinitionKeyInin interfaceHistoricTaskInstanceQuery- See Also:
Task.getTaskDefinitionKey()
-
taskPriority
public HistoricTaskInstanceQuery taskPriority(java.lang.Integer taskPriority)
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances with the given priority.- Specified by:
taskPriorityin interfaceHistoricTaskInstanceQuery
-
processFinished
public HistoricTaskInstanceQuery 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
-
taskInvolvedUser
public HistoricTaskInstanceQuery taskInvolvedUser(java.lang.String userId)
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances which have mapping with Historic identity links based on user id- Specified by:
taskInvolvedUserin interfaceHistoricTaskInstanceQuery
-
taskInvolvedGroup
public HistoricTaskInstanceQuery taskInvolvedGroup(java.lang.String groupId)
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances which have mapping with Historic identity links based on group id- Specified by:
taskInvolvedGroupin interfaceHistoricTaskInstanceQuery
-
taskHadCandidateUser
public HistoricTaskInstanceQuery taskHadCandidateUser(java.lang.String userId)
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances which have mapping with Historic identity links with the condition of user being a candidate- Specified by:
taskHadCandidateUserin interfaceHistoricTaskInstanceQuery
-
taskHadCandidateGroup
public HistoricTaskInstanceQuery taskHadCandidateGroup(java.lang.String groupId)
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances which have mapping with Historic identity links with the condition of group being a candidate- Specified by:
taskHadCandidateGroupin interfaceHistoricTaskInstanceQuery
-
withCandidateGroups
public HistoricTaskInstanceQuery withCandidateGroups()
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances which have a candidate group- Specified by:
withCandidateGroupsin interfaceHistoricTaskInstanceQuery
-
withoutCandidateGroups
public HistoricTaskInstanceQuery withoutCandidateGroups()
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances which have no candidate group- Specified by:
withoutCandidateGroupsin interfaceHistoricTaskInstanceQuery
-
processUnfinished
public HistoricTaskInstanceQuery 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()
-
addVariable
public void addVariable(java.lang.String name, java.lang.Object value, QueryOperator operator, boolean isTaskVariable, boolean isProcessInstanceVariable)
-
addVariable
protected void addVariable(TaskQueryVariableValue taskQueryVariableValue)
-
taskDueDate
public HistoricTaskInstanceQuery taskDueDate(java.util.Date dueDate)
Description copied from interface:HistoricTaskInstanceQueryOnly select select historic task instances with the given due date.- Specified by:
taskDueDatein interfaceHistoricTaskInstanceQuery
-
taskDueAfter
public HistoricTaskInstanceQuery taskDueAfter(java.util.Date dueAfter)
Description copied from interface:HistoricTaskInstanceQueryOnly select select historic task instances which have a due date after the given date.- Specified by:
taskDueAfterin interfaceHistoricTaskInstanceQuery
-
taskDueBefore
public HistoricTaskInstanceQuery taskDueBefore(java.util.Date dueBefore)
Description copied from interface:HistoricTaskInstanceQueryOnly select select historic task instances which have a due date before the given date.- Specified by:
taskDueBeforein interfaceHistoricTaskInstanceQuery
-
withoutTaskDueDate
public HistoricTaskInstanceQuery withoutTaskDueDate()
Description copied from interface:HistoricTaskInstanceQueryOnly select select historic task instances that have no due date.- Specified by:
withoutTaskDueDatein interfaceHistoricTaskInstanceQuery
-
taskFollowUpDate
public HistoricTaskInstanceQuery taskFollowUpDate(java.util.Date followUpDate)
Description copied from interface:HistoricTaskInstanceQueryOnly select select historic task instances with the given follow-up date.- Specified by:
taskFollowUpDatein interfaceHistoricTaskInstanceQuery
-
taskFollowUpBefore
public HistoricTaskInstanceQuery taskFollowUpBefore(java.util.Date followUpBefore)
Description copied from interface:HistoricTaskInstanceQueryOnly select select historic task instances which have a follow-up date before the given date.- Specified by:
taskFollowUpBeforein interfaceHistoricTaskInstanceQuery
-
taskFollowUpAfter
public HistoricTaskInstanceQuery taskFollowUpAfter(java.util.Date followUpAfter)
Description copied from interface:HistoricTaskInstanceQueryOnly select select historic task instances which have a follow-up date after the given date.- Specified by:
taskFollowUpAfterin interfaceHistoricTaskInstanceQuery
-
tenantIdIn
public HistoricTaskInstanceQuery tenantIdIn(java.lang.String... tenantIds)
Description copied from interface:HistoricTaskInstanceQueryOnly select historic task instances with one of the given tenant ids.- Specified by:
tenantIdInin interfaceHistoricTaskInstanceQuery
-
withoutTenantId
public HistoricTaskInstanceQuery withoutTenantId()
Description copied from interface:HistoricTaskInstanceQueryOnly selects historic task instances that have no tenant id.- Specified by:
withoutTenantIdin interfaceHistoricTaskInstanceQuery
-
finishedAfter
public HistoricTaskInstanceQuery finishedAfter(java.util.Date date)
Description copied from interface:HistoricTaskInstanceQueryOnly select tasks where end time is after given date- Specified by:
finishedAfterin interfaceHistoricTaskInstanceQuery
-
finishedBefore
public HistoricTaskInstanceQuery finishedBefore(java.util.Date date)
Description copied from interface:HistoricTaskInstanceQueryOnly select tasks where end time is before given date- Specified by:
finishedBeforein interfaceHistoricTaskInstanceQuery
-
startedAfter
public HistoricTaskInstanceQuery startedAfter(java.util.Date date)
Description copied from interface:HistoricTaskInstanceQueryOnly select tasks where started after given date- Specified by:
startedAfterin interfaceHistoricTaskInstanceQuery
-
startedBefore
public HistoricTaskInstanceQuery startedBefore(java.util.Date date)
Description copied from interface:HistoricTaskInstanceQueryOnly select tasks where started before given date- Specified by:
startedBeforein interfaceHistoricTaskInstanceQuery
-
hasExcludingConditions
protected boolean hasExcludingConditions()
Description copied from class:AbstractQueryWhether or not the query has excluding conditions. If the query has excluding conditions, (e.g. task due date before and after are excluding), the SQL query is avoided and a default result is returned. The returned result is the same as if the SQL was executed and there were no entries.- Overrides:
hasExcludingConditionsin classAbstractQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>- Returns:
trueif the query does have excluding conditions,falseotherwise
-
orderByTaskId
public HistoricTaskInstanceQueryImpl orderByTaskId()
Description copied from interface:HistoricTaskInstanceQueryOrder by task id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTaskIdin interfaceHistoricTaskInstanceQuery
-
orderByHistoricActivityInstanceId
public HistoricTaskInstanceQueryImpl 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
public HistoricTaskInstanceQueryImpl orderByProcessDefinitionId()
Description copied from interface:HistoricTaskInstanceQueryOrder by process definition id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByProcessDefinitionIdin interfaceHistoricTaskInstanceQuery
-
orderByProcessInstanceId
public HistoricTaskInstanceQueryImpl orderByProcessInstanceId()
Description copied from interface:HistoricTaskInstanceQueryOrder by process instance id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByProcessInstanceIdin interfaceHistoricTaskInstanceQuery
-
orderByExecutionId
public HistoricTaskInstanceQueryImpl orderByExecutionId()
Description copied from interface:HistoricTaskInstanceQueryOrder by execution id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByExecutionIdin interfaceHistoricTaskInstanceQuery
-
orderByHistoricTaskInstanceDuration
public HistoricTaskInstanceQueryImpl orderByHistoricTaskInstanceDuration()
Description copied from interface:HistoricTaskInstanceQueryOrder by duration (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByHistoricTaskInstanceDurationin interfaceHistoricTaskInstanceQuery
-
orderByHistoricTaskInstanceEndTime
public HistoricTaskInstanceQueryImpl orderByHistoricTaskInstanceEndTime()
Description copied from interface:HistoricTaskInstanceQueryOrder by end time (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByHistoricTaskInstanceEndTimein interfaceHistoricTaskInstanceQuery
-
orderByHistoricActivityInstanceStartTime
public HistoricTaskInstanceQueryImpl orderByHistoricActivityInstanceStartTime()
Description copied from interface:HistoricTaskInstanceQueryOrder by start time (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByHistoricActivityInstanceStartTimein interfaceHistoricTaskInstanceQuery
-
orderByTaskName
public HistoricTaskInstanceQueryImpl orderByTaskName()
Description copied from interface:HistoricTaskInstanceQueryOrder by task name (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTaskNamein interfaceHistoricTaskInstanceQuery
-
orderByTaskDescription
public HistoricTaskInstanceQueryImpl orderByTaskDescription()
Description copied from interface:HistoricTaskInstanceQueryOrder by task description (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTaskDescriptionin interfaceHistoricTaskInstanceQuery
-
orderByTaskAssignee
public HistoricTaskInstanceQuery orderByTaskAssignee()
Description copied from interface:HistoricTaskInstanceQueryOrder by task assignee (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTaskAssigneein interfaceHistoricTaskInstanceQuery
-
orderByTaskOwner
public HistoricTaskInstanceQuery orderByTaskOwner()
Description copied from interface:HistoricTaskInstanceQueryOrder by task owner (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTaskOwnerin interfaceHistoricTaskInstanceQuery
-
orderByTaskDueDate
public HistoricTaskInstanceQuery orderByTaskDueDate()
Description copied from interface:HistoricTaskInstanceQueryOrder by task due date (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTaskDueDatein interfaceHistoricTaskInstanceQuery
-
orderByTaskFollowUpDate
public HistoricTaskInstanceQuery orderByTaskFollowUpDate()
Description copied from interface:HistoricTaskInstanceQueryOrder by task follow-up date (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTaskFollowUpDatein interfaceHistoricTaskInstanceQuery
-
orderByDeleteReason
public HistoricTaskInstanceQueryImpl orderByDeleteReason()
Description copied from interface:HistoricTaskInstanceQueryOrder by task delete reason (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByDeleteReasonin interfaceHistoricTaskInstanceQuery
-
orderByTaskDefinitionKey
public HistoricTaskInstanceQuery orderByTaskDefinitionKey()
Description copied from interface:HistoricTaskInstanceQueryOrder by task definition key (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTaskDefinitionKeyin interfaceHistoricTaskInstanceQuery
-
orderByTaskPriority
public HistoricTaskInstanceQuery orderByTaskPriority()
Description copied from interface:HistoricTaskInstanceQueryOrder by task priority key (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTaskPriorityin interfaceHistoricTaskInstanceQuery
-
orderByCaseDefinitionId
public HistoricTaskInstanceQuery orderByCaseDefinitionId()
Description copied from interface:HistoricTaskInstanceQueryOrder by case definition id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByCaseDefinitionIdin interfaceHistoricTaskInstanceQuery
-
orderByCaseInstanceId
public HistoricTaskInstanceQuery orderByCaseInstanceId()
Description copied from interface:HistoricTaskInstanceQueryOrder by case instance id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByCaseInstanceIdin interfaceHistoricTaskInstanceQuery
-
orderByCaseExecutionId
public HistoricTaskInstanceQuery orderByCaseExecutionId()
Description copied from interface:HistoricTaskInstanceQueryOrder by case execution id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByCaseExecutionIdin interfaceHistoricTaskInstanceQuery
-
orderByTenantId
public HistoricTaskInstanceQuery orderByTenantId()
Description copied from interface:HistoricTaskInstanceQueryOrder by tenant id (needs to be followed byQuery.asc()orQuery.desc()). Note that the ordering of historic task instances without tenant id is database-specific.- Specified by:
orderByTenantIdin interfaceHistoricTaskInstanceQuery
-
getProcessInstanceId
public java.lang.String getProcessInstanceId()
-
getProcessInstanceBusinessKey
public java.lang.String getProcessInstanceBusinessKey()
-
getProcessInstanceBusinessKeys
public java.lang.String[] getProcessInstanceBusinessKeys()
-
getProcessInstanceBusinessKeyLike
public java.lang.String getProcessInstanceBusinessKeyLike()
-
getProcessDefinitionKey
public java.lang.String getProcessDefinitionKey()
-
getProcessDefinitionName
public java.lang.String getProcessDefinitionName()
-
getExecutionId
public java.lang.String getExecutionId()
-
getActivityInstanceIds
public java.lang.String[] getActivityInstanceIds()
-
getProcessDefinitionId
public java.lang.String getProcessDefinitionId()
-
isAssigned
public java.lang.Boolean isAssigned()
-
isUnassigned
public java.lang.Boolean isUnassigned()
-
isWithCandidateGroups
public java.lang.Boolean isWithCandidateGroups()
-
isWithoutCandidateGroups
public java.lang.Boolean isWithoutCandidateGroups()
-
isFinished
public boolean isFinished()
-
isProcessFinished
public boolean isProcessFinished()
-
isUnfinished
public boolean isUnfinished()
-
isProcessUnfinished
public boolean isProcessUnfinished()
-
getDueDate
public java.util.Date getDueDate()
-
getDueBefore
public java.util.Date getDueBefore()
-
getDueAfter
public java.util.Date getDueAfter()
-
isWithoutTaskDueDate
public boolean isWithoutTaskDueDate()
-
getFollowUpDate
public java.util.Date getFollowUpDate()
-
getFollowUpBefore
public java.util.Date getFollowUpBefore()
-
getFollowUpAfter
public java.util.Date getFollowUpAfter()
-
getTaskName
public java.lang.String getTaskName()
-
getTaskNameLike
public java.lang.String getTaskNameLike()
-
getTaskDescription
public java.lang.String getTaskDescription()
-
getTaskDescriptionLike
public java.lang.String getTaskDescriptionLike()
-
getTaskDeleteReason
public java.lang.String getTaskDeleteReason()
-
getTaskDeleteReasonLike
public java.lang.String getTaskDeleteReasonLike()
-
getTaskAssignee
public java.lang.String getTaskAssignee()
-
getTaskAssigneeLike
public java.lang.String getTaskAssigneeLike()
-
getTaskId
public java.lang.String getTaskId()
-
getTaskInvolvedGroup
public java.lang.String getTaskInvolvedGroup()
-
getTaskInvolvedUser
public java.lang.String getTaskInvolvedUser()
-
getTaskHadCandidateGroup
public java.lang.String getTaskHadCandidateGroup()
-
getTaskHadCandidateUser
public java.lang.String getTaskHadCandidateUser()
-
getTaskDefinitionKeys
public java.lang.String[] getTaskDefinitionKeys()
-
getVariables
public java.util.List<TaskQueryVariableValue> getVariables()
-
getVariableNamesIgnoreCase
public java.lang.Boolean getVariableNamesIgnoreCase()
-
getVariableValuesIgnoreCase
public java.lang.Boolean getVariableValuesIgnoreCase()
-
getTaskOwnerLike
public java.lang.String getTaskOwnerLike()
-
getTaskOwner
public java.lang.String getTaskOwner()
-
getTaskPriority
public java.lang.Integer getTaskPriority()
-
getTaskParentTaskId
public java.lang.String getTaskParentTaskId()
-
getTenantIds
public java.lang.String[] getTenantIds()
-
getCaseDefinitionId
public java.lang.String getCaseDefinitionId()
-
getCaseDefinitionKey
public java.lang.String getCaseDefinitionKey()
-
getCaseDefinitionName
public java.lang.String getCaseDefinitionName()
-
getCaseInstanceId
public java.lang.String getCaseInstanceId()
-
getCaseExecutionId
public java.lang.String getCaseExecutionId()
-
getFinishedAfter
public java.util.Date getFinishedAfter()
-
getFinishedBefore
public java.util.Date getFinishedBefore()
-
getStartedAfter
public java.util.Date getStartedAfter()
-
getStartedBefore
public java.util.Date getStartedBefore()
-
isTenantIdSet
public boolean isTenantIdSet()
-
getQueries
public java.util.List<HistoricTaskInstanceQueryImpl> getQueries()
-
isOrQueryActive
public boolean isOrQueryActive()
-
addOrQuery
public void addOrQuery(HistoricTaskInstanceQueryImpl orQuery)
-
setOrQueryActive
public void setOrQueryActive()
-
or
public HistoricTaskInstanceQuery or()
Description copied from interface: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.- Specified by:
orin interfaceHistoricTaskInstanceQuery- Returns:
- an object of the type
HistoricTaskInstanceQueryon which an arbitrary amount of filter criteria could be applied. The several filter criteria will be linked together by an OR expression.
-
endOr
public HistoricTaskInstanceQuery endOr()
Description copied from interface: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.- Specified by:
endOrin interfaceHistoricTaskInstanceQuery- Returns:
- an object of the type
HistoricTaskInstanceQueryon which an arbitrary amount of filter criteria could be applied. The filter criteria will be linked together by an AND expression.
-
-