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[]
activityInstanceIds
protected java.lang.Boolean
assigned
protected java.lang.String
caseDefinitionId
protected java.lang.String
caseDefinitionKey
protected java.lang.String
caseDefinitionName
protected java.lang.String
caseExecutionId
protected java.lang.String
caseInstanceId
protected java.util.Date
dueAfter
protected java.util.Date
dueBefore
protected java.util.Date
dueDate
protected java.lang.String
executionId
protected boolean
finished
protected java.util.Date
finishedAfter
protected java.util.Date
finishedBefore
protected java.util.Date
followUpAfter
protected java.util.Date
followUpBefore
protected java.util.Date
followUpDate
protected boolean
isOrQueryActive
protected boolean
isTenantIdSet
protected boolean
isWithoutTaskDueDate
protected java.lang.String
processDefinitionId
protected java.lang.String
processDefinitionKey
protected java.lang.String
processDefinitionName
protected boolean
processFinished
protected java.lang.String
processInstanceBusinessKey
protected java.lang.String
processInstanceBusinessKeyLike
protected java.lang.String[]
processInstanceBusinessKeys
protected java.lang.String
processInstanceId
protected boolean
processUnfinished
protected java.util.List<HistoricTaskInstanceQueryImpl>
queries
protected java.util.Date
startedAfter
protected java.util.Date
startedBefore
protected java.lang.String
taskAssignee
protected java.lang.String
taskAssigneeLike
protected java.lang.String[]
taskDefinitionKeys
protected java.lang.String
taskDeleteReason
protected java.lang.String
taskDeleteReasonLike
protected java.lang.String
taskDescription
protected java.lang.String
taskDescriptionLike
protected java.lang.String
taskHadCandidateGroup
protected java.lang.String
taskHadCandidateUser
protected java.lang.String
taskId
protected java.lang.String
taskInvolvedGroup
protected java.lang.String
taskInvolvedUser
protected java.lang.String
taskName
protected java.lang.String
taskNameLike
protected java.lang.String
taskOwner
protected java.lang.String
taskOwnerLike
protected java.lang.String
taskParentTaskId
protected java.lang.Integer
taskPriority
protected java.lang.String[]
tenantIds
protected java.lang.Boolean
unassigned
protected boolean
unfinished
protected java.lang.Boolean
variableNamesIgnoreCase
protected java.util.List<TaskQueryVariableValue>
variables
protected java.lang.Boolean
variableValuesIgnoreCase
protected java.lang.Boolean
withCandidateGroups
protected java.lang.Boolean
withoutCandidateGroups
-
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 HistoricTaskInstanceQuery
activityInstanceIdIn(java.lang.String... activityInstanceIds)
Only select historic task instances which have one of the given activity instance ids.void
addOrQuery(HistoricTaskInstanceQueryImpl orQuery)
void
addVariable(java.lang.String name, java.lang.Object value, QueryOperator operator, boolean isTaskVariable, boolean isProcessInstanceVariable)
protected void
addVariable(TaskQueryVariableValue taskQueryVariableValue)
HistoricTaskInstanceQuery
caseDefinitionId(java.lang.String caseDefinitionId)
Only select historic task instances for the given case definition.HistoricTaskInstanceQuery
caseDefinitionKey(java.lang.String caseDefinitionKey)
Only select historic task instances which are part of a case instance which has the given case definition key.HistoricTaskInstanceQuery
caseDefinitionName(java.lang.String caseDefinitionName)
Only select historic task instances which are part of a (historic) case instance which has the given case definition name.HistoricTaskInstanceQuery
caseExecutionId(java.lang.String caseExecutionId)
Only select historic task instances for the given case execution id.HistoricTaskInstanceQuery
caseInstanceId(java.lang.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)
java.util.List<HistoricTaskInstance>
executeList(CommandContext commandContext, Page page)
Executes the actual query to retrieve the list of results.HistoricTaskInstanceQueryImpl
executionId(java.lang.String executionId)
Only select historic task instances for the given execution.HistoricTaskInstanceQueryImpl
finished()
Only select historic task instances which are finished.HistoricTaskInstanceQuery
finishedAfter(java.util.Date date)
Only select tasks where end time is after given dateHistoricTaskInstanceQuery
finishedBefore(java.util.Date date)
Only select tasks where end time is before given datejava.lang.String[]
getActivityInstanceIds()
java.lang.String
getCaseDefinitionId()
java.lang.String
getCaseDefinitionKey()
java.lang.String
getCaseDefinitionName()
java.lang.String
getCaseExecutionId()
java.lang.String
getCaseInstanceId()
java.util.Date
getDueAfter()
java.util.Date
getDueBefore()
java.util.Date
getDueDate()
java.lang.String
getExecutionId()
java.util.Date
getFinishedAfter()
java.util.Date
getFinishedBefore()
java.util.Date
getFollowUpAfter()
java.util.Date
getFollowUpBefore()
java.util.Date
getFollowUpDate()
java.lang.String
getProcessDefinitionId()
java.lang.String
getProcessDefinitionKey()
java.lang.String
getProcessDefinitionName()
java.lang.String
getProcessInstanceBusinessKey()
java.lang.String
getProcessInstanceBusinessKeyLike()
java.lang.String[]
getProcessInstanceBusinessKeys()
java.lang.String
getProcessInstanceId()
java.util.List<HistoricTaskInstanceQueryImpl>
getQueries()
java.util.Date
getStartedAfter()
java.util.Date
getStartedBefore()
java.lang.String
getTaskAssignee()
java.lang.String
getTaskAssigneeLike()
java.lang.String[]
getTaskDefinitionKeys()
java.lang.String
getTaskDeleteReason()
java.lang.String
getTaskDeleteReasonLike()
java.lang.String
getTaskDescription()
java.lang.String
getTaskDescriptionLike()
java.lang.String
getTaskHadCandidateGroup()
java.lang.String
getTaskHadCandidateUser()
java.lang.String
getTaskId()
java.lang.String
getTaskInvolvedGroup()
java.lang.String
getTaskInvolvedUser()
java.lang.String
getTaskName()
java.lang.String
getTaskNameLike()
java.lang.String
getTaskOwner()
java.lang.String
getTaskOwnerLike()
java.lang.String
getTaskParentTaskId()
java.lang.Integer
getTaskPriority()
java.lang.String[]
getTenantIds()
java.lang.Boolean
getVariableNamesIgnoreCase()
java.util.List<TaskQueryVariableValue>
getVariables()
java.lang.Boolean
getVariableValuesIgnoreCase()
protected boolean
hasExcludingConditions()
Whether or not the query has excluding conditions.java.lang.Boolean
isAssigned()
boolean
isFinished()
boolean
isOrQueryActive()
boolean
isProcessFinished()
boolean
isProcessUnfinished()
boolean
isTenantIdSet()
java.lang.Boolean
isUnassigned()
boolean
isUnfinished()
java.lang.Boolean
isWithCandidateGroups()
java.lang.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 byQuery.asc()
orQuery.desc()
).HistoricTaskInstanceQuery
orderByCaseExecutionId()
Order by case execution id (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricTaskInstanceQuery
orderByCaseInstanceId()
Order by case instance id (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricTaskInstanceQueryImpl
orderByDeleteReason()
Order by task delete reason (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricTaskInstanceQueryImpl
orderByExecutionId()
Order by execution id (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricTaskInstanceQueryImpl
orderByHistoricActivityInstanceId()
Order by the historic activity instance id this task was used in (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricTaskInstanceQueryImpl
orderByHistoricActivityInstanceStartTime()
Order by start time (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricTaskInstanceQueryImpl
orderByHistoricTaskInstanceDuration()
Order by duration (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricTaskInstanceQueryImpl
orderByHistoricTaskInstanceEndTime()
Order by end time (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricTaskInstanceQueryImpl
orderByProcessDefinitionId()
Order by process definition id (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricTaskInstanceQueryImpl
orderByProcessInstanceId()
Order by process instance id (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricTaskInstanceQuery
orderByTaskAssignee()
Order by task assignee (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricTaskInstanceQuery
orderByTaskDefinitionKey()
Order by task definition key (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricTaskInstanceQueryImpl
orderByTaskDescription()
Order by task description (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricTaskInstanceQuery
orderByTaskDueDate()
Order by task due date (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricTaskInstanceQuery
orderByTaskFollowUpDate()
Order by task follow-up date (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricTaskInstanceQueryImpl
orderByTaskId()
Order by task id (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricTaskInstanceQueryImpl
orderByTaskName()
Order by task name (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricTaskInstanceQuery
orderByTaskOwner()
Order by task owner (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricTaskInstanceQuery
orderByTaskPriority()
Order by task priority key (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricTaskInstanceQuery
orderByTenantId()
Order by tenant id (needs to be followed byQuery.asc()
orQuery.desc()
).HistoricTaskInstanceQueryImpl
processDefinitionId(java.lang.String processDefinitionId)
Only select historic task instances for the given process definition.HistoricTaskInstanceQuery
processDefinitionKey(java.lang.String processDefinitionKey)
Only select historic task instances which are part of a (historic) process instance which has the given process definition key.HistoricTaskInstanceQuery
processDefinitionName(java.lang.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(java.lang.String processInstanceBusinessKey)
Only select historic tasks for the given process instance business keyHistoricTaskInstanceQuery
processInstanceBusinessKeyIn(java.lang.String... processInstanceBusinessKeys)
Only select historic tasks for any of the given the given process instance business keys.HistoricTaskInstanceQuery
processInstanceBusinessKeyLike(java.lang.String processInstanceBusinessKey)
Only select historic tasks matching the given process instance business key.HistoricTaskInstanceQueryImpl
processInstanceId(java.lang.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(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.HistoricTaskInstanceQuery
processVariableValueGreaterThan(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.HistoricTaskInstanceQuery
processVariableValueGreaterThanOrEquals(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.HistoricTaskInstanceQuery
processVariableValueLessThan(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.HistoricTaskInstanceQuery
processVariableValueLessThanOrEquals(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.HistoricTaskInstanceQuery
processVariableValueLike(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.HistoricTaskInstanceQuery
processVariableValueNotEquals(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.HistoricTaskInstanceQuery
processVariableValueNotLike(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.void
setOrQueryActive()
HistoricTaskInstanceQuery
startedAfter(java.util.Date date)
Only select tasks where started after given dateHistoricTaskInstanceQuery
startedBefore(java.util.Date date)
Only select tasks where started before given dateHistoricTaskInstanceQueryImpl
taskAssigned()
Only select historic task instances with an assignee.HistoricTaskInstanceQueryImpl
taskAssignee(java.lang.String taskAssignee)
Only select historic task instances which were last taskAssigned to the given assignee.HistoricTaskInstanceQueryImpl
taskAssigneeLike(java.lang.String taskAssigneeLike)
Only select historic task instances which were last taskAssigned to an assignee like the given value.HistoricTaskInstanceQuery
taskDefinitionKey(java.lang.String taskDefinitionKey)
Only select historic task instances with the given task definition key.HistoricTaskInstanceQuery
taskDefinitionKeyIn(java.lang.String... taskDefinitionKeys)
Only select historic task instances with one of the given task definition keys.HistoricTaskInstanceQueryImpl
taskDeleteReason(java.lang.String taskDeleteReason)
Only select historic task instances with the given task delete reason.HistoricTaskInstanceQueryImpl
taskDeleteReasonLike(java.lang.String taskDeleteReasonLike)
Only select historic task instances with a task description like the given value.HistoricTaskInstanceQueryImpl
taskDescription(java.lang.String taskDescription)
Only select historic task instances with the given task description.HistoricTaskInstanceQueryImpl
taskDescriptionLike(java.lang.String taskDescriptionLike)
Only select historic task instances with a task description like the given value.HistoricTaskInstanceQuery
taskDueAfter(java.util.Date dueAfter)
Only select select historic task instances which have a due date after the given date.HistoricTaskInstanceQuery
taskDueBefore(java.util.Date dueBefore)
Only select select historic task instances which have a due date before the given date.HistoricTaskInstanceQuery
taskDueDate(java.util.Date dueDate)
Only select select historic task instances with the given due date.HistoricTaskInstanceQuery
taskFollowUpAfter(java.util.Date followUpAfter)
Only select select historic task instances which have a follow-up date after the given date.HistoricTaskInstanceQuery
taskFollowUpBefore(java.util.Date followUpBefore)
Only select select historic task instances which have a follow-up date before the given date.HistoricTaskInstanceQuery
taskFollowUpDate(java.util.Date followUpDate)
Only select select historic task instances with the given follow-up date.HistoricTaskInstanceQuery
taskHadCandidateGroup(java.lang.String groupId)
Only select historic task instances which have mapping with Historic identity links with the condition of group being a candidateHistoricTaskInstanceQuery
taskHadCandidateUser(java.lang.String userId)
Only select historic task instances which have mapping with Historic identity links with the condition of user being a candidateHistoricTaskInstanceQuery
taskId(java.lang.String taskId)
Only select historic task instances for the given task id.HistoricTaskInstanceQuery
taskInvolvedGroup(java.lang.String groupId)
Only select historic task instances which have mapping with Historic identity links based on group idHistoricTaskInstanceQuery
taskInvolvedUser(java.lang.String userId)
Only select historic task instances which have mapping with Historic identity links based on user idHistoricTaskInstanceQueryImpl
taskName(java.lang.String taskName)
Only select historic task instances with the given task name.HistoricTaskInstanceQueryImpl
taskNameLike(java.lang.String taskNameLike)
Only select historic task instances with a task name like the given value.HistoricTaskInstanceQueryImpl
taskOwner(java.lang.String taskOwner)
Only select historic task instances which have the given owner.HistoricTaskInstanceQueryImpl
taskOwnerLike(java.lang.String taskOwnerLike)
Only select historic task instances which have an owner like the one specified.HistoricTaskInstanceQuery
taskParentTaskId(java.lang.String parentTaskId)
Only select subtasks of the given parent taskHistoricTaskInstanceQuery
taskPriority(java.lang.Integer taskPriority)
Only select historic task instances with the given priority.HistoricTaskInstanceQueryImpl
taskUnassigned()
Only select historic task instances without an assignee.HistoricTaskInstanceQueryImpl
taskVariableValueEquals(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.HistoricTaskInstanceQuery
tenantIdIn(java.lang.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 groupHistoricTaskInstanceQuery
withoutCandidateGroups()
Only select historic task instances which have no candidate groupHistoricTaskInstanceQuery
withoutTaskDueDate()
Only select select historic task instances that have no due date.HistoricTaskInstanceQuery
withoutTenantId()
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:
executeCount
in classAbstractQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
-
executeList
public java.util.List<HistoricTaskInstance> executeList(CommandContext commandContext, Page page)
Description copied from class:AbstractQuery
Executes the actual query to retrieve the list of results.- Specified by:
executeList
in 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:HistoricTaskInstanceQuery
Only select historic task instances for the given process instance.- Specified by:
processInstanceId
in interfaceHistoricTaskInstanceQuery
-
processInstanceBusinessKey
public HistoricTaskInstanceQuery processInstanceBusinessKey(java.lang.String processInstanceBusinessKey)
Description copied from interface:HistoricTaskInstanceQuery
Only select historic tasks for the given process instance business key- Specified by:
processInstanceBusinessKey
in interfaceHistoricTaskInstanceQuery
-
processInstanceBusinessKeyIn
public HistoricTaskInstanceQuery processInstanceBusinessKeyIn(java.lang.String... processInstanceBusinessKeys)
Description copied from interface:HistoricTaskInstanceQuery
Only select historic tasks for any of the given the given process instance business keys.- Specified by:
processInstanceBusinessKeyIn
in interfaceHistoricTaskInstanceQuery
-
processInstanceBusinessKeyLike
public HistoricTaskInstanceQuery processInstanceBusinessKeyLike(java.lang.String processInstanceBusinessKey)
Description copied from interface:HistoricTaskInstanceQuery
Only select historic tasks matching the given process instance business key. The syntax is that of SQL: for example usage: nameLike(%camunda%)- Specified by:
processInstanceBusinessKeyLike
in interfaceHistoricTaskInstanceQuery
-
executionId
public HistoricTaskInstanceQueryImpl executionId(java.lang.String executionId)
Description copied from interface:HistoricTaskInstanceQuery
Only select historic task instances for the given execution.- Specified by:
executionId
in interfaceHistoricTaskInstanceQuery
-
activityInstanceIdIn
public HistoricTaskInstanceQuery activityInstanceIdIn(java.lang.String... activityInstanceIds)
Description copied from interface:HistoricTaskInstanceQuery
Only select historic task instances which have one of the given activity instance ids.- Specified by:
activityInstanceIdIn
in interfaceHistoricTaskInstanceQuery
-
processDefinitionId
public HistoricTaskInstanceQueryImpl processDefinitionId(java.lang.String processDefinitionId)
Description copied from interface:HistoricTaskInstanceQuery
Only select historic task instances for the given process definition.- Specified by:
processDefinitionId
in interfaceHistoricTaskInstanceQuery
-
processDefinitionKey
public HistoricTaskInstanceQuery processDefinitionKey(java.lang.String processDefinitionKey)
Description copied from interface:HistoricTaskInstanceQuery
Only select historic task instances which are part of a (historic) process instance which has the given process definition key.- Specified by:
processDefinitionKey
in interfaceHistoricTaskInstanceQuery
-
processDefinitionName
public HistoricTaskInstanceQuery processDefinitionName(java.lang.String processDefinitionName)
Description copied from interface:HistoricTaskInstanceQuery
Only select historic task instances which are part of a (historic) process instance which has the given definition name.- Specified by:
processDefinitionName
in interfaceHistoricTaskInstanceQuery
-
taskId
public HistoricTaskInstanceQuery taskId(java.lang.String taskId)
Description copied from interface:HistoricTaskInstanceQuery
Only select historic task instances for the given task id.- Specified by:
taskId
in interfaceHistoricTaskInstanceQuery
-
taskName
public HistoricTaskInstanceQueryImpl taskName(java.lang.String taskName)
Description copied from interface:HistoricTaskInstanceQuery
Only 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:
taskName
in interfaceHistoricTaskInstanceQuery
-
taskNameLike
public HistoricTaskInstanceQueryImpl taskNameLike(java.lang.String taskNameLike)
Description copied from interface:HistoricTaskInstanceQuery
Only 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:
taskNameLike
in interfaceHistoricTaskInstanceQuery
-
taskParentTaskId
public HistoricTaskInstanceQuery taskParentTaskId(java.lang.String parentTaskId)
Description copied from interface:HistoricTaskInstanceQuery
Only select subtasks of the given parent task- Specified by:
taskParentTaskId
in interfaceHistoricTaskInstanceQuery
-
taskDescription
public HistoricTaskInstanceQueryImpl taskDescription(java.lang.String taskDescription)
Description copied from interface:HistoricTaskInstanceQuery
Only 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:
taskDescription
in interfaceHistoricTaskInstanceQuery
-
taskDescriptionLike
public HistoricTaskInstanceQueryImpl taskDescriptionLike(java.lang.String taskDescriptionLike)
Description copied from interface:HistoricTaskInstanceQuery
Only 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:
taskDescriptionLike
in interfaceHistoricTaskInstanceQuery
-
taskDeleteReason
public HistoricTaskInstanceQueryImpl taskDeleteReason(java.lang.String taskDeleteReason)
Description copied from interface:HistoricTaskInstanceQuery
Only select historic task instances with the given task delete reason.- Specified by:
taskDeleteReason
in interfaceHistoricTaskInstanceQuery
-
taskDeleteReasonLike
public HistoricTaskInstanceQueryImpl taskDeleteReasonLike(java.lang.String taskDeleteReasonLike)
Description copied from interface:HistoricTaskInstanceQuery
Only select historic task instances with a task description like the given value. The syntax that should be used is the same as in SQL, eg. %activiti%.- Specified by:
taskDeleteReasonLike
in interfaceHistoricTaskInstanceQuery
-
taskAssigned
public HistoricTaskInstanceQueryImpl taskAssigned()
Description copied from interface:HistoricTaskInstanceQuery
Only select historic task instances with an assignee.- Specified by:
taskAssigned
in interfaceHistoricTaskInstanceQuery
-
taskUnassigned
public HistoricTaskInstanceQueryImpl taskUnassigned()
Description copied from interface:HistoricTaskInstanceQuery
Only select historic task instances without an assignee.- Specified by:
taskUnassigned
in interfaceHistoricTaskInstanceQuery
-
taskAssignee
public HistoricTaskInstanceQueryImpl taskAssignee(java.lang.String taskAssignee)
Description copied from interface:HistoricTaskInstanceQuery
Only select historic task instances which were last taskAssigned to the given assignee.- Specified by:
taskAssignee
in interfaceHistoricTaskInstanceQuery
-
taskAssigneeLike
public HistoricTaskInstanceQueryImpl taskAssigneeLike(java.lang.String taskAssigneeLike)
Description copied from interface:HistoricTaskInstanceQuery
Only 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:
taskAssigneeLike
in interfaceHistoricTaskInstanceQuery
-
taskOwner
public HistoricTaskInstanceQueryImpl taskOwner(java.lang.String taskOwner)
Description copied from interface:HistoricTaskInstanceQuery
Only select historic task instances which have the given owner.- Specified by:
taskOwner
in interfaceHistoricTaskInstanceQuery
-
taskOwnerLike
public HistoricTaskInstanceQueryImpl taskOwnerLike(java.lang.String taskOwnerLike)
Description copied from interface:HistoricTaskInstanceQuery
Only 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:
taskOwnerLike
in interfaceHistoricTaskInstanceQuery
-
caseDefinitionId
public HistoricTaskInstanceQuery caseDefinitionId(java.lang.String caseDefinitionId)
Description copied from interface:HistoricTaskInstanceQuery
Only select historic task instances for the given case definition.- Specified by:
caseDefinitionId
in interfaceHistoricTaskInstanceQuery
-
caseDefinitionKey
public HistoricTaskInstanceQuery caseDefinitionKey(java.lang.String caseDefinitionKey)
Description copied from interface:HistoricTaskInstanceQuery
Only select historic task instances which are part of a case instance which has the given case definition key.- Specified by:
caseDefinitionKey
in interfaceHistoricTaskInstanceQuery
-
caseDefinitionName
public HistoricTaskInstanceQuery caseDefinitionName(java.lang.String caseDefinitionName)
Description copied from interface:HistoricTaskInstanceQuery
Only select historic task instances which are part of a (historic) case instance which has the given case definition name.- Specified by:
caseDefinitionName
in interfaceHistoricTaskInstanceQuery
-
caseInstanceId
public HistoricTaskInstanceQuery caseInstanceId(java.lang.String caseInstanceId)
Description copied from interface:HistoricTaskInstanceQuery
Only select historic task instances for the given case instance.- Specified by:
caseInstanceId
in interfaceHistoricTaskInstanceQuery
-
caseExecutionId
public HistoricTaskInstanceQuery caseExecutionId(java.lang.String caseExecutionId)
Description copied from interface:HistoricTaskInstanceQuery
Only select historic task instances for the given case execution id.- Specified by:
caseExecutionId
in interfaceHistoricTaskInstanceQuery
-
finished
public HistoricTaskInstanceQueryImpl finished()
Description copied from interface:HistoricTaskInstanceQuery
Only select historic task instances which are finished.- Specified by:
finished
in interfaceHistoricTaskInstanceQuery
-
unfinished
public HistoricTaskInstanceQueryImpl unfinished()
Description copied from interface:HistoricTaskInstanceQuery
Only select historic task instances which aren't finished yet.- Specified by:
unfinished
in interfaceHistoricTaskInstanceQuery
-
matchVariableNamesIgnoreCase
public HistoricTaskInstanceQuery matchVariableNamesIgnoreCase()
Description copied from interface:HistoricTaskInstanceQuery
The query will match the names of task and process variables in a case-insensitive way.- Specified by:
matchVariableNamesIgnoreCase
in interfaceHistoricTaskInstanceQuery
-
matchVariableValuesIgnoreCase
public HistoricTaskInstanceQuery matchVariableValuesIgnoreCase()
Description copied from interface:HistoricTaskInstanceQuery
The query will match the values of task and process variables in a case-insensitive way.- Specified by:
matchVariableValuesIgnoreCase
in interfaceHistoricTaskInstanceQuery
-
taskVariableValueEquals
public HistoricTaskInstanceQueryImpl taskVariableValueEquals(java.lang.String variableName, java.lang.Object variableValue)
Description copied from interface:HistoricTaskInstanceQuery
Only 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:
taskVariableValueEquals
in interfaceHistoricTaskInstanceQuery
-
processVariableValueEquals
public HistoricTaskInstanceQuery processVariableValueEquals(java.lang.String variableName, java.lang.Object variableValue)
Description copied from interface:HistoricTaskInstanceQuery
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. 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:
processVariableValueEquals
in interfaceHistoricTaskInstanceQuery
-
processVariableValueNotEquals
public HistoricTaskInstanceQuery processVariableValueNotEquals(java.lang.String variableName, java.lang.Object variableValue)
Description copied from interface:HistoricTaskInstanceQuery
Only select historic task instances which have a variable with the given name, but with a different value than the passed value. Byte-arrays andSerializable
objects (which are not primitive type wrappers) are not supported.- Specified by:
processVariableValueNotEquals
in interfaceHistoricTaskInstanceQuery
-
processVariableValueLike
public HistoricTaskInstanceQuery processVariableValueLike(java.lang.String variableName, java.lang.Object variableValue)
Description copied from interface:HistoricTaskInstanceQuery
Only 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:
processVariableValueLike
in interfaceHistoricTaskInstanceQuery
-
processVariableValueNotLike
public HistoricTaskInstanceQuery processVariableValueNotLike(java.lang.String variableName, java.lang.Object variableValue)
Description copied from interface:HistoricTaskInstanceQuery
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. The syntax is that of SQL: for example usage: valueNotLike(%value%)- Specified by:
processVariableValueNotLike
in interfaceHistoricTaskInstanceQuery
-
processVariableValueGreaterThan
public HistoricTaskInstanceQuery processVariableValueGreaterThan(java.lang.String variableName, java.lang.Object variableValue)
Description copied from interface:HistoricTaskInstanceQuery
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.- Specified by:
processVariableValueGreaterThan
in interfaceHistoricTaskInstanceQuery
-
processVariableValueGreaterThanOrEquals
public HistoricTaskInstanceQuery processVariableValueGreaterThanOrEquals(java.lang.String variableName, java.lang.Object variableValue)
Description copied from interface:HistoricTaskInstanceQuery
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.- Specified by:
processVariableValueGreaterThanOrEquals
in interfaceHistoricTaskInstanceQuery
-
processVariableValueLessThan
public HistoricTaskInstanceQuery processVariableValueLessThan(java.lang.String variableName, java.lang.Object variableValue)
Description copied from interface:HistoricTaskInstanceQuery
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.- Specified by:
processVariableValueLessThan
in interfaceHistoricTaskInstanceQuery
-
processVariableValueLessThanOrEquals
public HistoricTaskInstanceQuery processVariableValueLessThanOrEquals(java.lang.String variableName, java.lang.Object variableValue)
Description copied from interface:HistoricTaskInstanceQuery
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.- Specified by:
processVariableValueLessThanOrEquals
in interfaceHistoricTaskInstanceQuery
-
taskDefinitionKey
public HistoricTaskInstanceQuery taskDefinitionKey(java.lang.String taskDefinitionKey)
Description copied from interface:HistoricTaskInstanceQuery
Only select historic task instances with the given task definition key.- Specified by:
taskDefinitionKey
in interfaceHistoricTaskInstanceQuery
- See Also:
Task.getTaskDefinitionKey()
-
taskDefinitionKeyIn
public HistoricTaskInstanceQuery taskDefinitionKeyIn(java.lang.String... taskDefinitionKeys)
Description copied from interface:HistoricTaskInstanceQuery
Only select historic task instances with one of the given task definition keys.- Specified by:
taskDefinitionKeyIn
in interfaceHistoricTaskInstanceQuery
- See Also:
Task.getTaskDefinitionKey()
-
taskPriority
public HistoricTaskInstanceQuery taskPriority(java.lang.Integer taskPriority)
Description copied from interface:HistoricTaskInstanceQuery
Only select historic task instances with the given priority.- Specified by:
taskPriority
in interfaceHistoricTaskInstanceQuery
-
processFinished
public HistoricTaskInstanceQuery processFinished()
Description copied from interface:HistoricTaskInstanceQuery
Only select historic task instances which are part of a process instance which is already finished.- Specified by:
processFinished
in interfaceHistoricTaskInstanceQuery
-
taskInvolvedUser
public HistoricTaskInstanceQuery taskInvolvedUser(java.lang.String userId)
Description copied from interface:HistoricTaskInstanceQuery
Only select historic task instances which have mapping with Historic identity links based on user id- Specified by:
taskInvolvedUser
in interfaceHistoricTaskInstanceQuery
-
taskInvolvedGroup
public HistoricTaskInstanceQuery taskInvolvedGroup(java.lang.String groupId)
Description copied from interface:HistoricTaskInstanceQuery
Only select historic task instances which have mapping with Historic identity links based on group id- Specified by:
taskInvolvedGroup
in interfaceHistoricTaskInstanceQuery
-
taskHadCandidateUser
public HistoricTaskInstanceQuery taskHadCandidateUser(java.lang.String userId)
Description copied from interface:HistoricTaskInstanceQuery
Only select historic task instances which have mapping with Historic identity links with the condition of user being a candidate- Specified by:
taskHadCandidateUser
in interfaceHistoricTaskInstanceQuery
-
taskHadCandidateGroup
public HistoricTaskInstanceQuery taskHadCandidateGroup(java.lang.String groupId)
Description copied from interface:HistoricTaskInstanceQuery
Only select historic task instances which have mapping with Historic identity links with the condition of group being a candidate- Specified by:
taskHadCandidateGroup
in interfaceHistoricTaskInstanceQuery
-
withCandidateGroups
public HistoricTaskInstanceQuery withCandidateGroups()
Description copied from interface:HistoricTaskInstanceQuery
Only select historic task instances which have a candidate group- Specified by:
withCandidateGroups
in interfaceHistoricTaskInstanceQuery
-
withoutCandidateGroups
public HistoricTaskInstanceQuery withoutCandidateGroups()
Description copied from interface:HistoricTaskInstanceQuery
Only select historic task instances which have no candidate group- Specified by:
withoutCandidateGroups
in interfaceHistoricTaskInstanceQuery
-
processUnfinished
public HistoricTaskInstanceQuery processUnfinished()
Description copied from interface:HistoricTaskInstanceQuery
Only select historic task instances which are part of a process instance which is not finished yet.- Specified by:
processUnfinished
in interfaceHistoricTaskInstanceQuery
-
ensureVariablesInitialized
protected void ensureVariablesInitialized()
-
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:HistoricTaskInstanceQuery
Only select select historic task instances with the given due date.- Specified by:
taskDueDate
in interfaceHistoricTaskInstanceQuery
-
taskDueAfter
public HistoricTaskInstanceQuery taskDueAfter(java.util.Date dueAfter)
Description copied from interface:HistoricTaskInstanceQuery
Only select select historic task instances which have a due date after the given date.- Specified by:
taskDueAfter
in interfaceHistoricTaskInstanceQuery
-
taskDueBefore
public HistoricTaskInstanceQuery taskDueBefore(java.util.Date dueBefore)
Description copied from interface:HistoricTaskInstanceQuery
Only select select historic task instances which have a due date before the given date.- Specified by:
taskDueBefore
in interfaceHistoricTaskInstanceQuery
-
withoutTaskDueDate
public HistoricTaskInstanceQuery withoutTaskDueDate()
Description copied from interface:HistoricTaskInstanceQuery
Only select select historic task instances that have no due date.- Specified by:
withoutTaskDueDate
in interfaceHistoricTaskInstanceQuery
-
taskFollowUpDate
public HistoricTaskInstanceQuery taskFollowUpDate(java.util.Date followUpDate)
Description copied from interface:HistoricTaskInstanceQuery
Only select select historic task instances with the given follow-up date.- Specified by:
taskFollowUpDate
in interfaceHistoricTaskInstanceQuery
-
taskFollowUpBefore
public HistoricTaskInstanceQuery taskFollowUpBefore(java.util.Date followUpBefore)
Description copied from interface:HistoricTaskInstanceQuery
Only select select historic task instances which have a follow-up date before the given date.- Specified by:
taskFollowUpBefore
in interfaceHistoricTaskInstanceQuery
-
taskFollowUpAfter
public HistoricTaskInstanceQuery taskFollowUpAfter(java.util.Date followUpAfter)
Description copied from interface:HistoricTaskInstanceQuery
Only select select historic task instances which have a follow-up date after the given date.- Specified by:
taskFollowUpAfter
in interfaceHistoricTaskInstanceQuery
-
tenantIdIn
public HistoricTaskInstanceQuery tenantIdIn(java.lang.String... tenantIds)
Description copied from interface:HistoricTaskInstanceQuery
Only select historic task instances with one of the given tenant ids.- Specified by:
tenantIdIn
in interfaceHistoricTaskInstanceQuery
-
withoutTenantId
public HistoricTaskInstanceQuery withoutTenantId()
Description copied from interface:HistoricTaskInstanceQuery
Only selects historic task instances that have no tenant id.- Specified by:
withoutTenantId
in interfaceHistoricTaskInstanceQuery
-
finishedAfter
public HistoricTaskInstanceQuery finishedAfter(java.util.Date date)
Description copied from interface:HistoricTaskInstanceQuery
Only select tasks where end time is after given date- Specified by:
finishedAfter
in interfaceHistoricTaskInstanceQuery
-
finishedBefore
public HistoricTaskInstanceQuery finishedBefore(java.util.Date date)
Description copied from interface:HistoricTaskInstanceQuery
Only select tasks where end time is before given date- Specified by:
finishedBefore
in interfaceHistoricTaskInstanceQuery
-
startedAfter
public HistoricTaskInstanceQuery startedAfter(java.util.Date date)
Description copied from interface:HistoricTaskInstanceQuery
Only select tasks where started after given date- Specified by:
startedAfter
in interfaceHistoricTaskInstanceQuery
-
startedBefore
public HistoricTaskInstanceQuery startedBefore(java.util.Date date)
Description copied from interface:HistoricTaskInstanceQuery
Only select tasks where started before given date- Specified by:
startedBefore
in interfaceHistoricTaskInstanceQuery
-
hasExcludingConditions
protected boolean hasExcludingConditions()
Description copied from class:AbstractQuery
Whether 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:
hasExcludingConditions
in classAbstractQuery<HistoricTaskInstanceQuery,HistoricTaskInstance>
- Returns:
true
if the query does have excluding conditions,false
otherwise
-
orderByTaskId
public HistoricTaskInstanceQueryImpl orderByTaskId()
Description copied from interface:HistoricTaskInstanceQuery
Order by task id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByTaskId
in interfaceHistoricTaskInstanceQuery
-
orderByHistoricActivityInstanceId
public HistoricTaskInstanceQueryImpl orderByHistoricActivityInstanceId()
Description copied from interface:HistoricTaskInstanceQuery
Order by the historic activity instance id this task was used in (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByHistoricActivityInstanceId
in interfaceHistoricTaskInstanceQuery
-
orderByProcessDefinitionId
public HistoricTaskInstanceQueryImpl orderByProcessDefinitionId()
Description copied from interface:HistoricTaskInstanceQuery
Order by process definition id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByProcessDefinitionId
in interfaceHistoricTaskInstanceQuery
-
orderByProcessInstanceId
public HistoricTaskInstanceQueryImpl orderByProcessInstanceId()
Description copied from interface:HistoricTaskInstanceQuery
Order by process instance id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByProcessInstanceId
in interfaceHistoricTaskInstanceQuery
-
orderByExecutionId
public HistoricTaskInstanceQueryImpl orderByExecutionId()
Description copied from interface:HistoricTaskInstanceQuery
Order by execution id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByExecutionId
in interfaceHistoricTaskInstanceQuery
-
orderByHistoricTaskInstanceDuration
public HistoricTaskInstanceQueryImpl orderByHistoricTaskInstanceDuration()
Description copied from interface:HistoricTaskInstanceQuery
Order by duration (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByHistoricTaskInstanceDuration
in interfaceHistoricTaskInstanceQuery
-
orderByHistoricTaskInstanceEndTime
public HistoricTaskInstanceQueryImpl orderByHistoricTaskInstanceEndTime()
Description copied from interface:HistoricTaskInstanceQuery
Order by end time (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByHistoricTaskInstanceEndTime
in interfaceHistoricTaskInstanceQuery
-
orderByHistoricActivityInstanceStartTime
public HistoricTaskInstanceQueryImpl orderByHistoricActivityInstanceStartTime()
Description copied from interface:HistoricTaskInstanceQuery
Order by start time (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByHistoricActivityInstanceStartTime
in interfaceHistoricTaskInstanceQuery
-
orderByTaskName
public HistoricTaskInstanceQueryImpl orderByTaskName()
Description copied from interface:HistoricTaskInstanceQuery
Order by task name (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByTaskName
in interfaceHistoricTaskInstanceQuery
-
orderByTaskDescription
public HistoricTaskInstanceQueryImpl orderByTaskDescription()
Description copied from interface:HistoricTaskInstanceQuery
Order by task description (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByTaskDescription
in interfaceHistoricTaskInstanceQuery
-
orderByTaskAssignee
public HistoricTaskInstanceQuery orderByTaskAssignee()
Description copied from interface:HistoricTaskInstanceQuery
Order by task assignee (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByTaskAssignee
in interfaceHistoricTaskInstanceQuery
-
orderByTaskOwner
public HistoricTaskInstanceQuery orderByTaskOwner()
Description copied from interface:HistoricTaskInstanceQuery
Order by task owner (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByTaskOwner
in interfaceHistoricTaskInstanceQuery
-
orderByTaskDueDate
public HistoricTaskInstanceQuery orderByTaskDueDate()
Description copied from interface:HistoricTaskInstanceQuery
Order by task due date (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByTaskDueDate
in interfaceHistoricTaskInstanceQuery
-
orderByTaskFollowUpDate
public HistoricTaskInstanceQuery orderByTaskFollowUpDate()
Description copied from interface:HistoricTaskInstanceQuery
Order by task follow-up date (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByTaskFollowUpDate
in interfaceHistoricTaskInstanceQuery
-
orderByDeleteReason
public HistoricTaskInstanceQueryImpl orderByDeleteReason()
Description copied from interface:HistoricTaskInstanceQuery
Order by task delete reason (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByDeleteReason
in interfaceHistoricTaskInstanceQuery
-
orderByTaskDefinitionKey
public HistoricTaskInstanceQuery orderByTaskDefinitionKey()
Description copied from interface:HistoricTaskInstanceQuery
Order by task definition key (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByTaskDefinitionKey
in interfaceHistoricTaskInstanceQuery
-
orderByTaskPriority
public HistoricTaskInstanceQuery orderByTaskPriority()
Description copied from interface:HistoricTaskInstanceQuery
Order by task priority key (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByTaskPriority
in interfaceHistoricTaskInstanceQuery
-
orderByCaseDefinitionId
public HistoricTaskInstanceQuery orderByCaseDefinitionId()
Description copied from interface:HistoricTaskInstanceQuery
Order by case definition id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByCaseDefinitionId
in interfaceHistoricTaskInstanceQuery
-
orderByCaseInstanceId
public HistoricTaskInstanceQuery orderByCaseInstanceId()
Description copied from interface:HistoricTaskInstanceQuery
Order by case instance id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByCaseInstanceId
in interfaceHistoricTaskInstanceQuery
-
orderByCaseExecutionId
public HistoricTaskInstanceQuery orderByCaseExecutionId()
Description copied from interface:HistoricTaskInstanceQuery
Order by case execution id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByCaseExecutionId
in interfaceHistoricTaskInstanceQuery
-
orderByTenantId
public HistoricTaskInstanceQuery orderByTenantId()
Description copied from interface:HistoricTaskInstanceQuery
Order 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:
orderByTenantId
in 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: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.- Specified by:
or
in interfaceHistoricTaskInstanceQuery
- Returns:
- an object of the type
HistoricTaskInstanceQuery
on 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: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.- Specified by:
endOr
in interfaceHistoricTaskInstanceQuery
- Returns:
- an object of the type
HistoricTaskInstanceQuery
on which an arbitrary amount of filter criteria could be applied. The filter criteria will be linked together by an AND expression.
-
-