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:
Serializable
,HistoricTaskInstanceQuery
,Command<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 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(String... activityInstanceIds)
Only select historic task instances which have one of the given activity instance ids.void
addOrQuery(HistoricTaskInstanceQueryImpl orQuery)
void
addVariable(String name, Object value, QueryOperator operator, boolean isTaskVariable, boolean isProcessInstanceVariable)
protected void
addVariable(TaskQueryVariableValue taskQueryVariableValue)
HistoricTaskInstanceQuery
caseDefinitionId(String caseDefinitionId)
Only select historic task instances for the given case definition.HistoricTaskInstanceQuery
caseDefinitionKey(String caseDefinitionKey)
Only select historic task instances which are part of a case instance which has the given case definition key.HistoricTaskInstanceQuery
caseDefinitionName(String caseDefinitionName)
Only select historic task instances which are part of a (historic) case instance which has the given case definition name.HistoricTaskInstanceQuery
caseExecutionId(String caseExecutionId)
Only select historic task instances for the given case execution id.HistoricTaskInstanceQuery
caseInstanceId(String caseInstanceId)
Only select historic task instances for the given case instance.HistoricTaskInstanceQuery
endOr()
endOr() terminates an OR query on which an arbitrary amount of filter criteria were applied.protected void
ensureVariablesInitialized()
long
executeCount(CommandContext commandContext)
List<HistoricTaskInstance>
executeList(CommandContext commandContext, Page page)
Executes the actual query to retrieve the list of results.HistoricTaskInstanceQueryImpl
executionId(String executionId)
Only select historic task instances for the given execution.HistoricTaskInstanceQueryImpl
finished()
Only select historic task instances which are finished.HistoricTaskInstanceQuery
finishedAfter(Date date)
Only select tasks where end time is after given dateHistoricTaskInstanceQuery
finishedBefore(Date date)
Only select tasks where end time is before given dateString[]
getActivityInstanceIds()
String
getCaseDefinitionId()
String
getCaseDefinitionKey()
String
getCaseDefinitionName()
String
getCaseExecutionId()
String
getCaseInstanceId()
Date
getDueAfter()
Date
getDueBefore()
Date
getDueDate()
String
getExecutionId()
Date
getFinishedAfter()
Date
getFinishedBefore()
Date
getFollowUpAfter()
Date
getFollowUpBefore()
Date
getFollowUpDate()
String
getProcessDefinitionId()
String
getProcessDefinitionKey()
String
getProcessDefinitionName()
String
getProcessInstanceBusinessKey()
String
getProcessInstanceBusinessKeyLike()
String[]
getProcessInstanceBusinessKeys()
String
getProcessInstanceId()
List<HistoricTaskInstanceQueryImpl>
getQueries()
Date
getStartedAfter()
Date
getStartedBefore()
String
getTaskAssignee()
String
getTaskAssigneeLike()
String[]
getTaskDefinitionKeys()
String
getTaskDeleteReason()
String
getTaskDeleteReasonLike()
String
getTaskDescription()
String
getTaskDescriptionLike()
String
getTaskHadCandidateGroup()
String
getTaskHadCandidateUser()
String
getTaskId()
String
getTaskInvolvedGroup()
String
getTaskInvolvedUser()
String
getTaskName()
String
getTaskNameLike()
String
getTaskOwner()
String
getTaskOwnerLike()
String
getTaskParentTaskId()
Integer
getTaskPriority()
String[]
getTenantIds()
Boolean
getVariableNamesIgnoreCase()
List<TaskQueryVariableValue>
getVariables()
Boolean
getVariableValuesIgnoreCase()
protected boolean
hasExcludingConditions()
Whether or not the query has excluding conditions.Boolean
isAssigned()
boolean
isFinished()
boolean
isOrQueryActive()
boolean
isProcessFinished()
boolean
isProcessUnfinished()
boolean
isTenantIdSet()
Boolean
isUnassigned()
boolean
isUnfinished()
Boolean
isWithCandidateGroups()
Boolean
isWithoutCandidateGroups()
boolean
isWithoutTaskDueDate()
HistoricTaskInstanceQuery
matchVariableNamesIgnoreCase()
The query will match the names of task and process variables in a case-insensitive way.HistoricTaskInstanceQuery
matchVariableValuesIgnoreCase()
The query will match the values of task and process variables in a case-insensitive way.HistoricTaskInstanceQuery
or()
After calling or(), a chain of several filter criteria could follow.HistoricTaskInstanceQuery
orderByCaseDefinitionId()
Order by case definition id (needs to be followed 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(String processDefinitionId)
Only select historic task instances for the given process definition.HistoricTaskInstanceQuery
processDefinitionKey(String processDefinitionKey)
Only select historic task instances which are part of a (historic) process instance which has the given process definition key.HistoricTaskInstanceQuery
processDefinitionName(String processDefinitionName)
Only select historic task instances which are part of a (historic) process instance which has the given definition name.HistoricTaskInstanceQuery
processFinished()
Only select historic task instances which are part of a process instance which is already finished.HistoricTaskInstanceQuery
processInstanceBusinessKey(String processInstanceBusinessKey)
Only select historic tasks for the given process instance business keyHistoricTaskInstanceQuery
processInstanceBusinessKeyIn(String... processInstanceBusinessKeys)
Only select historic tasks for any of the given the given process instance business keys.HistoricTaskInstanceQuery
processInstanceBusinessKeyLike(String processInstanceBusinessKey)
Only select historic tasks matching the given process instance business key.HistoricTaskInstanceQueryImpl
processInstanceId(String processInstanceId)
Only select historic task instances for the given process instance.HistoricTaskInstanceQuery
processUnfinished()
Only select historic task instances which are part of a process instance which is not finished yet.HistoricTaskInstanceQuery
processVariableValueEquals(String variableName, Object variableValue)
Only select historic task instances which are part of a process instance which have a variable with the given name set to the given value.HistoricTaskInstanceQuery
processVariableValueGreaterThan(String variableName, Object variableValue)
Only select historic task instances which are part of a process that have a variable with the given name and a value greater than the given one.HistoricTaskInstanceQuery
processVariableValueGreaterThanOrEquals(String variableName, Object variableValue)
Only select historic task instances which are part of a process that have a variable with the given name and a value greater than or equal to the given one.HistoricTaskInstanceQuery
processVariableValueLessThan(String variableName, Object variableValue)
Only select historic task instances which are part of a process that have a variable with the given name and a value less than the given one.HistoricTaskInstanceQuery
processVariableValueLessThanOrEquals(String variableName, Object variableValue)
Only select historic task instances which are part of a process that have a variable with the given name and a value less than or equal to the given one.HistoricTaskInstanceQuery
processVariableValueLike(String variableName, Object variableValue)
Only select historic task instances which are part of a process that have a variable with the given name and matching the given value.HistoricTaskInstanceQuery
processVariableValueNotEquals(String variableName, Object variableValue)
Only select historic task instances which have a variable with the given name, but with a different value than the passed value.HistoricTaskInstanceQuery
processVariableValueNotLike(String variableName, Object variableValue)
Only select historic task instances which are part of a process that have a variable with the given name and not matching the given value.void
setOrQueryActive()
HistoricTaskInstanceQuery
startedAfter(Date date)
Only select tasks where started after given dateHistoricTaskInstanceQuery
startedBefore(Date date)
Only select tasks where started before given dateHistoricTaskInstanceQueryImpl
taskAssigned()
Only select historic task instances with an assignee.HistoricTaskInstanceQueryImpl
taskAssignee(String taskAssignee)
Only select historic task instances which were last taskAssigned to the given assignee.HistoricTaskInstanceQueryImpl
taskAssigneeLike(String taskAssigneeLike)
Only select historic task instances which were last taskAssigned to an assignee like the given value.HistoricTaskInstanceQuery
taskDefinitionKey(String taskDefinitionKey)
Only select historic task instances with the given task definition key.HistoricTaskInstanceQuery
taskDefinitionKeyIn(String... taskDefinitionKeys)
Only select historic task instances with one of the given task definition keys.HistoricTaskInstanceQueryImpl
taskDeleteReason(String taskDeleteReason)
Only select historic task instances with the given task delete reason.HistoricTaskInstanceQueryImpl
taskDeleteReasonLike(String taskDeleteReasonLike)
Only select historic task instances with a task description like the given value.HistoricTaskInstanceQueryImpl
taskDescription(String taskDescription)
Only select historic task instances with the given task description.HistoricTaskInstanceQueryImpl
taskDescriptionLike(String taskDescriptionLike)
Only select historic task instances with a task description like the given value.HistoricTaskInstanceQuery
taskDueAfter(Date dueAfter)
Only select select historic task instances which have a due date after the given date.HistoricTaskInstanceQuery
taskDueBefore(Date dueBefore)
Only select select historic task instances which have a due date before the given date.HistoricTaskInstanceQuery
taskDueDate(Date dueDate)
Only select select historic task instances with the given due date.HistoricTaskInstanceQuery
taskFollowUpAfter(Date followUpAfter)
Only select select historic task instances which have a follow-up date after the given date.HistoricTaskInstanceQuery
taskFollowUpBefore(Date followUpBefore)
Only select select historic task instances which have a follow-up date before the given date.HistoricTaskInstanceQuery
taskFollowUpDate(Date followUpDate)
Only select select historic task instances with the given follow-up date.HistoricTaskInstanceQuery
taskHadCandidateGroup(String groupId)
Only select historic task instances which have mapping with Historic identity links with the condition of group being a candidateHistoricTaskInstanceQuery
taskHadCandidateUser(String userId)
Only select historic task instances which have mapping with Historic identity links with the condition of user being a candidateHistoricTaskInstanceQuery
taskId(String taskId)
Only select historic task instances for the given task id.HistoricTaskInstanceQuery
taskInvolvedGroup(String groupId)
Only select historic task instances which have mapping with Historic identity links based on group idHistoricTaskInstanceQuery
taskInvolvedUser(String userId)
Only select historic task instances which have mapping with Historic identity links based on user idHistoricTaskInstanceQueryImpl
taskName(String taskName)
Only select historic task instances with the given task name.HistoricTaskInstanceQueryImpl
taskNameLike(String taskNameLike)
Only select historic task instances with a task name like the given value.HistoricTaskInstanceQueryImpl
taskOwner(String taskOwner)
Only select historic task instances which have the given owner.HistoricTaskInstanceQueryImpl
taskOwnerLike(String taskOwnerLike)
Only select historic task instances which have an owner like the one specified.HistoricTaskInstanceQuery
taskParentTaskId(String parentTaskId)
Only select subtasks of the given parent taskHistoricTaskInstanceQuery
taskPriority(Integer taskPriority)
Only select historic task instances with the given priority.HistoricTaskInstanceQueryImpl
taskUnassigned()
Only select historic task instances without an assignee.HistoricTaskInstanceQueryImpl
taskVariableValueEquals(String variableName, Object variableValue)
Only select historic task instances which have a local task variable with the given name set to the given value.HistoricTaskInstanceQuery
tenantIdIn(String... tenantIds)
Only select historic task instances with one of the given tenant ids.HistoricTaskInstanceQueryImpl
unfinished()
Only select historic task instances which aren't finished yet.HistoricTaskInstanceQuery
withCandidateGroups()
Only select historic task instances which have a candidate 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 String processDefinitionId
-
processDefinitionKey
protected String processDefinitionKey
-
processDefinitionName
protected String processDefinitionName
-
processInstanceId
protected String processInstanceId
-
processInstanceBusinessKey
protected String processInstanceBusinessKey
-
processInstanceBusinessKeys
protected String[] processInstanceBusinessKeys
-
processInstanceBusinessKeyLike
protected String processInstanceBusinessKeyLike
-
executionId
protected String executionId
-
activityInstanceIds
protected String[] activityInstanceIds
-
taskId
protected String taskId
-
taskName
protected String taskName
-
taskNameLike
protected String taskNameLike
-
taskParentTaskId
protected String taskParentTaskId
-
taskDescription
protected String taskDescription
-
taskDescriptionLike
protected String taskDescriptionLike
-
taskDeleteReason
protected String taskDeleteReason
-
taskDeleteReasonLike
protected String taskDeleteReasonLike
-
taskOwner
protected String taskOwner
-
taskOwnerLike
protected String taskOwnerLike
-
assigned
protected Boolean assigned
-
unassigned
protected Boolean unassigned
-
taskAssignee
protected String taskAssignee
-
taskAssigneeLike
protected String taskAssigneeLike
-
taskDefinitionKeys
protected String[] taskDefinitionKeys
-
taskInvolvedUser
protected String taskInvolvedUser
-
taskInvolvedGroup
protected String taskInvolvedGroup
-
taskHadCandidateUser
protected String taskHadCandidateUser
-
taskHadCandidateGroup
protected String taskHadCandidateGroup
-
withCandidateGroups
protected Boolean withCandidateGroups
-
withoutCandidateGroups
protected Boolean withoutCandidateGroups
-
taskPriority
protected Integer taskPriority
-
finished
protected boolean finished
-
unfinished
protected boolean unfinished
-
processFinished
protected boolean processFinished
-
processUnfinished
protected boolean processUnfinished
-
variables
protected List<TaskQueryVariableValue> variables
-
variableNamesIgnoreCase
protected Boolean variableNamesIgnoreCase
-
variableValuesIgnoreCase
protected Boolean variableValuesIgnoreCase
-
dueDate
protected Date dueDate
-
dueAfter
protected Date dueAfter
-
dueBefore
protected Date dueBefore
-
isWithoutTaskDueDate
protected boolean isWithoutTaskDueDate
-
followUpDate
protected Date followUpDate
-
followUpBefore
protected Date followUpBefore
-
followUpAfter
protected Date followUpAfter
-
tenantIds
protected String[] tenantIds
-
isTenantIdSet
protected boolean isTenantIdSet
-
caseDefinitionId
protected String caseDefinitionId
-
caseDefinitionKey
protected String caseDefinitionKey
-
caseDefinitionName
protected String caseDefinitionName
-
caseInstanceId
protected String caseInstanceId
-
caseExecutionId
protected String caseExecutionId
-
finishedAfter
protected Date finishedAfter
-
finishedBefore
protected Date finishedBefore
-
startedAfter
protected Date startedAfter
-
startedBefore
protected Date startedBefore
-
queries
protected 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 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(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(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(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(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(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(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(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(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(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(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(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(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(String parentTaskId)
Description copied from interface:HistoricTaskInstanceQuery
Only select subtasks of the given parent task- Specified by:
taskParentTaskId
in interfaceHistoricTaskInstanceQuery
-
taskDescription
public HistoricTaskInstanceQueryImpl taskDescription(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(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(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(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(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(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(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(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(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(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(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(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(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(String variableName, 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(String variableName, 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(String variableName, 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(String variableName, 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(String variableName, 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(String variableName, 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(String variableName, 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(String variableName, 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(String variableName, 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(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(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(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(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(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(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(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(String name, Object value, QueryOperator operator, boolean isTaskVariable, boolean isProcessInstanceVariable)
-
addVariable
protected void addVariable(TaskQueryVariableValue taskQueryVariableValue)
-
taskDueDate
public HistoricTaskInstanceQuery taskDueDate(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(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(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(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(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(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(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(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(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(Date date)
Description copied from interface:HistoricTaskInstanceQuery
Only select tasks where started after given date- Specified by:
startedAfter
in interfaceHistoricTaskInstanceQuery
-
startedBefore
public HistoricTaskInstanceQuery startedBefore(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 String getProcessInstanceId()
-
getProcessInstanceBusinessKey
public String getProcessInstanceBusinessKey()
-
getProcessInstanceBusinessKeys
public String[] getProcessInstanceBusinessKeys()
-
getProcessInstanceBusinessKeyLike
public String getProcessInstanceBusinessKeyLike()
-
getProcessDefinitionKey
public String getProcessDefinitionKey()
-
getProcessDefinitionName
public String getProcessDefinitionName()
-
getExecutionId
public String getExecutionId()
-
getActivityInstanceIds
public String[] getActivityInstanceIds()
-
getProcessDefinitionId
public String getProcessDefinitionId()
-
isAssigned
public Boolean isAssigned()
-
isUnassigned
public Boolean isUnassigned()
-
isWithCandidateGroups
public Boolean isWithCandidateGroups()
-
isWithoutCandidateGroups
public Boolean isWithoutCandidateGroups()
-
isFinished
public boolean isFinished()
-
isProcessFinished
public boolean isProcessFinished()
-
isUnfinished
public boolean isUnfinished()
-
isProcessUnfinished
public boolean isProcessUnfinished()
-
getDueDate
public Date getDueDate()
-
getDueBefore
public Date getDueBefore()
-
getDueAfter
public Date getDueAfter()
-
isWithoutTaskDueDate
public boolean isWithoutTaskDueDate()
-
getFollowUpDate
public Date getFollowUpDate()
-
getFollowUpBefore
public Date getFollowUpBefore()
-
getFollowUpAfter
public Date getFollowUpAfter()
-
getTaskName
public String getTaskName()
-
getTaskNameLike
public String getTaskNameLike()
-
getTaskDescription
public String getTaskDescription()
-
getTaskDescriptionLike
public String getTaskDescriptionLike()
-
getTaskDeleteReason
public String getTaskDeleteReason()
-
getTaskDeleteReasonLike
public String getTaskDeleteReasonLike()
-
getTaskAssignee
public String getTaskAssignee()
-
getTaskAssigneeLike
public String getTaskAssigneeLike()
-
getTaskId
public String getTaskId()
-
getTaskInvolvedGroup
public String getTaskInvolvedGroup()
-
getTaskInvolvedUser
public String getTaskInvolvedUser()
-
getTaskHadCandidateGroup
public String getTaskHadCandidateGroup()
-
getTaskHadCandidateUser
public String getTaskHadCandidateUser()
-
getTaskDefinitionKeys
public String[] getTaskDefinitionKeys()
-
getVariables
public List<TaskQueryVariableValue> getVariables()
-
getVariableNamesIgnoreCase
public Boolean getVariableNamesIgnoreCase()
-
getVariableValuesIgnoreCase
public Boolean getVariableValuesIgnoreCase()
-
getTaskOwnerLike
public String getTaskOwnerLike()
-
getTaskOwner
public String getTaskOwner()
-
getTaskPriority
public Integer getTaskPriority()
-
getTaskParentTaskId
public String getTaskParentTaskId()
-
getTenantIds
public String[] getTenantIds()
-
getCaseDefinitionId
public String getCaseDefinitionId()
-
getCaseDefinitionKey
public String getCaseDefinitionKey()
-
getCaseDefinitionName
public String getCaseDefinitionName()
-
getCaseInstanceId
public String getCaseInstanceId()
-
getCaseExecutionId
public String getCaseExecutionId()
-
getFinishedAfter
public Date getFinishedAfter()
-
getFinishedBefore
public Date getFinishedBefore()
-
getStartedAfter
public Date getStartedAfter()
-
getStartedBefore
public Date getStartedBefore()
-
isTenantIdSet
public boolean isTenantIdSet()
-
getQueries
public 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.
-
-