Modifier and Type | Method and Description |
---|---|
TaskQuery |
active()
Only selects tasks which are active (ie.
|
TaskQuery |
activityInstanceIdIn(String... activityInstanceIds)
Only select task which have one of the activity instance ids.
|
TaskQuery |
dueAfter(Date dueDate)
Only select tasks which have a due date after the given date.
|
TaskQuery |
dueBefore(Date dueDate)
Only select tasks which have a due date before the given date.
|
TaskQuery |
dueDate(Date dueDate)
Only select tasks with the given due date.
|
TaskQuery |
excludeSubtasks()
Only select tasks that have no parent (i.e.
|
TaskQuery |
executionId(String executionId)
Only select tasks for the given execution.
|
TaskQuery |
followUpAfter(Date dueDate)
Only select tasks which have a follow-up date after the given date.
|
TaskQuery |
followUpBefore(Date dueDate)
Only select tasks which have a follow-up date before the given date.
|
TaskQuery |
followUpDate(Date dueDate)
Only select tasks with the given follow-up date.
|
TaskQuery |
orderByDueDate()
Order by due date (needs to be followed by
Query.asc() or Query.desc() ). |
TaskQuery |
orderByExecutionId()
Order by execution id (needs to be followed by
Query.asc() or Query.desc() ). |
TaskQuery |
orderByFollowUpDate()
Order by follow-up date (needs to be followed by
Query.asc() or Query.desc() ). |
TaskQuery |
orderByProcessInstanceId()
Order by process instance id (needs to be followed by
Query.asc() or Query.desc() ). |
TaskQuery |
orderByTaskAssignee()
Order by assignee (needs to be followed by
Query.asc() or Query.desc() ). |
TaskQuery |
orderByTaskCreateTime()
Order by the time on which the tasks were created (needs to be followed by
Query.asc() or Query.desc() ). |
TaskQuery |
orderByTaskDescription()
Order by description (needs to be followed by
Query.asc() or Query.desc() ). |
TaskQuery |
orderByTaskId()
Order by task id (needs to be followed by
Query.asc() or Query.desc() ). |
TaskQuery |
orderByTaskName()
Order by task name (needs to be followed by
Query.asc() or Query.desc() ). |
TaskQuery |
orderByTaskPriority()
Order by priority (needs to be followed by
Query.asc() or Query.desc() ). |
TaskQuery |
processDefinitionId(String processDefinitionId)
Only select tasks which are part of a process instance which has the given
process definition id.
|
TaskQuery |
processDefinitionKey(String processDefinitionKey)
Only select tasks which are part of a process instance which has the given
process definition key.
|
TaskQuery |
processDefinitionName(String processDefinitionName)
Only select tasks which are part of a process instance which has the given
process definition name.
|
TaskQuery |
processDefinitionNameLike(String processDefinitionName)
Only select tasks which are part of a process instance which process definition
name is like the given parameter.
|
TaskQuery |
processInstanceBusinessKey(String processInstanceBusinessKey)
Only select tasks foe the given business key
|
TaskQuery |
processInstanceBusinessKeyLike(String processInstanceBusinessKey)
Only select tasks matching the given business key.
|
TaskQuery |
processInstanceId(String processInstanceId)
Only select tasks for the given process instance id.
|
TaskQuery |
processVariableValueEquals(String variableName,
Object variableValue)
Only select tasks which have are part of a process that have a variable
with the given name set to the given value.
|
TaskQuery |
processVariableValueGreaterThan(String variableName,
Object variableValue)
Only select tasks which are part of a process that have a variable
with the given name and a value greater than the given one.
|
TaskQuery |
processVariableValueGreaterThanOrEquals(String variableName,
Object variableValue)
Only select tasks 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.
|
TaskQuery |
processVariableValueLessThan(String variableName,
Object variableValue)
Only select tasks which are part of a process that have a variable
with the given name and a value less than the given one.
|
TaskQuery |
processVariableValueLessThanOrEquals(String variableName,
Object variableValue)
Only select tasks 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.
|
TaskQuery |
processVariableValueLike(String variableName,
String variableValue)
Only select tasks which are part of a process that have a variable
with the given name and matching the given value.
|
TaskQuery |
processVariableValueNotEquals(String variableName,
Object variableValue)
Only select tasks which have a variable with the given name, but
with a different value than the passed value.
|
TaskQuery |
suspended()
Only selects tasks which are suspended, because its process instance was suspended.
|
TaskQuery |
taskAssignee(String assignee)
Only select tasks which are assigned to the given user.
|
TaskQuery |
taskAssigneeLike(String assignee)
Only select tasks which are matching the given user.
|
TaskQuery |
taskCandidateGroup(String candidateGroup)
Only select tasks for which users in the given group are candidates.
|
TaskQuery |
taskCandidateGroupIn(List<String> candidateGroups)
Only select tasks for which the 'candidateGroup' is one of the given groups.
|
TaskQuery |
taskCandidateUser(String candidateUser)
Only select tasks for which the given user is a candidate.
|
TaskQuery |
taskCreatedAfter(Date after)
Only select tasks that are created after the given date.
|
TaskQuery |
taskCreatedBefore(Date before)
Only select tasks that are created before the given date.
|
TaskQuery |
taskCreatedOn(Date createTime)
Only select tasks that are created on the given date.
|
TaskQuery |
taskDefinitionKey(String key)
Only select tasks with the given taskDefinitionKey.
|
TaskQuery |
taskDefinitionKeyLike(String keyLike)
Only select tasks with a taskDefinitionKey that match the given parameter.
|
TaskQuery |
taskDelegationState(DelegationState delegationState)
Only select tasks with the given
DelegationState . |
TaskQuery |
taskDescription(String description)
Only select tasks with the given description.
|
TaskQuery |
taskDescriptionLike(String descriptionLike)
Only select tasks with a description matching the parameter .
|
TaskQuery |
taskId(String taskId)
Only select tasks with the given task id (in practice, there will be
maximum one of this kind)
|
TaskQuery |
taskInvolvedUser(String involvedUser)
Only select tasks for which there exist an
IdentityLink with the given user |
TaskQuery |
taskMaxPriority(Integer maxPriority)
Only select tasks with the given priority or lower.
|
TaskQuery |
taskMinPriority(Integer minPriority)
Only select tasks with the given priority or higher.
|
TaskQuery |
taskName(String name)
Only select tasks with the given name
|
TaskQuery |
taskNameLike(String nameLike)
Only select tasks with a name matching the parameter.
|
TaskQuery |
taskOwner(String owner)
Only select tasks for which the given user is the owner.
|
TaskQuery |
taskPriority(Integer priority)
Only select tasks with the given priority.
|
TaskQuery |
taskUnassigned()
Only select tasks which don't have an assignee.
|
TaskQuery |
taskUnnassigned()
Deprecated.
|
TaskQuery |
taskVariableValueEquals(String variableName,
Object variableValue)
Only select tasks which have a local task variable with the given name
set to the given value.
|
TaskQuery |
taskVariableValueGreaterThan(String variableName,
Object variableValue)
Only select tasks which have a local task variable with the given name
and a value greater than the given one.
|
TaskQuery |
taskVariableValueGreaterThanOrEquals(String variableName,
Object variableValue)
Only select tasks which have a local task variable with the given name
and a value greater than or equal to the given one.
|
TaskQuery |
taskVariableValueLessThan(String variableName,
Object variableValue)
Only select tasks which have a local task variable with the given name
and a value less than the given one.
|
TaskQuery |
taskVariableValueLessThanOrEquals(String variableName,
Object variableValue)
Only select tasks which have a local task variable with the given name
and a value less than or equal to the given one.
|
TaskQuery |
taskVariableValueLike(String variableName,
String variableValue)
Only select tasks which have a local task variable with the given name
matching the given value.
|
TaskQuery |
taskVariableValueNotEquals(String variableName,
Object variableValue)
Only select tasks which have a local task variable with the given name, but
with a different value than the passed value.
|
TaskQuery taskId(String taskId)
TaskQuery taskNameLike(String nameLike)
TaskQuery taskDescription(String description)
TaskQuery taskDescriptionLike(String descriptionLike)
TaskQuery taskMinPriority(Integer minPriority)
TaskQuery taskMaxPriority(Integer maxPriority)
TaskQuery taskAssignee(String assignee)
TaskQuery taskAssigneeLike(String assignee)
TaskQuery taskOwner(String owner)
TaskQuery taskUnassigned()
@Deprecated TaskQuery taskUnnassigned()
#taskUnassigned}
TaskQuery taskDelegationState(DelegationState delegationState)
DelegationState
.TaskQuery taskCandidateUser(String candidateUser)
TaskQuery taskInvolvedUser(String involvedUser)
IdentityLink
with the given userTaskQuery taskCandidateGroup(String candidateGroup)
TaskQuery taskCandidateGroupIn(List<String> candidateGroups)
ProcessEngineException
- When query is executed and taskCandidateGroup(String)
or
taskCandidateUser(String)
has been executed on the query instance.
When passed group list is empty or null
.TaskQuery processInstanceId(String processInstanceId)
TaskQuery processInstanceBusinessKey(String processInstanceBusinessKey)
TaskQuery processInstanceBusinessKeyLike(String processInstanceBusinessKey)
TaskQuery activityInstanceIdIn(String... activityInstanceIds)
TaskQuery taskCreatedOn(Date createTime)
TaskQuery taskCreatedBefore(Date before)
TaskQuery taskCreatedAfter(Date after)
TaskQuery excludeSubtasks()
TaskQuery taskDefinitionKey(String key)
TaskQuery taskDefinitionKeyLike(String keyLike)
TaskQuery taskVariableValueEquals(String variableName, Object variableValue)
TaskQuery taskVariableValueNotEquals(String variableName, Object variableValue)
Serializable
objects (which are not primitive type wrappers)
are not supported.TaskQuery taskVariableValueLike(String variableName, String variableValue)
TaskQuery taskVariableValueGreaterThan(String variableName, Object variableValue)
TaskQuery taskVariableValueGreaterThanOrEquals(String variableName, Object variableValue)
TaskQuery taskVariableValueLessThan(String variableName, Object variableValue)
TaskQuery taskVariableValueLessThanOrEquals(String variableName, Object variableValue)
TaskQuery processVariableValueEquals(String variableName, Object variableValue)
TaskQuery processVariableValueNotEquals(String variableName, Object variableValue)
Serializable
objects (which are not primitive type wrappers)
are not supported.TaskQuery processVariableValueLike(String variableName, String variableValue)
TaskQuery processVariableValueGreaterThan(String variableName, Object variableValue)
TaskQuery processVariableValueGreaterThanOrEquals(String variableName, Object variableValue)
TaskQuery processVariableValueLessThan(String variableName, Object variableValue)
TaskQuery processVariableValueLessThanOrEquals(String variableName, Object variableValue)
TaskQuery processDefinitionKey(String processDefinitionKey)
TaskQuery processDefinitionId(String processDefinitionId)
TaskQuery processDefinitionName(String processDefinitionName)
TaskQuery processDefinitionNameLike(String processDefinitionName)
TaskQuery dueBefore(Date dueDate)
TaskQuery dueAfter(Date dueDate)
TaskQuery followUpBefore(Date dueDate)
TaskQuery followUpAfter(Date dueDate)
TaskQuery suspended()
TaskQuery active()
TaskQuery orderByTaskId()
Query.asc()
or Query.desc()
).TaskQuery orderByTaskName()
Query.asc()
or Query.desc()
).TaskQuery orderByTaskDescription()
Query.asc()
or Query.desc()
).TaskQuery orderByTaskPriority()
Query.asc()
or Query.desc()
).TaskQuery orderByTaskAssignee()
Query.asc()
or Query.desc()
).TaskQuery orderByTaskCreateTime()
Query.asc()
or Query.desc()
).TaskQuery orderByProcessInstanceId()
Query.asc()
or Query.desc()
).TaskQuery orderByExecutionId()
Query.asc()
or Query.desc()
).TaskQuery orderByDueDate()
Query.asc()
or Query.desc()
).TaskQuery orderByFollowUpDate()
Query.asc()
or Query.desc()
).Copyright © 2015. All rights reserved.