|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
public interface HistoricTaskInstanceQuery
Allows programmatic querying for HistoricTaskInstance
s.
方法摘要 | |
---|---|
HistoricTaskInstanceQuery |
executionId(String executionId)
Only select historic task instances for the given execution. |
HistoricTaskInstanceQuery |
finished()
Only select historic task instances which are finished. |
HistoricTaskInstanceQuery |
includeProcessVariables()
Include global task variables in the task query result |
HistoricTaskInstanceQuery |
includeTaskLocalVariables()
Include local task variables in the task query result |
HistoricTaskInstanceQuery |
orderByDeleteReason()
Order by task delete reason (needs to be followed by Query.asc() or Query.desc() ). |
HistoricTaskInstanceQuery |
orderByExecutionId()
Order by execution id (needs to be followed by Query.asc() or Query.desc() ). |
HistoricTaskInstanceQuery |
orderByHistoricActivityInstanceId()
Order by the historic activity instance id this task was used in (needs to be followed by Query.asc() or Query.desc() ). |
HistoricTaskInstanceQuery |
orderByHistoricActivityInstanceStartTime()
已过时。 use orderByHistoricTaskInstanceStartTime() |
HistoricTaskInstanceQuery |
orderByHistoricTaskInstanceDuration()
Order by duration (needs to be followed by Query.asc() or Query.desc() ). |
HistoricTaskInstanceQuery |
orderByHistoricTaskInstanceEndTime()
Order by end time (needs to be followed by Query.asc() or Query.desc() ). |
HistoricTaskInstanceQuery |
orderByHistoricTaskInstanceStartTime()
Order by start time (needs to be followed by Query.asc() or Query.desc() ). |
HistoricTaskInstanceQuery |
orderByProcessDefinitionId()
Order by process definition id (needs to be followed by Query.asc() or Query.desc() ). |
HistoricTaskInstanceQuery |
orderByProcessInstanceId()
Order by process instance id (needs to be followed by Query.asc() or Query.desc() ). |
HistoricTaskInstanceQuery |
orderByTaskAssignee()
Order by task assignee (needs to be followed by Query.asc() or Query.desc() ). |
HistoricTaskInstanceQuery |
orderByTaskDefinitionKey()
Order by task definition key (needs to be followed by Query.asc() or Query.desc() ). |
HistoricTaskInstanceQuery |
orderByTaskDescription()
Order by task description (needs to be followed by Query.asc() or Query.desc() ). |
HistoricTaskInstanceQuery |
orderByTaskDueDate()
Order by task due date (needs to be followed by Query.asc() or Query.desc() ). |
HistoricTaskInstanceQuery |
orderByTaskId()
Order by task id (needs to be followed by Query.asc() or Query.desc() ). |
HistoricTaskInstanceQuery |
orderByTaskName()
Order by task name (needs to be followed by Query.asc() or Query.desc() ). |
HistoricTaskInstanceQuery |
orderByTaskOwner()
Order by task owner (needs to be followed by Query.asc() or Query.desc() ). |
HistoricTaskInstanceQuery |
orderByTaskPriority()
Order by task priority key (needs to be followed by Query.asc() or Query.desc() ). |
HistoricTaskInstanceQuery |
processDefinitionId(String processDefinitionId)
Only select historic task instances for the given process definition. |
HistoricTaskInstanceQuery |
processDefinitionKey(String processDefinitionKey)
Only select historic task instances which are part of a (historic) process instance which has the given process definition key. |
HistoricTaskInstanceQuery |
processDefinitionKeyLike(String processDefinitionKeyLike)
Only select historic task instances which are part of a (historic) process instance which has a process definition key like the given value. |
HistoricTaskInstanceQuery |
processDefinitionName(String processDefinitionName)
Only select historic task instances which are part of a (historic) process instance which has the given definition name. |
HistoricTaskInstanceQuery |
processDefinitionNameLike(String processDefinitionNameLike)
Only select historic task instances which are part of a (historic) process instance which has a definition name like the given value. |
HistoricTaskInstanceQuery |
processFinished()
Only select historic task instances which are part of a process instance which is already finished. |
HistoricTaskInstanceQuery |
processInstanceBusinessKey(String processInstanceBusinessKey)
Only select historic process instances with the given business key |
HistoricTaskInstanceQuery |
processInstanceBusinessKeyLike(String processInstanceBusinessKeyLike)
Only select historic process instances with a business key like the given value The syntax that should be used is the same as in SQL, eg. |
HistoricTaskInstanceQuery |
processInstanceId(String processInstanceId)
Only select historic task instances for the given process instance. |
HistoricTaskInstanceQuery |
processUnfinished()
Only select historic task instances which are part of a process instance which is not finished yet. |
HistoricTaskInstanceQuery |
processVariableValueEquals(Object variableValue)
Only select tasks which are part of a process that has at least one variable with the given value. |
HistoricTaskInstanceQuery |
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. |
HistoricTaskInstanceQuery |
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. |
HistoricTaskInstanceQuery |
processVariableValueGreaterThan(String name,
Object value)
Only select tasks which have a global variable value greater than the passed value when they ended. |
HistoricTaskInstanceQuery |
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. |
HistoricTaskInstanceQuery |
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. |
HistoricTaskInstanceQuery |
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. |
HistoricTaskInstanceQuery |
processVariableValueLike(String name,
String value)
Only select tasks which have a global variable value like the given value when they ended. |
HistoricTaskInstanceQuery |
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. |
HistoricTaskInstanceQuery |
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. |
HistoricTaskInstanceQuery |
taskAssignee(String taskAssignee)
Only select historic task instances which were last assigned to the given assignee. |
HistoricTaskInstanceQuery |
taskAssigneeLike(String taskAssigneeLike)
Only select historic task instances which were last assigned to an assignee like the given value. |
HistoricTaskInstanceQuery |
taskCandidateGroup(String candidateGroup)
Only select historic tasks for which users in the given group are candidates. |
HistoricTaskInstanceQuery |
taskCandidateGroupIn(List<String> candidateGroups)
Only select tasks for which the 'candidateGroup' is one of the given groups. |
HistoricTaskInstanceQuery |
taskCandidateUser(String candidateUser)
Only select historic tasks for which the given user is a candidate. |
HistoricTaskInstanceQuery |
taskCompletedAfter(Date endDate)
Only select select historic task instances which are completed after the given date |
HistoricTaskInstanceQuery |
taskCompletedBefore(Date endDate)
Only select select historic task instances which are completed before the given date |
HistoricTaskInstanceQuery |
taskCompletedOn(Date endDate)
Only select select historic task instances which are completed on the given date |
HistoricTaskInstanceQuery |
taskCreatedAfter(Date startDate)
Only select select historic task instances which are created after the given date |
HistoricTaskInstanceQuery |
taskCreatedBefore(Date startDate)
Only select select historic task instances which are created before the given date |
HistoricTaskInstanceQuery |
taskCreatedOn(Date startDate)
Only select select historic task instances which are created on the given date |
HistoricTaskInstanceQuery |
taskDefinitionKey(String taskDefinitionKey)
Only select historic task instances with the given task definition key. |
HistoricTaskInstanceQuery |
taskDefinitionKeyLike(String taskDefinitionKeyLike)
Only select historic task instances with a task definition key like the given value. |
HistoricTaskInstanceQuery |
taskDeleteReason(String taskDeleteReason)
Only select historic task instances with the given task delete reason. |
HistoricTaskInstanceQuery |
taskDeleteReasonLike(String taskDeleteReasonLike)
Only select historic task instances with a task description like the given value. |
HistoricTaskInstanceQuery |
taskDescription(String taskDescription)
Only select historic task instances with the given task description. |
HistoricTaskInstanceQuery |
taskDescriptionLike(String taskDescriptionLike)
Only select historic task instances with a task description like the given value. |
HistoricTaskInstanceQuery |
taskDueAfter(Date dueDate)
Only select select historic task instances which have a due date after the given date. |
HistoricTaskInstanceQuery |
taskDueBefore(Date dueDate)
Only select select historic task instances which have a due date before the given date. |
HistoricTaskInstanceQuery |
taskDueDate(Date dueDate)
Only select select historic task instances with the given due date. |
HistoricTaskInstanceQuery |
taskId(String taskId)
Only select historic task instances for the given task id. |
HistoricTaskInstanceQuery |
taskInvolvedUser(String involvedUser)
Only select historic task for which there exist an HistoricIdentityLink with the given user, including tasks
which have been assigned to the given user (assignee) or owned by the given user (owner). |
HistoricTaskInstanceQuery |
taskMaxPriority(Integer maxPriority)
Only select historic tasks with the given priority or lower. |
HistoricTaskInstanceQuery |
taskMinPriority(Integer minPriority)
Only select historic tasks with the given priority or higher. |
HistoricTaskInstanceQuery |
taskName(String taskName)
Only select historic task instances with the given task name. |
HistoricTaskInstanceQuery |
taskNameLike(String taskNameLike)
Only select historic task instances with a task name like the given value. |
HistoricTaskInstanceQuery |
taskOwner(String taskOwner)
Only select historic task instances which have the given owner. |
HistoricTaskInstanceQuery |
taskOwnerLike(String taskOwnerLike)
Only select historic task instances which have an owner like the one specified. |
HistoricTaskInstanceQuery |
taskParentTaskId(String parentTaskId)
Only select subtasks of the given parent task |
HistoricTaskInstanceQuery |
taskPriority(Integer taskPriority)
Only select historic task instances with the given priority. |
HistoricTaskInstanceQuery |
taskVariableValueEquals(Object variableValue)
Only select tasks which have at least one local task variable with the given value. |
HistoricTaskInstanceQuery |
taskVariableValueEquals(String variableName,
Object variableValue)
Only select tasks which have a local task variable with the given name set to the given value. |
HistoricTaskInstanceQuery |
taskVariableValueEqualsIgnoreCase(String name,
String value)
Only select tasks which have a local string variable with the given value, case insensitive. |
HistoricTaskInstanceQuery |
taskVariableValueGreaterThan(String name,
Object value)
Only select tasks which have a local variable value greater than the passed value when they ended. |
HistoricTaskInstanceQuery |
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. |
HistoricTaskInstanceQuery |
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. |
HistoricTaskInstanceQuery |
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. |
HistoricTaskInstanceQuery |
taskVariableValueLike(String name,
String value)
Only select tasks which have a local variable value like the given value when they ended. |
HistoricTaskInstanceQuery |
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. |
HistoricTaskInstanceQuery |
taskVariableValueNotEqualsIgnoreCase(String name,
String value)
Only select tasks which have a local string variable with is not the given value, case insensitive. |
HistoricTaskInstanceQuery |
unfinished()
Only select historic task instances which aren't finished yet. |
HistoricTaskInstanceQuery |
withoutTaskDueDate()
Only select historic tasks instances with no due date. |
从接口 org.activiti.engine.query.Query 继承的方法 |
---|
asc, count, desc, list, listPage, singleResult |
方法详细信息 |
---|
HistoricTaskInstanceQuery taskId(String taskId)
HistoricTaskInstanceQuery processInstanceId(String processInstanceId)
HistoricTaskInstanceQuery processInstanceBusinessKey(String processInstanceBusinessKey)
HistoricTaskInstanceQuery processInstanceBusinessKeyLike(String processInstanceBusinessKeyLike)
HistoricTaskInstanceQuery executionId(String executionId)
HistoricTaskInstanceQuery processDefinitionId(String processDefinitionId)
HistoricTaskInstanceQuery processDefinitionKey(String processDefinitionKey)
HistoricTaskInstanceQuery processDefinitionKeyLike(String processDefinitionKeyLike)
HistoricTaskInstanceQuery processDefinitionName(String processDefinitionName)
HistoricTaskInstanceQuery processDefinitionNameLike(String processDefinitionNameLike)
HistoricTaskInstanceQuery taskName(String taskName)
HistoricTaskInstanceQuery taskNameLike(String taskNameLike)
HistoricTaskInstanceQuery taskDescription(String taskDescription)
HistoricTaskInstanceQuery taskDescriptionLike(String taskDescriptionLike)
HistoricTaskInstanceQuery taskDefinitionKey(String taskDefinitionKey)
Task.getTaskDefinitionKey()
HistoricTaskInstanceQuery taskDefinitionKeyLike(String taskDefinitionKeyLike)
HistoricTaskInstanceQuery taskDeleteReason(String taskDeleteReason)
HistoricTaskInstanceQuery taskDeleteReasonLike(String taskDeleteReasonLike)
HistoricTaskInstanceQuery taskAssignee(String taskAssignee)
HistoricTaskInstanceQuery taskAssigneeLike(String taskAssigneeLike)
HistoricTaskInstanceQuery taskOwner(String taskOwner)
HistoricTaskInstanceQuery taskOwnerLike(String taskOwnerLike)
HistoricTaskInstanceQuery taskCandidateUser(String candidateUser)
HistoricTaskInstanceQuery taskInvolvedUser(String involvedUser)
HistoricIdentityLink
with the given user, including tasks
which have been assigned to the given user (assignee) or owned by the given user (owner).
HistoricTaskInstanceQuery taskCandidateGroup(String candidateGroup)
HistoricTaskInstanceQuery 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
.HistoricTaskInstanceQuery taskPriority(Integer taskPriority)
HistoricTaskInstanceQuery taskMinPriority(Integer minPriority)
HistoricTaskInstanceQuery taskMaxPriority(Integer maxPriority)
HistoricTaskInstanceQuery finished()
HistoricTaskInstanceQuery unfinished()
HistoricTaskInstanceQuery processFinished()
HistoricTaskInstanceQuery processUnfinished()
HistoricTaskInstanceQuery taskParentTaskId(String parentTaskId)
HistoricTaskInstanceQuery taskDueDate(Date dueDate)
HistoricTaskInstanceQuery taskDueBefore(Date dueDate)
HistoricTaskInstanceQuery withoutTaskDueDate()
HistoricTaskInstanceQuery taskDueAfter(Date dueDate)
HistoricTaskInstanceQuery taskCreatedOn(Date startDate)
HistoricTaskInstanceQuery taskCreatedBefore(Date startDate)
HistoricTaskInstanceQuery taskCreatedAfter(Date startDate)
HistoricTaskInstanceQuery taskCompletedOn(Date endDate)
HistoricTaskInstanceQuery taskCompletedBefore(Date endDate)
HistoricTaskInstanceQuery taskCompletedAfter(Date endDate)
HistoricTaskInstanceQuery taskVariableValueEquals(String variableName, Object variableValue)
HistoricTaskInstanceQuery taskVariableValueEquals(Object variableValue)
HistoricTaskInstanceQuery 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).
HistoricTaskInstanceQuery taskVariableValueNotEquals(String variableName, Object variableValue)
Serializable
objects (which are not primitive type wrappers)
are not supported.
HistoricTaskInstanceQuery 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).
HistoricTaskInstanceQuery taskVariableValueGreaterThan(String name, Object value)
Serializable
objects (which are not primitive type wrappers) are
not supported.
name
- cannot be null.value
- cannot be null.HistoricTaskInstanceQuery taskVariableValueGreaterThanOrEqual(String name, Object value)
Serializable
objects (which are not primitive type wrappers) are
not supported.
name
- cannot be null.value
- cannot be null.HistoricTaskInstanceQuery taskVariableValueLessThan(String name, Object value)
Serializable
objects (which are not primitive type
wrappers) are not supported.
name
- cannot be null.value
- cannot be null.HistoricTaskInstanceQuery taskVariableValueLessThanOrEqual(String name, Object value)
Serializable
objects (which are not primitive type
wrappers) are not supported.
name
- cannot be null.value
- cannot be null.HistoricTaskInstanceQuery 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%).HistoricTaskInstanceQuery processVariableValueEquals(String variableName, Object variableValue)
HistoricTaskInstanceQuery processVariableValueEquals(Object variableValue)
HistoricTaskInstanceQuery 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).
HistoricTaskInstanceQuery processVariableValueNotEquals(String variableName, Object variableValue)
Serializable
objects (which are not primitive type wrappers)
are not supported.
HistoricTaskInstanceQuery 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).
HistoricTaskInstanceQuery processVariableValueGreaterThan(String name, Object value)
Serializable
objects (which are not primitive type wrappers) are
not supported.
name
- cannot be null.value
- cannot be null.HistoricTaskInstanceQuery processVariableValueGreaterThanOrEqual(String name, Object value)
Serializable
objects (which are not primitive type wrappers) are
not supported.
name
- cannot be null.value
- cannot be null.HistoricTaskInstanceQuery processVariableValueLessThan(String name, Object value)
Serializable
objects (which are not primitive type
wrappers) are not supported.
name
- cannot be null.value
- cannot be null.HistoricTaskInstanceQuery processVariableValueLessThanOrEqual(String name, Object value)
Serializable
objects (which are not primitive type
wrappers) are not supported.
name
- cannot be null.value
- cannot be null.HistoricTaskInstanceQuery 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%).HistoricTaskInstanceQuery includeTaskLocalVariables()
HistoricTaskInstanceQuery includeProcessVariables()
HistoricTaskInstanceQuery orderByTaskId()
Query.asc()
or Query.desc()
).
HistoricTaskInstanceQuery orderByHistoricActivityInstanceId()
Query.asc()
or Query.desc()
).
HistoricTaskInstanceQuery orderByProcessDefinitionId()
Query.asc()
or Query.desc()
).
HistoricTaskInstanceQuery orderByProcessInstanceId()
Query.asc()
or Query.desc()
).
HistoricTaskInstanceQuery orderByExecutionId()
Query.asc()
or Query.desc()
).
HistoricTaskInstanceQuery orderByHistoricTaskInstanceDuration()
Query.asc()
or Query.desc()
).
HistoricTaskInstanceQuery orderByHistoricTaskInstanceEndTime()
Query.asc()
or Query.desc()
).
@Deprecated HistoricTaskInstanceQuery orderByHistoricActivityInstanceStartTime()
orderByHistoricTaskInstanceStartTime()
Query.asc()
or Query.desc()
).
HistoricTaskInstanceQuery orderByHistoricTaskInstanceStartTime()
Query.asc()
or Query.desc()
).
HistoricTaskInstanceQuery orderByTaskName()
Query.asc()
or Query.desc()
).
HistoricTaskInstanceQuery orderByTaskDescription()
Query.asc()
or Query.desc()
).
HistoricTaskInstanceQuery orderByTaskAssignee()
Query.asc()
or Query.desc()
).
HistoricTaskInstanceQuery orderByTaskOwner()
Query.asc()
or Query.desc()
).
HistoricTaskInstanceQuery orderByTaskDueDate()
Query.asc()
or Query.desc()
).
HistoricTaskInstanceQuery orderByDeleteReason()
Query.asc()
or Query.desc()
).
HistoricTaskInstanceQuery orderByTaskDefinitionKey()
Query.asc()
or Query.desc()
).
HistoricTaskInstanceQuery orderByTaskPriority()
Query.asc()
or Query.desc()
).
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |