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 |
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.
|
deploymentId, deploymentIdIn, 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, taskAssigneeIds, taskAssigneeLike, taskAssigneeLikeIgnoreCase, taskCandidateGroup, taskCandidateGroupIn, taskCandidateUser, taskCategory, taskCreatedAfter, taskCreatedBefore, taskCreatedOn, taskDefinitionKey, taskDefinitionKeyLike, taskDescription, taskDescriptionLike, taskDescriptionLikeIgnoreCase, taskDueAfter, taskDueBefore, taskDueDate, taskId, taskInvolvedGroupsIn, 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, withoutTaskDueDate
TaskQuery 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()
Copyright © 2017 Alfresco. All rights reserved.