public interface TaskInfoQuery<T extends TaskInfoQuery<?,?>,V extends TaskInfo> extends Query<T,V>
TaskQuery
and the HistoricTaskInstanceQuery
.Modifier and Type | Method and Description |
---|---|
T |
deploymentId(String deploymentId)
Only select tasks which are part of a process instance which has the given deployment id.
|
T |
deploymentIdIn(List<String> deploymentIds)
Only select tasks which are part of a process instance which has the given deployment id.
|
T |
endOr() |
T |
executionId(String executionId)
Only select tasks for the given execution.
|
T |
includeProcessVariables()
Include global task variables in the task query result
|
T |
includeTaskLocalVariables()
Include local task variables in the task query result
|
T |
limitTaskVariables(Integer taskVariablesLimit)
Limit task variables
|
T |
locale(String locale)
Localize task name and description to specified locale.
|
T |
or()
All query clauses called will be added to a single or-statement.
|
T |
orderByDueDateNullsFirst()
Order by due date (needs to be followed by
Query.asc() or Query.desc() ). |
T |
orderByDueDateNullsLast()
Order by due date (needs to be followed by
Query.asc() or Query.desc() ). |
T |
orderByExecutionId()
Order by execution id (needs to be followed by
Query.asc() or Query.desc() ). |
T |
orderByProcessDefinitionId()
Order by process definition id (needs to be followed by
Query.asc() or Query.desc() ). |
T |
orderByProcessInstanceId()
Order by process instance id (needs to be followed by
Query.asc() or Query.desc() ). |
T |
orderByTaskAssignee()
Order by assignee (needs to be followed by
Query.asc() or Query.desc() ). |
T |
orderByTaskCreateTime()
Order by the time on which the tasks were created (needs to be followed by
Query.asc() or Query.desc() ). |
T |
orderByTaskDefinitionKey()
Order by task definition key (needs to be followed by
Query.asc() or Query.desc() ). |
T |
orderByTaskDescription()
Order by description (needs to be followed by
Query.asc() or Query.desc() ). |
T |
orderByTaskDueDate()
Order by task due date (needs to be followed by
Query.asc() or Query.desc() ). |
T |
orderByTaskId()
Order by task id (needs to be followed by
Query.asc() or Query.desc() ). |
T |
orderByTaskName()
Order by task name (needs to be followed by
Query.asc() or Query.desc() ). |
T |
orderByTaskOwner()
Order by task owner (needs to be followed by
Query.asc() or Query.desc() ). |
T |
orderByTaskPriority()
Order by priority (needs to be followed by
Query.asc() or Query.desc() ). |
T |
orderByTenantId()
Order by tenant id (needs to be followed by
Query.asc() or Query.desc() ). |
T |
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.
|
T |
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.
|
T |
processDefinitionId(String processDefinitionId)
Only select tasks which are part of a process instance which has the given process definition id.
|
T |
processDefinitionKey(String processDefinitionKey)
Only select tasks which are part of a process instance which has the given process definition key.
|
T |
processDefinitionKeyIn(List<String> processDefinitionKeys)
Only select tasks that have a process definition for which the key is present in the given list
|
T |
processDefinitionKeyLike(String processDefinitionKeyLike)
Only select tasks which are part of a process instance which has a process definition key like the given value.
|
T |
processDefinitionKeyLikeIgnoreCase(String processDefinitionKeyLikeIgnoreCase)
Only select tasks which are part of a process instance which has a process definition key like the given value.
|
T |
processDefinitionName(String processDefinitionName)
Only select tasks which are part of a process instance which has the given process definition name.
|
T |
processDefinitionNameLike(String processDefinitionNameLike)
Only select tasks which are part of a process instance which has a process definition name like the given value.
|
T |
processInstanceBusinessKey(String processInstanceBusinessKey)
Only select tasks foe the given business key
|
T |
processInstanceBusinessKeyLike(String processInstanceBusinessKeyLike)
Only select tasks with a business key like the given value The syntax is that of SQL: for example usage: processInstanceBusinessKeyLike("%activiti%").
|
T |
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%").
|
T |
processInstanceId(String processInstanceId)
Only select tasks for the given process instance id.
|
T |
processInstanceIdIn(List<String> processInstanceIds)
Only select tasks for the given process ids.
|
T |
processVariableValueEquals(Object variableValue)
Only select tasks which are part of a process that has at least one variable with the given value.
|
T |
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.
|
T |
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.
|
T |
processVariableValueGreaterThan(String name,
Object value)
Only select tasks which have a global variable value greater than the passed value when they ended.
|
T |
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.
|
T |
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 and
Serializable objects (which are not primitive type wrappers) are
not supported. |
T |
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.
|
T |
processVariableValueLike(String name,
String value)
Only select tasks which have a global variable value like the given value when they ended.
|
T |
processVariableValueLikeIgnoreCase(String name,
String value)
Only select tasks which have a global variable value like the given value (case insensitive)
when they ended.
|
T |
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.
|
T |
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.
|
T |
taskAssignee(String assignee)
Only select tasks which are assigned to the given user.
|
T |
taskAssigneeIds(List<String> assigneeListIds)
Only select tasks with an assignee that is in the given list
|
T |
taskAssigneeLike(String assigneeLike)
Only select tasks which were last assigned to an assignee like the given value.
|
T |
taskAssigneeLikeIgnoreCase(String assigneeLikeIgnoreCase)
Only select tasks which were last assigned to an assignee like the given value.
|
T |
taskCandidateGroup(String candidateGroup)
Only select tasks for which users in the given group are candidates.
|
T |
taskCandidateGroupIn(List<String> candidateGroups)
Only select tasks for which the 'candidateGroup' is one of the given groups.
|
T |
taskCandidateUser(String candidateUser)
Only select tasks for which the given user is a candidate.
|
T |
taskCategory(String category)
Only select tasks with the given category.
|
T |
taskCreatedAfter(Date after)
Only select tasks that are created after the given date.
|
T |
taskCreatedBefore(Date before)
Only select tasks that are created before the given date.
|
T |
taskCreatedOn(Date createTime)
Only select tasks that are created on the given date.
|
T |
taskDefinitionKey(String key)
Only select tasks with the given taskDefinitionKey.
|
T |
taskDefinitionKeyLike(String keyLike)
Only select tasks with a taskDefinitionKey that match the given parameter.
|
T |
taskDescription(String description)
Only select tasks with the given description.
|
T |
taskDescriptionLike(String descriptionLike)
Only select tasks with a description matching the parameter .
|
T |
taskDescriptionLikeIgnoreCase(String descriptionLike)
Only select tasks with a description matching the parameter .
|
T |
taskDueAfter(Date dueDate)
Only select tasks which have a due date after the given date.
|
T |
taskDueBefore(Date dueDate)
Only select tasks which have a due date before the given date.
|
T |
taskDueDate(Date dueDate)
Only select tasks with the given due date.
|
T |
taskId(String taskId)
Only select tasks with the given task id (in practice, there will be maximum one of this kind)
|
T |
taskInvolvedGroupsIn(List<String> involvedGroups)
Only select tasks for users involved in the given groups
|
T |
taskInvolvedUser(String involvedUser)
Only select tasks for which there exist an
IdentityLink with the given user, including tasks which have been assigned to the given user (assignee) or owned by the given user (owner). |
T |
taskMaxPriority(Integer maxPriority)
Only select tasks with the given priority or lower.
|
T |
taskMinPriority(Integer minPriority)
Only select tasks with the given priority or higher.
|
T |
taskName(String name)
Only select tasks with the given name
|
T |
taskNameIn(List<String> nameList)
Only select tasks with a name that is in the given list
|
T |
taskNameInIgnoreCase(List<String> nameList)
Only select tasks with a name that is in the given list
This method, unlike the
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. |
T |
taskNameLike(String nameLike)
Only select tasks with a name matching the parameter.
|
T |
taskNameLikeIgnoreCase(String nameLike)
Only select tasks with a name matching the parameter.
|
T |
taskOwner(String owner)
Only select tasks for which the given user is the owner.
|
T |
taskOwnerLike(String ownerLike)
Only select tasks which were last assigned to an owner like the given value.
|
T |
taskOwnerLikeIgnoreCase(String ownerLikeIgnoreCase)
Only select tasks which were last assigned to an owner like the given value.
|
T |
taskPriority(Integer priority)
Only select tasks with the given priority.
|
T |
taskTenantId(String tenantId)
Only select tasks that have the given tenant id.
|
T |
taskTenantIdLike(String tenantIdLike)
Only select tasks with a tenant id like the given one.
|
T |
taskVariableValueEquals(Object variableValue)
Only select tasks which have at least one local task variable with the given value.
|
T |
taskVariableValueEquals(String variableName,
Object variableValue)
Only select tasks which have a local task variable with the given name set to the given value.
|
T |
taskVariableValueEqualsIgnoreCase(String name,
String value)
Only select tasks which have a local string variable with the given value, case insensitive.
|
T |
taskVariableValueGreaterThan(String name,
Object value)
Only select tasks which have a local variable value greater than the passed value when they ended.
|
T |
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.
|
T |
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 and
Serializable objects (which are not primitive type wrappers) are
not supported. |
T |
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.
|
T |
taskVariableValueLike(String name,
String value)
Only select tasks which have a local variable value like the given value when they ended.
|
T |
taskVariableValueLikeIgnoreCase(String name,
String value)
Only select tasks which have a local variable value like the given value (case insensitive)
when they ended.
|
T |
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.
|
T |
taskVariableValueNotEqualsIgnoreCase(String name,
String value)
Only select tasks which have a local string variable with is not the given value, case insensitive.
|
T |
taskWithoutTenantId()
Only select tasks that do not have a tenant id.
|
T |
withLocalizationFallback()
Instruct localization to fallback to more general locales including the default locale of the JVM if the specified locale is not found.
|
T |
withoutTaskDueDate()
Only select tasks with no due date.
|
T taskId(String taskId)
T taskNameIn(List<String> nameList)
ActivitiIllegalArgumentException
- When passed name list is empty or null
or contains null String
.T taskNameInIgnoreCase(List<String> nameList)
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.ActivitiIllegalArgumentException
- When passed name list is empty or null
or contains null String
.T taskNameLike(String nameLike)
T taskNameLikeIgnoreCase(String nameLike)
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.T taskDescriptionLike(String descriptionLike)
T taskDescriptionLikeIgnoreCase(String descriptionLike)
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.T taskMinPriority(Integer minPriority)
T taskMaxPriority(Integer maxPriority)
T taskAssignee(String assignee)
T taskAssigneeLike(String assigneeLike)
T taskAssigneeLikeIgnoreCase(String assigneeLikeIgnoreCase)
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.T taskAssigneeIds(List<String> assigneeListIds)
ActivitiIllegalArgumentException
- When passed name list is empty or null
or contains null String
.T taskOwnerLike(String ownerLike)
T taskOwnerLikeIgnoreCase(String ownerLikeIgnoreCase)
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.T taskCandidateUser(String candidateUser)
T taskInvolvedUser(String involvedUser)
IdentityLink
with the given user, including tasks which have been assigned to the given user (assignee) or owned by the given user (owner).T taskInvolvedGroupsIn(List<String> involvedGroups)
T taskCandidateGroup(String candidateGroup)
T taskCandidateGroupIn(List<String> candidateGroups)
ActivitiIllegalArgumentException
- 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
.T taskTenantIdLike(String tenantIdLike)
T taskWithoutTenantId()
T processInstanceId(String processInstanceId)
T processInstanceIdIn(List<String> processInstanceIds)
T processInstanceBusinessKey(String processInstanceBusinessKey)
T processInstanceBusinessKeyLike(String processInstanceBusinessKeyLike)
T processInstanceBusinessKeyLikeIgnoreCase(String processInstanceBusinessKeyLikeIgnoreCase)
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.T taskCreatedOn(Date createTime)
T taskCreatedBefore(Date before)
T taskCreatedAfter(Date after)
T taskDefinitionKey(String key)
T taskDefinitionKeyLike(String keyLike)
T taskDueBefore(Date dueDate)
T taskDueAfter(Date dueDate)
T withoutTaskDueDate()
T processDefinitionKey(String processDefinitionKey)
T processDefinitionKeyLike(String processDefinitionKeyLike)
T processDefinitionKeyLikeIgnoreCase(String processDefinitionKeyLikeIgnoreCase)
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.T processDefinitionKeyIn(List<String> processDefinitionKeys)
T processDefinitionId(String processDefinitionId)
T processDefinitionName(String processDefinitionName)
T processDefinitionNameLike(String processDefinitionNameLike)
T processCategoryIn(List<String> processCategoryInList)
processCategoryInList
- ActivitiIllegalArgumentException
- When passed category list is empty or null
or contains null String
.T processCategoryNotIn(List<String> processCategoryNotInList)
processCategoryNotInList
- ActivitiIllegalArgumentException
- When passed category list is empty or null
or contains null String
.T deploymentId(String deploymentId)
T deploymentIdIn(List<String> deploymentIds)
T taskVariableValueEquals(String variableName, Object variableValue)
T taskVariableValueEquals(Object variableValue)
T taskVariableValueEqualsIgnoreCase(String name, String value)
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).
T taskVariableValueNotEquals(String variableName, Object variableValue)
Serializable
objects (which are not primitive
type wrappers) are not supported.T taskVariableValueNotEqualsIgnoreCase(String name, String value)
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).
T taskVariableValueGreaterThan(String name, Object value)
Serializable
objects (which are not primitive type wrappers)
are not supported.name
- cannot be null.value
- cannot be null.T taskVariableValueGreaterThanOrEqual(String name, Object value)
Serializable
objects (which are not primitive type
wrappers) are not supported.name
- cannot be null.value
- cannot be null.T taskVariableValueLessThan(String name, Object value)
Serializable
objects (which are not primitive type wrappers) are
not supported.name
- cannot be null.value
- cannot be null.T taskVariableValueLessThanOrEqual(String name, Object value)
Serializable
objects (which are not primitive type
wrappers) are not supported.name
- cannot be null.value
- cannot be null.T taskVariableValueLike(String name, String value)
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%).T taskVariableValueLikeIgnoreCase(String name, String value)
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%).T processVariableValueEquals(String variableName, Object variableValue)
T processVariableValueEquals(Object variableValue)
T processVariableValueEqualsIgnoreCase(String name, String value)
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).
T processVariableValueNotEquals(String variableName, Object variableValue)
Serializable
objects (which are not primitive type wrappers)
are not supported.T processVariableValueNotEqualsIgnoreCase(String name, String value)
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).
T processVariableValueGreaterThan(String name, Object value)
Serializable
objects (which are not primitive type wrappers)
are not supported.name
- cannot be null.value
- cannot be null.T processVariableValueGreaterThanOrEqual(String name, Object value)
Serializable
objects (which are not primitive
type wrappers) are not supported.name
- cannot be null.value
- cannot be null.T processVariableValueLessThan(String name, Object value)
Serializable
objects (which are not primitive type wrappers) are
not supported.name
- cannot be null.value
- cannot be null.T processVariableValueLessThanOrEqual(String name, Object value)
Serializable
objects (which are not primitive type
wrappers) are not supported.name
- cannot be null.value
- cannot be null.T processVariableValueLike(String name, String value)
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%).T processVariableValueLikeIgnoreCase(String name, String value)
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%).T includeTaskLocalVariables()
T includeProcessVariables()
T withLocalizationFallback()
T or()
T endOr()
T orderByTaskId()
Query.asc()
or Query.desc()
).T orderByTaskName()
Query.asc()
or Query.desc()
).T orderByTaskDescription()
Query.asc()
or Query.desc()
).T orderByTaskPriority()
Query.asc()
or Query.desc()
).T orderByTaskAssignee()
Query.asc()
or Query.desc()
).T orderByTaskCreateTime()
Query.asc()
or Query.desc()
).T orderByProcessInstanceId()
Query.asc()
or Query.desc()
).T orderByExecutionId()
Query.asc()
or Query.desc()
).T orderByProcessDefinitionId()
Query.asc()
or Query.desc()
).T orderByTaskDueDate()
Query.asc()
or Query.desc()
).T orderByTaskOwner()
Query.asc()
or Query.desc()
).T orderByTaskDefinitionKey()
Query.asc()
or Query.desc()
).T orderByTenantId()
Query.asc()
or Query.desc()
).T orderByDueDateNullsFirst()
Query.asc()
or Query.desc()
). If any of the tasks have null for the due date, these will be first in the result.T orderByDueDateNullsLast()
Query.asc()
or Query.desc()
). If any of the tasks have null for the due date, these will be last in the result.Copyright © 2017 Alfresco. All rights reserved.