Class TaskQueryImpl
- All Implemented Interfaces:
Serializable,Command<Object>,Query<TaskQuery,,Task> TaskInfoQuery<TaskQuery,,Task> TaskQuery
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.activiti.engine.impl.AbstractQuery
AbstractQuery.NullHandlingOnOrder -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected booleanprotected Stringprotected Stringprotected Stringprotected Dateprotected Dateprotected Dateprotected TaskQueryImplprotected DelegationStateprotected Stringprotected Stringprotected Stringprotected Stringprotected Dateprotected Dateprotected Dateprotected booleanprotected Stringprotected booleanprotected booleanprotected Stringprotected Stringprotected Stringprotected Stringprotected Integerprotected Integerprotected Stringprotected Stringprotected Stringprotected booleanprotected booleanprotected List<TaskQueryImpl> protected Stringprotected Stringprotected Stringprotected Integerprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected SuspensionStateprotected Stringprotected Stringprotected Integerprotected Stringprotected Stringprotected booleanprotected Stringprotected booleanprotected booleanprotected booleanFields inherited from class org.activiti.engine.impl.AbstractVariableQueryImpl
queryVariableValuesFields inherited from class org.activiti.engine.impl.AbstractQuery
commandContext, commandExecutor, databaseType, nullHandlingOnOrder, orderBy, orderProperty, resultType, SORTORDER_ASC, SORTORDER_DESCFields inherited from class org.activiti.engine.impl.db.ListQueryParameterObject
firstResult, maxResults, parameter -
Constructor Summary
ConstructorsConstructorDescriptionTaskQueryImpl(CommandContext commandContext) TaskQueryImpl(CommandExecutor commandExecutor) TaskQueryImpl(CommandExecutor commandExecutor, String databaseType) -
Method Summary
Modifier and TypeMethodDescriptionactive()Only selects tasks which are active (ie. not suspended)deploymentId(String deploymentId) Only select tasks which are part of a process instance which has the given deployment id.deploymentIdIn(List<String> deploymentIds) Only select tasks which are part of a process instance which has the given deployment id.endOr()protected voidOnly select tasks that have no parent (i.e. do not select subtasks).longexecuteCount(CommandContext commandContext) executeList(CommandContext commandContext, Page page) Executes the actual query to retrieve the list of results.executionId(String executionId) Only select tasks for the given execution.booleangetGroupsForCandidateUser(String candidateUser) getKey()getName()booleangetOwner()booleanInclude global task variables in the task query resultInclude local task variables in the task query resultbooleanbooleanbooleanbooleanbooleanbooleanlimitTaskVariables(Integer taskVariablesLimit) Limit task variablesLocalize task name and description to specified locale.protected voidor()All query clauses called will be added to a single or-statement.Order by due date (needs to be followed byQuery.asc()orQuery.desc()).Order by due date (needs to be followed byQuery.asc()orQuery.desc()).Order by execution id (needs to be followed byQuery.asc()orQuery.desc()).Order by process definition id (needs to be followed byQuery.asc()orQuery.desc()).Order by process instance id (needs to be followed byQuery.asc()orQuery.desc()).Order by assignee (needs to be followed byQuery.asc()orQuery.desc()).Order by the time on which the tasks were created (needs to be followed byQuery.asc()orQuery.desc()).Order by task definition key (needs to be followed byQuery.asc()orQuery.desc()).Order by description (needs to be followed byQuery.asc()orQuery.desc()).Order by task due date (needs to be followed byQuery.asc()orQuery.desc()).Order by task id (needs to be followed byQuery.asc()orQuery.desc()).Order by task name (needs to be followed byQuery.asc()orQuery.desc()).Order by task owner (needs to be followed byQuery.asc()orQuery.desc()).Order by priority (needs to be followed byQuery.asc()orQuery.desc()).Order by tenant id (needs to be followed byQuery.asc()orQuery.desc()).processCategoryIn(List<String> processCategoryInList) Only select tasks which are part of a process instance whose definition belongs to the category which is present in the given list.processCategoryNotIn(List<String> processCategoryNotInList) Only select tasks which are part of a process instance whose definition does not belong to the category which is present in the given list.processDefinitionId(String processDefinitionId) Only select tasks which are part of a process instance which has the given process definition id.processDefinitionKey(String processDefinitionKey) Only select tasks which are part of a process instance which has the given process definition key.processDefinitionKeyIn(List<String> processDefinitionKeys) Only select tasks that have a process definition for which the key is present in the given listprocessDefinitionKeyLike(String processDefinitionKeyLike) Only select tasks which are part of a process instance which has a process definition key like the given value.processDefinitionKeyLikeIgnoreCase(String processDefinitionKeyLikeIgnoreCase) Only select tasks which are part of a process instance which has a process definition key like the given value.processDefinitionName(String processDefinitionName) Only select tasks which are part of a process instance which has the given process definition name.processDefinitionNameLike(String processDefinitionNameLike) Only select tasks which are part of a process instance which has a process definition name like the given value.processInstanceBusinessKey(String processInstanceBusinessKey) Only select tasks foe the given business keyprocessInstanceBusinessKeyLike(String processInstanceBusinessKeyLike) Only select tasks with a business key like the given value The syntax is that of SQL: for example usage: processInstanceBusinessKeyLike("%activiti%").processInstanceBusinessKeyLikeIgnoreCase(String processInstanceBusinessKeyLikeIgnoreCase) Only select tasks with a business key like the given value The syntax is that of SQL: for example usage: processInstanceBusinessKeyLike("%activiti%").processInstanceId(String processInstanceId) Only select tasks for the given process instance id.processInstanceIdIn(List<String> processInstanceIds) Only select tasks for the given process ids.processVariableValueEquals(Object variableValue) Only select tasks which are part of a process that has at least one variable with the given value.processVariableValueEquals(String variableName, Object variableValue) Only select tasks which are part of a process that has a variable with the given name set to the given value.processVariableValueEqualsIgnoreCase(String name, String value) Only select tasks which are part of a process that has a local string variable which is not the given value, case insensitive.processVariableValueGreaterThan(String name, Object value) Only select tasks which have a global variable value greater than the passed value when they ended.processVariableValueGreaterThanOrEqual(String name, Object value) Only select tasks which have a global variable value greater than or equal to the passed value when they ended.processVariableValueLessThan(String name, Object value) Only select tasks which have a global variable value less than the passed value when the ended.Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.processVariableValueLessThanOrEqual(String name, Object value) Only select tasks which have a global variable value less than or equal to the passed value when they ended.processVariableValueLike(String name, String value) Only select tasks which have a global variable value like the given value when they ended.processVariableValueLikeIgnoreCase(String name, String value) Only select tasks which have a global variable value like the given value (case insensitive) when they ended.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.processVariableValueNotEqualsIgnoreCase(String name, String value) Only select tasks which are part of a process that has a string variable with the given value, case insensitive.voidsetOrQueryObjects(List<TaskQueryImpl> orQueryObjects) Only selects tasks which are suspended, because its process instance was suspended.taskAssignee(String assignee) Only select tasks which are assigned to the given user.taskAssigneeIds(List<String> assigneeIds) Only select tasks with an assignee that is in the given listtaskAssigneeLike(String assigneeLike) Only select tasks which were last assigned to an assignee like the given value.taskAssigneeLikeIgnoreCase(String assigneeLikeIgnoreCase) Only select tasks which were last assigned to an assignee like the given value.taskCandidateGroup(String candidateGroup) Only select tasks for which users in the given group are candidates.taskCandidateGroupIn(List<String> candidateGroups) Only select tasks for which the 'candidateGroup' is one of the given groups.taskCandidateOrAssigned(String userIdForCandidateAndAssignee) Select tasks that has been claimed or assigned to user or waiting to claim by user (candidate user or groups).taskCandidateOrAssigned(String userIdForCandidateAndAssignee, List<String> usersGroups) Select tasks that has been claimed or assigned to user or waiting to claim by user (candidate user or groups).taskCandidateUser(String candidateUser) Only select tasks for which the given user is a candidate.taskCandidateUser(String candidateUser, List<String> usersGroups) Only select tasks for which the given user is a candidate.taskCategory(String category) Only select tasks with the given category.taskCreatedAfter(Date after) Only select tasks that are created after the given date.taskCreatedBefore(Date before) Only select tasks that are created before the given date.taskCreatedOn(Date createTime) Only select tasks that are created on the given date.taskDefinitionKey(String key) Only select tasks with the given taskDefinitionKey.taskDefinitionKeyLike(String keyLike) Only select tasks with a taskDefinitionKey that match the given parameter.taskDelegationState(DelegationState delegationState) Only select tasks with the givenDelegationState.taskDescription(String description) Only select tasks with the given description.taskDescriptionLike(String descriptionLike) Only select tasks with a description matching the parameter .taskDescriptionLikeIgnoreCase(String descriptionLikeIgnoreCase) Only select tasks with a description matching the parameter .taskDueAfter(Date dueDate) Only select tasks which have a due date after the given date.taskDueBefore(Date dueDate) Only select tasks which have a due date before the given date.taskDueDate(Date dueDate) Only select tasks with the given due date.Only select tasks with the given task id (in practice, there will be maximum one of this kind)taskInvolvedGroupsIn(List<String> involvedGroups) Only select tasks for users involved in the given groupstaskInvolvedUser(String involvedUser) Only select tasks for which there exist anIdentityLinkwith the given user, including tasks which have been assigned to the given user (assignee) or owned by the given user (owner).taskMaxPriority(Integer maxPriority) Only select tasks with the given priority or lower.taskMinPriority(Integer minPriority) Only select tasks with the given priority or higher.Only select tasks with the given nametaskNameIn(List<String> nameList) Only select tasks with a name that is in the given listtaskNameInIgnoreCase(List<String> nameList) Only select tasks with a name that is in the given list This method, unlike theTaskInfoQuery.taskNameIn(List)method will not take in account the upper/lower case: both the input parameters as the column value are lowercased when the query is executed.taskNameLike(String nameLike) Only select tasks with a name matching the parameter.taskNameLikeIgnoreCase(String nameLikeIgnoreCase) Only select tasks with a name matching the parameter.Only select tasks for which the given user is the owner.taskOwnerLike(String ownerLike) Only select tasks which were last assigned to an owner like the given value.taskOwnerLikeIgnoreCase(String ownerLikeIgnoreCase) Only select tasks which were last assigned to an owner like the given value.taskParentTaskId(String parentTaskId) taskPriority(Integer priority) Only select tasks with the given priority.taskTenantId(String tenantId) Only select tasks that have the given tenant id.taskTenantIdLike(String tenantIdLike) Only select tasks with a tenant id like the given one.Only select tasks which don't have an assignee.taskVariableValueEquals(Object variableValue) Only select tasks which have at least one local task variable with the given value.taskVariableValueEquals(String variableName, Object variableValue) Only select tasks which have a local task variable with the given name set to the given value.taskVariableValueEqualsIgnoreCase(String name, String value) Only select tasks which have a local string variable with the given value, case insensitive.taskVariableValueGreaterThan(String name, Object value) Only select tasks which have a local variable value greater than the passed value when they ended.taskVariableValueGreaterThanOrEqual(String name, Object value) Only select tasks which have a local variable value greater than or equal to the passed value when they ended.taskVariableValueLessThan(String name, Object value) Only select tasks which have a local variable value less than the passed value when the ended.Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.taskVariableValueLessThanOrEqual(String name, Object value) Only select tasks which have a local variable value less than or equal to the passed value when they ended.taskVariableValueLike(String name, String value) Only select tasks which have a local variable value like the given value when they ended.taskVariableValueLikeIgnoreCase(String name, String value) Only select tasks which have a local variable value like the given value (case insensitive) when they ended.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.taskVariableValueNotEqualsIgnoreCase(String name, String value) Only select tasks which have a local string variable with is not the given value, case insensitive.Only select tasks that do not have a tenant id.Instruct localization to fallback to more general locales including the default locale of the JVM if the specified locale is not found.Only select tasks with no due date.Methods inherited from class org.activiti.engine.impl.AbstractVariableQueryImpl
addVariable, getQueryVariableValues, hasLocalQueryVariableValue, hasNonLocalQueryVariableValue, isBoolean, variableValueEquals, variableValueEquals, variableValueEquals, variableValueEquals, variableValueEqualsIgnoreCase, variableValueEqualsIgnoreCase, variableValueGreaterThan, variableValueGreaterThan, variableValueGreaterThanOrEqual, variableValueGreaterThanOrEqual, variableValueLessThan, variableValueLessThan, variableValueLessThanOrEqual, variableValueLessThanOrEqual, variableValueLike, variableValueLike, variableValueLikeIgnoreCase, variableValueLikeIgnoreCase, variableValueNotEquals, variableValueNotEquals, variableValueNotEqualsIgnoreCase, variableValueNotEqualsIgnoreCaseMethods inherited from class org.activiti.engine.impl.AbstractQuery
addOrder, asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, getDatabaseType, getOrderBy, getOrderByColumns, list, listPage, orderBy, orderBy, setCommandExecutor, setDatabaseType, singleResultMethods inherited from class org.activiti.engine.impl.db.ListQueryParameterObject
getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, setFirstResult, setMaxResults, setParameter
-
Field Details
-
taskId
-
name
-
nameLike
-
nameLikeIgnoreCase
-
taskParentTaskId
-
nameList
-
nameListIgnoreCase
-
description
-
descriptionLike
-
descriptionLikeIgnoreCase
-
priority
-
minPriority
-
maxPriority
-
assignee
-
assigneeLike
-
assigneeLikeIgnoreCase
-
assigneeIds
-
involvedUser
-
involvedGroups
-
owner
-
ownerLike
-
ownerLikeIgnoreCase
-
unassigned
protected boolean unassigned -
noDelegationState
protected boolean noDelegationState -
delegationState
-
candidateUser
-
candidateGroup
-
candidateGroups
-
tenantId
-
tenantIdLike
-
withoutTenantId
protected boolean withoutTenantId -
processInstanceId
-
processInstanceIds
-
executionId
-
createTime
-
createTimeBefore
-
createTimeAfter
-
category
-
key
-
keyLike
-
processDefinitionKey
-
processDefinitionKeyLike
-
processDefinitionKeyLikeIgnoreCase
-
processDefinitionKeys
-
processDefinitionId
-
processDefinitionName
-
processDefinitionNameLike
-
processCategoryInList
-
processCategoryNotInList
-
deploymentId
-
deploymentIds
-
processInstanceBusinessKey
-
processInstanceBusinessKeyLike
-
processInstanceBusinessKeyLikeIgnoreCase
-
dueDate
-
dueBefore
-
dueAfter
-
withoutDueDate
protected boolean withoutDueDate -
suspensionState
-
excludeSubtasks
protected boolean excludeSubtasks -
includeTaskLocalVariables
protected boolean includeTaskLocalVariables -
includeProcessVariables
protected boolean includeProcessVariables -
taskVariablesLimit
-
userIdForCandidateAndAssignee
-
bothCandidateAndAssigned
protected boolean bothCandidateAndAssigned -
locale
-
withLocalizationFallback
protected boolean withLocalizationFallback -
orActive
protected boolean orActive -
orQueryObjects
-
currentOrQueryObject
-
-
Constructor Details
-
TaskQueryImpl
public TaskQueryImpl() -
TaskQueryImpl
-
TaskQueryImpl
-
TaskQueryImpl
-
-
Method Details
-
taskId
Description copied from interface:TaskInfoQueryOnly select tasks with the given task id (in practice, there will be maximum one of this kind)- Specified by:
taskIdin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskName
Description copied from interface:TaskInfoQueryOnly select tasks with the given name- Specified by:
taskNamein interfaceTaskInfoQuery<TaskQuery,Task>
-
taskNameIn
Description copied from interface:TaskInfoQueryOnly select tasks with a name that is in the given list- Specified by:
taskNameInin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskNameInIgnoreCase
Description copied from interface:TaskInfoQueryOnly select tasks with a name that is in the given list This method, unlike theTaskInfoQuery.taskNameIn(List)method will not take in account the upper/lower case: both the input parameters as the column value are lowercased when the query is executed.- Specified by:
taskNameInIgnoreCasein interfaceTaskInfoQuery<TaskQuery,Task>
-
taskNameLike
Description copied from interface:TaskInfoQueryOnly select tasks with a name matching the parameter. The syntax is that of SQL: for example usage: nameLike(%activiti%)- Specified by:
taskNameLikein interfaceTaskInfoQuery<TaskQuery,Task>
-
taskNameLikeIgnoreCase
Description copied from interface:TaskInfoQueryOnly select tasks with a name matching the parameter. The syntax is that of SQL: for example usage: nameLike(%activiti%) This method, unlike theTaskInfoQuery.taskNameLike(String)method will not take in account the upper/lower case: both the input parameter as the column value are lowercased when the query is executed.- Specified by:
taskNameLikeIgnoreCasein interfaceTaskInfoQuery<TaskQuery,Task>
-
taskDescription
Description copied from interface:TaskInfoQueryOnly select tasks with the given description.- Specified by:
taskDescriptionin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskDescriptionLike
Description copied from interface:TaskInfoQueryOnly select tasks with a description matching the parameter . The syntax is that of SQL: for example usage: descriptionLike(%activiti%)- Specified by:
taskDescriptionLikein interfaceTaskInfoQuery<TaskQuery,Task>
-
taskDescriptionLikeIgnoreCase
Description copied from interface:TaskInfoQueryOnly select tasks with a description matching the parameter . The syntax is that of SQL: for example usage: descriptionLike(%activiti%) This method, unlike theTaskInfoQuery.taskDescriptionLike(String)method will not take in account the upper/lower case: both the input parameter as the column value are lowercased when the query is executed.- Specified by:
taskDescriptionLikeIgnoreCasein interfaceTaskInfoQuery<TaskQuery,Task>
-
taskPriority
Description copied from interface:TaskInfoQueryOnly select tasks with the given priority.- Specified by:
taskPriorityin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskMinPriority
Description copied from interface:TaskInfoQueryOnly select tasks with the given priority or higher.- Specified by:
taskMinPriorityin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskMaxPriority
Description copied from interface:TaskInfoQueryOnly select tasks with the given priority or lower.- Specified by:
taskMaxPriorityin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskAssignee
Description copied from interface:TaskInfoQueryOnly select tasks which are assigned to the given user.- Specified by:
taskAssigneein interfaceTaskInfoQuery<TaskQuery,Task>
-
taskAssigneeLike
Description copied from interface:TaskInfoQueryOnly select tasks which were last assigned to an assignee like the given value. The syntax that should be used is the same as in SQL, eg. %activiti%.- Specified by:
taskAssigneeLikein interfaceTaskInfoQuery<TaskQuery,Task>
-
taskAssigneeLikeIgnoreCase
Description copied from interface:TaskInfoQueryOnly select tasks which were last assigned to an assignee like the given value. The syntax that should be used is the same as in SQL, eg. %activiti%. This method, unlike theTaskInfoQuery.taskAssigneeLike(String)method will not take in account the upper/lower case: both the input parameter as the column value are lowercased when the query is executed.- Specified by:
taskAssigneeLikeIgnoreCasein interfaceTaskInfoQuery<TaskQuery,Task>
-
taskAssigneeIds
Description copied from interface:TaskInfoQueryOnly select tasks with an assignee that is in the given list- Specified by:
taskAssigneeIdsin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskOwner
Description copied from interface:TaskInfoQueryOnly select tasks for which the given user is the owner.- Specified by:
taskOwnerin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskOwnerLike
Description copied from interface:TaskInfoQueryOnly select tasks which were last assigned to an owner like the given value. The syntax that should be used is the same as in SQL, eg. %activiti%.- Specified by:
taskOwnerLikein interfaceTaskInfoQuery<TaskQuery,Task>
-
taskOwnerLikeIgnoreCase
Description copied from interface:TaskInfoQueryOnly select tasks which were last assigned to an owner like the given value. The syntax that should be used is the same as in SQL, eg. %activiti%. This method, unlike theTaskInfoQuery.taskOwnerLike(String)method will not take in account the upper/lower case: both the input parameter as the column value are lowercased when the query is executed.- Specified by:
taskOwnerLikeIgnoreCasein interfaceTaskInfoQuery<TaskQuery,Task>
-
taskUnassigned
Description copied from interface:TaskQueryOnly select tasks which don't have an assignee.- Specified by:
taskUnassignedin interfaceTaskQuery
-
taskDelegationState
Description copied from interface:TaskQueryOnly select tasks with the givenDelegationState.- Specified by:
taskDelegationStatein interfaceTaskQuery
-
taskCandidateUser
Description copied from interface:TaskInfoQueryOnly select tasks for which the given user is a candidate. If identity service is available then also through user's groups.- Specified by:
taskCandidateUserin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskCandidateUser
Description copied from interface:TaskInfoQueryOnly select tasks for which the given user is a candidate.- Specified by:
taskCandidateUserin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskInvolvedUser
Description copied from interface:TaskInfoQueryOnly select tasks for which there exist anIdentityLinkwith the given user, including tasks which have been assigned to the given user (assignee) or owned by the given user (owner).- Specified by:
taskInvolvedUserin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskInvolvedGroupsIn
Description copied from interface:TaskInfoQueryOnly select tasks for users involved in the given groups- Specified by:
taskInvolvedGroupsInin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskCandidateGroup
Description copied from interface:TaskInfoQueryOnly select tasks for which users in the given group are candidates.- Specified by:
taskCandidateGroupin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskCandidateOrAssigned
Description copied from interface:TaskQuerySelect tasks that has been claimed or assigned to user or waiting to claim by user (candidate user or groups). You can invokeTaskInfoQuery.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.- Specified by:
taskCandidateOrAssignedin interfaceTaskQuery
-
taskCandidateOrAssigned
public TaskQuery taskCandidateOrAssigned(String userIdForCandidateAndAssignee, List<String> usersGroups) Description copied from interface:TaskQuerySelect tasks that has been claimed or assigned to user or waiting to claim by user (candidate user or groups).- Specified by:
taskCandidateOrAssignedin interfaceTaskQuery
-
taskCandidateGroupIn
Description copied from interface:TaskInfoQueryOnly select tasks for which the 'candidateGroup' is one of the given groups.- Specified by:
taskCandidateGroupInin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskTenantId
Description copied from interface:TaskInfoQueryOnly select tasks that have the given tenant id.- Specified by:
taskTenantIdin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskTenantIdLike
Description copied from interface:TaskInfoQueryOnly select tasks with a tenant id like the given one.- Specified by:
taskTenantIdLikein interfaceTaskInfoQuery<TaskQuery,Task>
-
taskWithoutTenantId
Description copied from interface:TaskInfoQueryOnly select tasks that do not have a tenant id.- Specified by:
taskWithoutTenantIdin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskParentTaskId
- Specified by:
taskParentTaskIdin interfaceTaskInfoQuery<TaskQuery,Task>
-
processInstanceId
Description copied from interface:TaskInfoQueryOnly select tasks for the given process instance id.- Specified by:
processInstanceIdin interfaceTaskInfoQuery<TaskQuery,Task>
-
processInstanceIdIn
Description copied from interface:TaskInfoQueryOnly select tasks for the given process ids.- Specified by:
processInstanceIdInin interfaceTaskInfoQuery<TaskQuery,Task>
-
processInstanceBusinessKey
Description copied from interface:TaskInfoQueryOnly select tasks foe the given business key- Specified by:
processInstanceBusinessKeyin interfaceTaskInfoQuery<TaskQuery,Task>
-
processInstanceBusinessKeyLike
Description copied from interface:TaskInfoQueryOnly select tasks with a business key like the given value The syntax is that of SQL: for example usage: processInstanceBusinessKeyLike("%activiti%").- Specified by:
processInstanceBusinessKeyLikein interfaceTaskInfoQuery<TaskQuery,Task>
-
processInstanceBusinessKeyLikeIgnoreCase
public TaskQuery processInstanceBusinessKeyLikeIgnoreCase(String processInstanceBusinessKeyLikeIgnoreCase) Description copied from interface:TaskInfoQueryOnly select tasks with a business key like the given value The syntax is that of SQL: for example usage: processInstanceBusinessKeyLike("%activiti%"). This method, unlike theTaskInfoQuery.processInstanceBusinessKeyLike(String)method will not take in account the upper/lower case: both the input parameter as the column value are lowercased when the query is executed.- Specified by:
processInstanceBusinessKeyLikeIgnoreCasein interfaceTaskInfoQuery<TaskQuery,Task>
-
executionId
Description copied from interface:TaskInfoQueryOnly select tasks for the given execution.- Specified by:
executionIdin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskCreatedOn
Description copied from interface:TaskInfoQueryOnly select tasks that are created on the given date.- Specified by:
taskCreatedOnin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskCreatedBefore
Description copied from interface:TaskInfoQueryOnly select tasks that are created before the given date.- Specified by:
taskCreatedBeforein interfaceTaskInfoQuery<TaskQuery,Task>
-
taskCreatedAfter
Description copied from interface:TaskInfoQueryOnly select tasks that are created after the given date.- Specified by:
taskCreatedAfterin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskCategory
Description copied from interface:TaskInfoQueryOnly select tasks with the given category.- Specified by:
taskCategoryin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskDefinitionKey
Description copied from interface:TaskInfoQueryOnly select tasks with the given taskDefinitionKey. The task definition key is the id of the userTask: <userTask id="xxx" .../>- Specified by:
taskDefinitionKeyin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskDefinitionKeyLike
Description copied from interface:TaskInfoQueryOnly select tasks with a taskDefinitionKey that match the given parameter. The syntax is that of SQL: for example usage: taskDefinitionKeyLike("%activiti%"). The task definition key is the id of the userTask: <userTask id="xxx" .../>- Specified by:
taskDefinitionKeyLikein interfaceTaskInfoQuery<TaskQuery,Task>
-
taskVariableValueEquals
Description copied from interface:TaskInfoQueryOnly select tasks which have a local task variable with the given name set to the given value.- Specified by:
taskVariableValueEqualsin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskVariableValueEquals
Description copied from interface:TaskInfoQueryOnly select tasks which have at least one local task variable with the given value.- Specified by:
taskVariableValueEqualsin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskVariableValueEqualsIgnoreCase
Description copied from interface:TaskInfoQueryOnly select tasks which have a local string variable with the given value, case insensitive.This method only works if your database has encoding/collation that supports case-sensitive queries. For example, use "collate UTF-8" on MySQL and for MSSQL, select one of the case-sensitive Collations available (MSDN Server Collation Reference).
- Specified by:
taskVariableValueEqualsIgnoreCasein interfaceTaskInfoQuery<TaskQuery,Task>
-
taskVariableValueNotEqualsIgnoreCase
Description copied from interface:TaskInfoQueryOnly select tasks which have a local string variable with is not the given value, case insensitive.This method only works if your database has encoding/collation that supports case-sensitive queries. For example, use "collate UTF-8" on MySQL and for MSSQL, select one of the case-sensitive Collations available (MSDN Server Collation Reference).
- Specified by:
taskVariableValueNotEqualsIgnoreCasein interfaceTaskInfoQuery<TaskQuery,Task>
-
taskVariableValueNotEquals
Description copied from interface:TaskInfoQueryOnly select tasks which have a local task variable with the given name, but with a different value than the passed value. Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
taskVariableValueNotEqualsin interfaceTaskInfoQuery<TaskQuery,Task>
-
taskVariableValueGreaterThan
Description copied from interface:TaskInfoQueryOnly select tasks which have a local variable value greater than the passed value when they ended. Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
taskVariableValueGreaterThanin interfaceTaskInfoQuery<TaskQuery,Task> - Parameters:
name- cannot be null.value- cannot be null.
-
taskVariableValueGreaterThanOrEqual
Description copied from interface:TaskInfoQueryOnly select tasks which have a local variable value greater than or equal to the passed value when they ended. Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
taskVariableValueGreaterThanOrEqualin interfaceTaskInfoQuery<TaskQuery,Task> - Parameters:
name- cannot be null.value- cannot be null.
-
taskVariableValueLessThan
Description copied from interface:TaskInfoQueryOnly select tasks which have a local variable value less than the passed value when the ended.Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
taskVariableValueLessThanin interfaceTaskInfoQuery<TaskQuery,Task> - Parameters:
name- cannot be null.value- cannot be null.
-
taskVariableValueLessThanOrEqual
Description copied from interface:TaskInfoQueryOnly select tasks which have a local variable value less than or equal to the passed value when they ended. Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
taskVariableValueLessThanOrEqualin interfaceTaskInfoQuery<TaskQuery,Task> - Parameters:
name- cannot be null.value- cannot be null.
-
taskVariableValueLike
Description copied from interface:TaskInfoQueryOnly select tasks which have a local variable value like the given value when they ended. This can be used on string variables only.- Specified by:
taskVariableValueLikein interfaceTaskInfoQuery<TaskQuery,Task> - Parameters:
name- cannot be null.value- cannot be null. The string can include the wildcard character '%' to express like-strategy: starts with (string%), ends with (%string) or contains (%string%).
-
taskVariableValueLikeIgnoreCase
Description copied from interface:TaskInfoQueryOnly select tasks which have a local variable value like the given value (case insensitive) when they ended. This can be used on string variables only.- Specified by:
taskVariableValueLikeIgnoreCasein interfaceTaskInfoQuery<TaskQuery,Task> - Parameters:
name- cannot be null.value- cannot be null. The string can include the wildcard character '%' to express like-strategy: starts with (string%), ends with (%string) or contains (%string%).
-
processVariableValueEquals
Description copied from interface:TaskInfoQueryOnly select tasks which are part of a process that has a variable with the given name set to the given value.- Specified by:
processVariableValueEqualsin interfaceTaskInfoQuery<TaskQuery,Task>
-
processVariableValueNotEquals
Description copied from interface:TaskInfoQueryOnly select tasks which have a variable with the given name, but with a different value than the passed value. Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
processVariableValueNotEqualsin interfaceTaskInfoQuery<TaskQuery,Task>
-
processVariableValueEquals
Description copied from interface:TaskInfoQueryOnly select tasks which are part of a process that has at least one variable with the given value.- Specified by:
processVariableValueEqualsin interfaceTaskInfoQuery<TaskQuery,Task>
-
processVariableValueEqualsIgnoreCase
Description copied from interface:TaskInfoQueryOnly select tasks which are part of a process that has a local string variable which is not the given value, case insensitive.This method only works if your database has encoding/collation that supports case-sensitive queries. For example, use "collate UTF-8" on MySQL and for MSSQL, select one of the case-sensitive Collations available (MSDN Server Collation Reference).
- Specified by:
processVariableValueEqualsIgnoreCasein interfaceTaskInfoQuery<TaskQuery,Task>
-
processVariableValueNotEqualsIgnoreCase
Description copied from interface:TaskInfoQueryOnly select tasks which are part of a process that has a string variable with the given value, case insensitive.This method only works if your database has encoding/collation that supports case-sensitive queries. For example, use "collate UTF-8" on MySQL and for MSSQL, select one of the case-sensitive Collations available (MSDN Server Collation Reference).
- Specified by:
processVariableValueNotEqualsIgnoreCasein interfaceTaskInfoQuery<TaskQuery,Task>
-
processVariableValueGreaterThan
Description copied from interface:TaskInfoQueryOnly select tasks which have a global variable value greater than the passed value when they ended. Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
processVariableValueGreaterThanin interfaceTaskInfoQuery<TaskQuery,Task> - Parameters:
name- cannot be null.value- cannot be null.
-
processVariableValueGreaterThanOrEqual
Description copied from interface:TaskInfoQueryOnly select tasks which have a global variable value greater than or equal to the passed value when they ended. Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
processVariableValueGreaterThanOrEqualin interfaceTaskInfoQuery<TaskQuery,Task> - Parameters:
name- cannot be null.value- cannot be null.
-
processVariableValueLessThan
Description copied from interface:TaskInfoQueryOnly select tasks which have a global variable value less than the passed value when the ended.Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
processVariableValueLessThanin interfaceTaskInfoQuery<TaskQuery,Task> - Parameters:
name- cannot be null.value- cannot be null.
-
processVariableValueLessThanOrEqual
Description copied from interface:TaskInfoQueryOnly select tasks which have a global variable value less than or equal to the passed value when they ended. Booleans, Byte-arrays andSerializableobjects (which are not primitive type wrappers) are not supported.- Specified by:
processVariableValueLessThanOrEqualin interfaceTaskInfoQuery<TaskQuery,Task> - Parameters:
name- cannot be null.value- cannot be null.
-
processVariableValueLike
Description copied from interface:TaskInfoQueryOnly select tasks which have a global variable value like the given value when they ended. This can be used on string variables only.- Specified by:
processVariableValueLikein interfaceTaskInfoQuery<TaskQuery,Task> - Parameters:
name- cannot be null.value- cannot be null. The string can include the wildcard character '%' to express like-strategy: starts with (string%), ends with (%string) or contains (%string%).
-
processVariableValueLikeIgnoreCase
Description copied from interface:TaskInfoQueryOnly select tasks which have a global variable value like the given value (case insensitive) when they ended. This can be used on string variables only.- Specified by:
processVariableValueLikeIgnoreCasein interfaceTaskInfoQuery<TaskQuery,Task> - Parameters:
name- cannot be null.value- cannot be null. The string can include the wildcard character '%' to express like-strategy: starts with (string%), ends with (%string) or contains (%string%).
-
processDefinitionKey
Description copied from interface:TaskInfoQueryOnly select tasks which are part of a process instance which has the given process definition key.- Specified by:
processDefinitionKeyin interfaceTaskInfoQuery<TaskQuery,Task>
-
processDefinitionKeyLike
Description copied from interface:TaskInfoQueryOnly select tasks which are part of a process instance which has a process definition key like the given value. The syntax that should be used is the same as in SQL, eg. %activiti%.- Specified by:
processDefinitionKeyLikein interfaceTaskInfoQuery<TaskQuery,Task>
-
processDefinitionKeyLikeIgnoreCase
Description copied from interface:TaskInfoQueryOnly select tasks which are part of a process instance which has a process definition key like the given value. The syntax that should be used is the same as in SQL, eg. %activiti%. This method, unlike theTaskInfoQuery.processDefinitionKeyLike(String)method will not take in account the upper/lower case: both the input parameter as the column value are lowercased when the query is executed.- Specified by:
processDefinitionKeyLikeIgnoreCasein interfaceTaskInfoQuery<TaskQuery,Task>
-
processDefinitionKeyIn
Description copied from interface:TaskInfoQueryOnly select tasks that have a process definition for which the key is present in the given list- Specified by:
processDefinitionKeyInin interfaceTaskInfoQuery<TaskQuery,Task>
-
processDefinitionId
Description copied from interface:TaskInfoQueryOnly select tasks which are part of a process instance which has the given process definition id.- Specified by:
processDefinitionIdin interfaceTaskInfoQuery<TaskQuery,Task>
-
processDefinitionName
Description copied from interface:TaskInfoQueryOnly select tasks which are part of a process instance which has the given process definition name.- Specified by:
processDefinitionNamein interfaceTaskInfoQuery<TaskQuery,Task>
-
processDefinitionNameLike
Description copied from interface:TaskInfoQueryOnly select tasks which are part of a process instance which has a process definition name like the given value. The syntax that should be used is the same as in SQL, eg. %activiti%.- Specified by:
processDefinitionNameLikein interfaceTaskInfoQuery<TaskQuery,Task>
-
processCategoryIn
Description copied from interface:TaskInfoQueryOnly select tasks which are part of a process instance whose definition belongs to the category which is present in the given list.- Specified by:
processCategoryInin interfaceTaskInfoQuery<TaskQuery,Task> - Parameters:
processCategoryInList-
-
processCategoryNotIn
Description copied from interface:TaskInfoQueryOnly select tasks which are part of a process instance whose definition does not belong to the category which is present in the given list.- Specified by:
processCategoryNotInin interfaceTaskInfoQuery<TaskQuery,Task> - Parameters:
processCategoryNotInList-
-
deploymentId
Description copied from interface:TaskInfoQueryOnly select tasks which are part of a process instance which has the given deployment id.- Specified by:
deploymentIdin interfaceTaskInfoQuery<TaskQuery,Task>
-
deploymentIdIn
Description copied from interface:TaskInfoQueryOnly select tasks which are part of a process instance which has the given deployment id.- Specified by:
deploymentIdInin interfaceTaskInfoQuery<TaskQuery,Task>
-
dueDate
-
taskDueDate
Description copied from interface:TaskInfoQueryOnly select tasks with the given due date.- Specified by:
taskDueDatein interfaceTaskInfoQuery<TaskQuery,Task>
-
dueBefore
-
taskDueBefore
Description copied from interface:TaskInfoQueryOnly select tasks which have a due date before the given date.- Specified by:
taskDueBeforein interfaceTaskInfoQuery<TaskQuery,Task>
-
dueAfter
-
taskDueAfter
Description copied from interface:TaskInfoQueryOnly select tasks which have a due date after the given date.- Specified by:
taskDueAfterin interfaceTaskInfoQuery<TaskQuery,Task>
-
withoutDueDate
-
withoutTaskDueDate
Description copied from interface:TaskInfoQueryOnly select tasks with no due date.- Specified by:
withoutTaskDueDatein interfaceTaskInfoQuery<TaskQuery,Task>
-
excludeSubtasks
Description copied from interface:TaskQueryOnly select tasks that have no parent (i.e. do not select subtasks).- Specified by:
excludeSubtasksin interfaceTaskQuery
-
suspended
Description copied from interface:TaskQueryOnly selects tasks which are suspended, because its process instance was suspended. -
active
Description copied from interface:TaskQueryOnly selects tasks which are active (ie. not suspended) -
locale
Description copied from interface:TaskInfoQueryLocalize task name and description to specified locale.- Specified by:
localein interfaceTaskInfoQuery<TaskQuery,Task>
-
withLocalizationFallback
Description copied from interface:TaskInfoQueryInstruct localization to fallback to more general locales including the default locale of the JVM if the specified locale is not found.- Specified by:
withLocalizationFallbackin interfaceTaskInfoQuery<TaskQuery,Task>
-
includeTaskLocalVariables
Description copied from interface:TaskInfoQueryInclude local task variables in the task query result- Specified by:
includeTaskLocalVariablesin interfaceTaskInfoQuery<TaskQuery,Task>
-
includeProcessVariables
Description copied from interface:TaskInfoQueryInclude global task variables in the task query result- Specified by:
includeProcessVariablesin interfaceTaskInfoQuery<TaskQuery,Task>
-
limitTaskVariables
Description copied from interface:TaskInfoQueryLimit task variables- Specified by:
limitTaskVariablesin interfaceTaskInfoQuery<TaskQuery,Task>
-
getTaskVariablesLimit
-
getCandidateGroups
-
getGroupsForCandidateUser
-
ensureVariablesInitialized
protected void ensureVariablesInitialized()- Overrides:
ensureVariablesInitializedin classAbstractVariableQueryImpl<TaskQuery,Task>
-
or
Description copied from interface:TaskInfoQueryAll query clauses called will be added to a single or-statement. This or-statement will be included with the other already existing clauses in the query, joined by an 'and'. Calling endOr() will add all clauses to the regular query again. Calling or() after endOr() has been called will result in an exception.- Specified by:
orin interfaceTaskInfoQuery<TaskQuery,Task>
-
endOr
- Specified by:
endOrin interfaceTaskInfoQuery<TaskQuery,Task>
-
orderByTaskId
Description copied from interface:TaskInfoQueryOrder by task id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTaskIdin interfaceTaskInfoQuery<TaskQuery,Task>
-
orderByTaskName
Description copied from interface:TaskInfoQueryOrder by task name (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTaskNamein interfaceTaskInfoQuery<TaskQuery,Task>
-
orderByTaskDescription
Description copied from interface:TaskInfoQueryOrder by description (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTaskDescriptionin interfaceTaskInfoQuery<TaskQuery,Task>
-
orderByTaskPriority
Description copied from interface:TaskInfoQueryOrder by priority (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTaskPriorityin interfaceTaskInfoQuery<TaskQuery,Task>
-
orderByProcessInstanceId
Description copied from interface:TaskInfoQueryOrder by process instance id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByProcessInstanceIdin interfaceTaskInfoQuery<TaskQuery,Task>
-
orderByExecutionId
Description copied from interface:TaskInfoQueryOrder by execution id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByExecutionIdin interfaceTaskInfoQuery<TaskQuery,Task>
-
orderByProcessDefinitionId
Description copied from interface:TaskInfoQueryOrder by process definition id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByProcessDefinitionIdin interfaceTaskInfoQuery<TaskQuery,Task>
-
orderByTaskAssignee
Description copied from interface:TaskInfoQueryOrder by assignee (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTaskAssigneein interfaceTaskInfoQuery<TaskQuery,Task>
-
orderByTaskOwner
Description copied from interface:TaskInfoQueryOrder by task owner (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTaskOwnerin interfaceTaskInfoQuery<TaskQuery,Task>
-
orderByTaskCreateTime
Description copied from interface:TaskInfoQueryOrder by the time on which the tasks were created (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTaskCreateTimein interfaceTaskInfoQuery<TaskQuery,Task>
-
orderByDueDate
-
orderByTaskDueDate
Description copied from interface:TaskInfoQueryOrder by task due date (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTaskDueDatein interfaceTaskInfoQuery<TaskQuery,Task>
-
orderByTaskDefinitionKey
Description copied from interface:TaskInfoQueryOrder by task definition key (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTaskDefinitionKeyin interfaceTaskInfoQuery<TaskQuery,Task>
-
orderByDueDateNullsFirst
Description copied from interface:TaskInfoQueryOrder by due date (needs to be followed byQuery.asc()orQuery.desc()). If any of the tasks have null for the due date, these will be first in the result.- Specified by:
orderByDueDateNullsFirstin interfaceTaskInfoQuery<TaskQuery,Task>
-
orderByDueDateNullsLast
Description copied from interface:TaskInfoQueryOrder by due date (needs to be followed byQuery.asc()orQuery.desc()). If any of the tasks have null for the due date, these will be last in the result.- Specified by:
orderByDueDateNullsLastin interfaceTaskInfoQuery<TaskQuery,Task>
-
orderByTenantId
Description copied from interface:TaskInfoQueryOrder by tenant id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByTenantIdin interfaceTaskInfoQuery<TaskQuery,Task>
-
getMssqlOrDB2OrderBy
-
executeList
Description copied from class:AbstractQueryExecutes the actual query to retrieve the list of results.- Specified by:
executeListin classAbstractVariableQueryImpl<TaskQuery,Task> - Parameters:
page- used if the results must be paged. If null, no paging will be applied.
-
executeCount
- Specified by:
executeCountin classAbstractVariableQueryImpl<TaskQuery,Task>
-
localize
-
getName
-
getNameLike
-
getNameList
-
getNameListIgnoreCase
-
getAssignee
-
getUnassigned
public boolean getUnassigned() -
getDelegationState
-
getNoDelegationState
public boolean getNoDelegationState() -
getDelegationStateString
-
getCandidateUser
-
getCandidateGroup
-
getProcessInstanceId
-
getProcessInstanceIds
-
getExecutionId
-
getTaskId
-
getDescription
-
getDescriptionLike
-
getPriority
-
getCreateTime
-
getCreateTimeBefore
-
getCreateTimeAfter
-
getKey
-
getKeyLike
-
getProcessDefinitionKey
-
getProcessDefinitionId
-
getProcessDefinitionName
-
getProcessInstanceBusinessKey
-
getExcludeSubtasks
public boolean getExcludeSubtasks() -
getTenantId
-
getTenantIdLike
-
isWithoutTenantId
public boolean isWithoutTenantId() -
getUserIdForCandidateAndAssignee
-
getOrQueryObjects
-
setOrQueryObjects
-
getMinPriority
-
getMaxPriority
-
getAssigneeLike
-
getAssigneeIds
-
getInvolvedUser
-
getInvolvedGroups
-
getOwner
-
getOwnerLike
-
getTaskParentTaskId
-
getCategory
-
getProcessDefinitionKeyLike
-
getProcessDefinitionKeys
-
getProcessDefinitionNameLike
-
getProcessCategoryInList
-
getProcessCategoryNotInList
-
getDeploymentId
-
getDeploymentIds
-
getProcessInstanceBusinessKeyLike
-
getDueDate
-
getDueBefore
-
getDueAfter
-
isWithoutDueDate
public boolean isWithoutDueDate() -
getSuspensionState
-
isIncludeTaskLocalVariables
public boolean isIncludeTaskLocalVariables() -
isIncludeProcessVariables
public boolean isIncludeProcessVariables() -
isBothCandidateAndAssigned
public boolean isBothCandidateAndAssigned() -
getNameLikeIgnoreCase
-
getDescriptionLikeIgnoreCase
-
getAssigneeLikeIgnoreCase
-
getOwnerLikeIgnoreCase
-
getProcessInstanceBusinessKeyLikeIgnoreCase
-
getProcessDefinitionKeyLikeIgnoreCase
-
getLocale
-
isOrActive
public boolean isOrActive()
-