org.activiti.engine.history
接口 HistoricTaskInstanceQuery

所有超级接口:
Query<HistoricTaskInstanceQuery,HistoricTaskInstance>
所有已知实现类:
HistoricTaskInstanceQueryImpl

public interface HistoricTaskInstanceQuery
extends Query<HistoricTaskInstanceQuery,HistoricTaskInstance>

Allows programmatic querying for HistoricTaskInstances.

作者:
Tom Baeyens

方法摘要
 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
 

方法详细信息

taskId

HistoricTaskInstanceQuery taskId(String taskId)
Only select historic task instances for the given task id.


processInstanceId

HistoricTaskInstanceQuery processInstanceId(String processInstanceId)
Only select historic task instances for the given process instance.


processInstanceBusinessKey

HistoricTaskInstanceQuery processInstanceBusinessKey(String processInstanceBusinessKey)
Only select historic process instances with the given business key


processInstanceBusinessKeyLike

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. %activiti%.


executionId

HistoricTaskInstanceQuery executionId(String executionId)
Only select historic task instances for the given execution.


processDefinitionId

HistoricTaskInstanceQuery processDefinitionId(String processDefinitionId)
Only select historic task instances for the given process definition.


processDefinitionKey

HistoricTaskInstanceQuery processDefinitionKey(String processDefinitionKey)
Only select historic task instances which are part of a (historic) process instance which has the given process definition key.


processDefinitionKeyLike

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. The syntax that should be used is the same as in SQL, eg. %activiti%.


processDefinitionName

HistoricTaskInstanceQuery processDefinitionName(String processDefinitionName)
Only select historic task instances which are part of a (historic) process instance which has the given definition name.


processDefinitionNameLike

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. The syntax that should be used is the same as in SQL, eg. %activiti%.


taskName

HistoricTaskInstanceQuery taskName(String taskName)
Only select historic task instances with the given task name. This is the last name given to the task.


taskNameLike

HistoricTaskInstanceQuery taskNameLike(String taskNameLike)
Only select historic task instances with a task name like the given value. This is the last name given to the task. The syntax that should be used is the same as in SQL, eg. %activiti%.


taskDescription

HistoricTaskInstanceQuery taskDescription(String taskDescription)
Only select historic task instances with the given task description. This is the last description given to the task.


taskDescriptionLike

HistoricTaskInstanceQuery taskDescriptionLike(String taskDescriptionLike)
Only select historic task instances with a task description like the given value. This is the last description given to the task. The syntax that should be used is the same as in SQL, eg. %activiti%.


taskDefinitionKey

HistoricTaskInstanceQuery taskDefinitionKey(String taskDefinitionKey)
Only select historic task instances with the given task definition key.

另请参见:
Task.getTaskDefinitionKey()

taskDefinitionKeyLike

HistoricTaskInstanceQuery taskDefinitionKeyLike(String taskDefinitionKeyLike)
Only select historic task instances with a task definition key like the given value. The syntax that should be used is the same as in SQL, eg. %activiti%.


taskDeleteReason

HistoricTaskInstanceQuery taskDeleteReason(String taskDeleteReason)
Only select historic task instances with the given task delete reason.


taskDeleteReasonLike

HistoricTaskInstanceQuery taskDeleteReasonLike(String taskDeleteReasonLike)
Only select historic task instances with a task description like the given value. The syntax that should be used is the same as in SQL, eg. %activiti%.


taskAssignee

HistoricTaskInstanceQuery taskAssignee(String taskAssignee)
Only select historic task instances which were last assigned to the given assignee.


taskAssigneeLike

HistoricTaskInstanceQuery taskAssigneeLike(String taskAssigneeLike)
Only select historic task instances 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%.


taskOwner

HistoricTaskInstanceQuery taskOwner(String taskOwner)
Only select historic task instances which have the given owner.


taskOwnerLike

HistoricTaskInstanceQuery taskOwnerLike(String taskOwnerLike)
Only select historic task instances which have an owner like the one specified. The syntax that should be used is the same as in SQL, eg. %activiti%.


taskCandidateUser

HistoricTaskInstanceQuery taskCandidateUser(String candidateUser)
Only select historic tasks for which the given user is a candidate.


taskInvolvedUser

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).


taskCandidateGroup

HistoricTaskInstanceQuery taskCandidateGroup(String candidateGroup)
Only select historic tasks for which users in the given group are candidates.


taskCandidateGroupIn

HistoricTaskInstanceQuery taskCandidateGroupIn(List<String> candidateGroups)
Only select tasks for which the 'candidateGroup' is one of the given groups.

抛出:
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.

taskPriority

HistoricTaskInstanceQuery taskPriority(Integer taskPriority)
Only select historic task instances with the given priority.


taskMinPriority

HistoricTaskInstanceQuery taskMinPriority(Integer minPriority)
Only select historic tasks with the given priority or higher.


taskMaxPriority

HistoricTaskInstanceQuery taskMaxPriority(Integer maxPriority)
Only select historic tasks with the given priority or lower.


finished

HistoricTaskInstanceQuery finished()
Only select historic task instances which are finished.


unfinished

HistoricTaskInstanceQuery unfinished()
Only select historic task instances which aren't finished yet.


processFinished

HistoricTaskInstanceQuery processFinished()
Only select historic task instances which are part of a process instance which is already finished.


processUnfinished

HistoricTaskInstanceQuery processUnfinished()
Only select historic task instances which are part of a process instance which is not finished yet.


taskParentTaskId

HistoricTaskInstanceQuery taskParentTaskId(String parentTaskId)
Only select subtasks of the given parent task


taskDueDate

HistoricTaskInstanceQuery taskDueDate(Date dueDate)
Only select select historic task instances with the given due date.


taskDueBefore

HistoricTaskInstanceQuery taskDueBefore(Date dueDate)
Only select select historic task instances which have a due date before the given date.


withoutTaskDueDate

HistoricTaskInstanceQuery withoutTaskDueDate()
Only select historic tasks instances with no due date.


taskDueAfter

HistoricTaskInstanceQuery taskDueAfter(Date dueDate)
Only select select historic task instances which have a due date after the given date.


taskCreatedOn

HistoricTaskInstanceQuery taskCreatedOn(Date startDate)
Only select select historic task instances which are created on the given date


taskCreatedBefore

HistoricTaskInstanceQuery taskCreatedBefore(Date startDate)
Only select select historic task instances which are created before the given date


taskCreatedAfter

HistoricTaskInstanceQuery taskCreatedAfter(Date startDate)
Only select select historic task instances which are created after the given date


taskCompletedOn

HistoricTaskInstanceQuery taskCompletedOn(Date endDate)
Only select select historic task instances which are completed on the given date


taskCompletedBefore

HistoricTaskInstanceQuery taskCompletedBefore(Date endDate)
Only select select historic task instances which are completed before the given date


taskCompletedAfter

HistoricTaskInstanceQuery taskCompletedAfter(Date endDate)
Only select select historic task instances which are completed after the given date


taskVariableValueEquals

HistoricTaskInstanceQuery taskVariableValueEquals(String variableName,
                                                  Object variableValue)
Only select tasks which have a local task variable with the given name set to the given value.


taskVariableValueEquals

HistoricTaskInstanceQuery taskVariableValueEquals(Object variableValue)
Only select tasks which have at least one local task variable with the given value.


taskVariableValueEqualsIgnoreCase

HistoricTaskInstanceQuery taskVariableValueEqualsIgnoreCase(String name,
                                                            String value)
Only 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).


taskVariableValueNotEquals

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. Byte-arrays and Serializable objects (which are not primitive type wrappers) are not supported.


taskVariableValueNotEqualsIgnoreCase

HistoricTaskInstanceQuery taskVariableValueNotEqualsIgnoreCase(String name,
                                                               String value)
Only 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).


taskVariableValueGreaterThan

HistoricTaskInstanceQuery taskVariableValueGreaterThan(String name,
                                                       Object value)
Only select tasks which have a local variable value greater than the passed value when they ended. Booleans, Byte-arrays and Serializable objects (which are not primitive type wrappers) are not supported.

参数:
name - cannot be null.
value - cannot be null.

taskVariableValueGreaterThanOrEqual

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. Booleans, Byte-arrays and Serializable objects (which are not primitive type wrappers) are not supported.

参数:
name - cannot be null.
value - cannot be null.

taskVariableValueLessThan

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.

参数:
name - cannot be null.
value - cannot be null.

taskVariableValueLessThanOrEqual

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. Booleans, Byte-arrays and Serializable objects (which are not primitive type wrappers) are not supported.

参数:
name - cannot be null.
value - cannot be null.

taskVariableValueLike

HistoricTaskInstanceQuery taskVariableValueLike(String name,
                                                String value)
Only select tasks which have a local variable value like the given value when they ended. This can be used on string variables only.

参数:
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

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.


processVariableValueEquals

HistoricTaskInstanceQuery processVariableValueEquals(Object variableValue)
Only select tasks which are part of a process that has at least one variable with the given value.


processVariableValueEqualsIgnoreCase

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.

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).


processVariableValueNotEquals

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. Byte-arrays and Serializable objects (which are not primitive type wrappers) are not supported.


processVariableValueNotEqualsIgnoreCase

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.

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).


processVariableValueGreaterThan

HistoricTaskInstanceQuery processVariableValueGreaterThan(String name,
                                                          Object value)
Only select tasks which have a global variable value greater than the passed value when they ended. Booleans, Byte-arrays and Serializable objects (which are not primitive type wrappers) are not supported.

参数:
name - cannot be null.
value - cannot be null.

processVariableValueGreaterThanOrEqual

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. Booleans, Byte-arrays and Serializable objects (which are not primitive type wrappers) are not supported.

参数:
name - cannot be null.
value - cannot be null.

processVariableValueLessThan

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.

参数:
name - cannot be null.
value - cannot be null.

processVariableValueLessThanOrEqual

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. Booleans, Byte-arrays and Serializable objects (which are not primitive type wrappers) are not supported.

参数:
name - cannot be null.
value - cannot be null.

processVariableValueLike

HistoricTaskInstanceQuery processVariableValueLike(String name,
                                                   String value)
Only select tasks which have a global variable value like the given value when they ended. This can be used on string variables only.

参数:
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%).

includeTaskLocalVariables

HistoricTaskInstanceQuery includeTaskLocalVariables()
Include local task variables in the task query result


includeProcessVariables

HistoricTaskInstanceQuery includeProcessVariables()
Include global task variables in the task query result


orderByTaskId

HistoricTaskInstanceQuery orderByTaskId()
Order by task id (needs to be followed by Query.asc() or Query.desc()).


orderByHistoricActivityInstanceId

HistoricTaskInstanceQuery orderByHistoricActivityInstanceId()
Order by the historic activity instance id this task was used in (needs to be followed by Query.asc() or Query.desc()).


orderByProcessDefinitionId

HistoricTaskInstanceQuery orderByProcessDefinitionId()
Order by process definition id (needs to be followed by Query.asc() or Query.desc()).


orderByProcessInstanceId

HistoricTaskInstanceQuery orderByProcessInstanceId()
Order by process instance id (needs to be followed by Query.asc() or Query.desc()).


orderByExecutionId

HistoricTaskInstanceQuery orderByExecutionId()
Order by execution id (needs to be followed by Query.asc() or Query.desc()).


orderByHistoricTaskInstanceDuration

HistoricTaskInstanceQuery orderByHistoricTaskInstanceDuration()
Order by duration (needs to be followed by Query.asc() or Query.desc()).


orderByHistoricTaskInstanceEndTime

HistoricTaskInstanceQuery orderByHistoricTaskInstanceEndTime()
Order by end time (needs to be followed by Query.asc() or Query.desc()).


orderByHistoricActivityInstanceStartTime

@Deprecated
HistoricTaskInstanceQuery orderByHistoricActivityInstanceStartTime()
已过时。 use orderByHistoricTaskInstanceStartTime()

Order by start time (needs to be followed by Query.asc() or Query.desc()).


orderByHistoricTaskInstanceStartTime

HistoricTaskInstanceQuery orderByHistoricTaskInstanceStartTime()
Order by start time (needs to be followed by Query.asc() or Query.desc()).


orderByTaskName

HistoricTaskInstanceQuery orderByTaskName()
Order by task name (needs to be followed by Query.asc() or Query.desc()).


orderByTaskDescription

HistoricTaskInstanceQuery orderByTaskDescription()
Order by task description (needs to be followed by Query.asc() or Query.desc()).


orderByTaskAssignee

HistoricTaskInstanceQuery orderByTaskAssignee()
Order by task assignee (needs to be followed by Query.asc() or Query.desc()).


orderByTaskOwner

HistoricTaskInstanceQuery orderByTaskOwner()
Order by task owner (needs to be followed by Query.asc() or Query.desc()).


orderByTaskDueDate

HistoricTaskInstanceQuery orderByTaskDueDate()
Order by task due date (needs to be followed by Query.asc() or Query.desc()).


orderByDeleteReason

HistoricTaskInstanceQuery orderByDeleteReason()
Order by task delete reason (needs to be followed by Query.asc() or Query.desc()).


orderByTaskDefinitionKey

HistoricTaskInstanceQuery orderByTaskDefinitionKey()
Order by task definition key (needs to be followed by Query.asc() or Query.desc()).


orderByTaskPriority

HistoricTaskInstanceQuery orderByTaskPriority()
Order by task priority key (needs to be followed by Query.asc() or Query.desc()).



Copyright © 2013 Alfresco. All rights reserved.