public interface TaskQuery extends TaskInfoQuery<TaskQuery,Task>
Task
s;Modifier and Type | Method and Description |
---|---|
TaskQuery |
active()
Only selects tasks which are active (ie.
|
TaskQuery |
excludeSubtasks()
Only select tasks that have no parent (i.e.
|
TaskQuery |
orderByDueDate()
Deprecated.
Use orderByTaskDueDate() instead
|
TaskQuery |
suspended()
Only selects tasks which are suspended, because its process instance was suspended.
|
TaskQuery |
taskCandidateOrAssigned(String userIdForCandidateAndAssignee)
Select tasks that has been claimed or assigned to user or waiting to claim by user (candidate user or groups).
|
TaskQuery |
taskDelegationState(DelegationState delegationState)
Only select tasks with the given
DelegationState . |
TaskQuery |
taskUnassigned()
Only select tasks which don't have an assignee.
|
TaskQuery |
taskUnnassigned()
Deprecated.
|
deploymentId, deploymentIdIn, dueAfter, dueBefore, dueDate, endOr, executionId, includeProcessVariables, includeTaskLocalVariables, limitTaskVariables, locale, or, orderByDueDateNullsFirst, orderByDueDateNullsLast, orderByExecutionId, orderByProcessDefinitionId, orderByProcessInstanceId, orderByTaskAssignee, orderByTaskCreateTime, orderByTaskDefinitionKey, orderByTaskDescription, orderByTaskDueDate, orderByTaskId, orderByTaskName, orderByTaskOwner, orderByTaskPriority, orderByTenantId, processCategoryIn, processCategoryNotIn, processDefinitionId, processDefinitionKey, processDefinitionKeyIn, processDefinitionKeyLike, processDefinitionKeyLikeIgnoreCase, processDefinitionName, processDefinitionNameLike, processInstanceBusinessKey, processInstanceBusinessKeyLike, processInstanceBusinessKeyLikeIgnoreCase, processInstanceId, processInstanceIdIn, processVariableValueEquals, processVariableValueEquals, processVariableValueEqualsIgnoreCase, processVariableValueGreaterThan, processVariableValueGreaterThanOrEqual, processVariableValueLessThan, processVariableValueLessThanOrEqual, processVariableValueLike, processVariableValueLikeIgnoreCase, processVariableValueNotEquals, processVariableValueNotEqualsIgnoreCase, taskAssignee, taskAssigneeLike, taskAssigneeLikeIgnoreCase, taskCandidateGroup, taskCandidateGroupIn, taskCandidateUser, taskCategory, taskCreatedAfter, taskCreatedBefore, taskCreatedOn, taskDefinitionKey, taskDefinitionKeyLike, taskDescription, taskDescriptionLike, taskDescriptionLikeIgnoreCase, taskDueAfter, taskDueBefore, taskDueDate, taskId, taskInvolvedUser, taskMaxPriority, taskMinPriority, taskName, taskNameIn, taskNameInIgnoreCase, taskNameLike, taskNameLikeIgnoreCase, taskOwner, taskOwnerLike, taskOwnerLikeIgnoreCase, taskPriority, taskTenantId, taskTenantIdLike, taskVariableValueEquals, taskVariableValueEquals, taskVariableValueEqualsIgnoreCase, taskVariableValueGreaterThan, taskVariableValueGreaterThanOrEqual, taskVariableValueLessThan, taskVariableValueLessThanOrEqual, taskVariableValueLike, taskVariableValueLikeIgnoreCase, taskVariableValueNotEquals, taskVariableValueNotEqualsIgnoreCase, taskWithoutTenantId, withLocalizationFallback, withoutDueDate, withoutTaskDueDate
TaskQuery taskUnassigned()
@Deprecated TaskQuery taskUnnassigned()
#taskUnassigned}
TaskQuery taskDelegationState(DelegationState delegationState)
DelegationState
.TaskQuery taskCandidateOrAssigned(String userIdForCandidateAndAssignee)
TaskInfoQuery.taskCandidateGroupIn(List)
to include tasks that can be claimed by a user in the given groups
while set property dbIdentityUsed to false in process engine configuration
or using custom session factory of GroupIdentityManager.TaskQuery excludeSubtasks()
TaskQuery suspended()
TaskQuery active()
TaskQuery orderByDueDate()
Query.asc()
or Query.desc()
).
This will use the default handling of null values of the used database.Copyright © 2016 Alfresco. All rights reserved.