接口 org.activiti.engine.runtime.ProcessInstanceQuery
的使用

使用 ProcessInstanceQuery 的软件包
org.activiti.engine Public API of the Activiti engine. 
org.activiti.engine.impl API implementation classes, which shouldn't directly be used by end-users. 
org.activiti.engine.runtime Classes related to the RuntimeService
 

org.activiti.engineProcessInstanceQuery 的使用
 

返回 ProcessInstanceQueryorg.activiti.engine 中的方法
 ProcessInstanceQuery RuntimeService.createProcessInstanceQuery()
          Creates a new ProcessInstanceQuery instance, that can be used to query process instances.
 

org.activiti.engine.implProcessInstanceQuery 的使用
 

实现 ProcessInstanceQueryorg.activiti.engine.impl 中的类
 class ProcessInstanceQueryImpl
           
 

返回 ProcessInstanceQueryorg.activiti.engine.impl 中的方法
 ProcessInstanceQuery ProcessInstanceQueryImpl.active()
           
 ProcessInstanceQuery RuntimeServiceImpl.createProcessInstanceQuery()
           
 ProcessInstanceQuery ProcessInstanceQueryImpl.excludeSubprocesses(boolean excludeSubprocesses)
           
 ProcessInstanceQuery ProcessInstanceQueryImpl.includeProcessVariables()
           
 ProcessInstanceQuery ProcessInstanceQueryImpl.involvedUser(String involvedUser)
           
 ProcessInstanceQuery ProcessInstanceQueryImpl.orderByProcessDefinitionId()
           
 ProcessInstanceQuery ProcessInstanceQueryImpl.orderByProcessDefinitionKey()
           
 ProcessInstanceQuery ProcessInstanceQueryImpl.orderByProcessInstanceId()
           
 ProcessInstanceQuery ProcessInstanceQueryImpl.processDefinitionName(String processDefinitionName)
           
 ProcessInstanceQuery ProcessInstanceQueryImpl.processInstanceBusinessKey(String businessKey)
           
 ProcessInstanceQuery ProcessInstanceQueryImpl.processInstanceBusinessKey(String businessKey, String processDefinitionKey)
           
 ProcessInstanceQuery ProcessInstanceQueryImpl.processInstanceIds(Set<String> processInstanceIds)
           
 ProcessInstanceQuery ProcessInstanceQueryImpl.subProcessInstanceId(String subProcessInstanceId)
           
 ProcessInstanceQuery ProcessInstanceQueryImpl.superProcessInstanceId(String superProcessInstanceId)
           
 ProcessInstanceQuery ProcessInstanceQueryImpl.suspended()
           
 

org.activiti.engine.runtimeProcessInstanceQuery 的使用
 

返回 ProcessInstanceQueryorg.activiti.engine.runtime 中的方法
 ProcessInstanceQuery ProcessInstanceQuery.active()
          Only select process instances which are active, which means that neither the process instance nor the corresponding process definition are suspended.
 ProcessInstanceQuery ProcessInstanceQuery.excludeSubprocesses(boolean excludeSubprocesses)
          Exclude sub processes from the query result;
 ProcessInstanceQuery ProcessInstanceQuery.includeProcessVariables()
          Include process variables in the process query result
 ProcessInstanceQuery ProcessInstanceQuery.involvedUser(String userId)
          Select the process instances with which the user with the given id is involved.
 ProcessInstanceQuery ProcessInstanceQuery.orderByProcessDefinitionId()
          Order by process definition id (needs to be followed by Query.asc() or Query.desc()).
 ProcessInstanceQuery ProcessInstanceQuery.orderByProcessDefinitionKey()
          Order by process definition key (needs to be followed by Query.asc() or Query.desc()).
 ProcessInstanceQuery ProcessInstanceQuery.orderByProcessInstanceId()
          Order by id (needs to be followed by Query.asc() or Query.desc()).
 ProcessInstanceQuery ProcessInstanceQuery.processDefinitionId(String processDefinitionId)
          Select the process instances which are defined by a process definition with the given id.
 ProcessInstanceQuery ProcessInstanceQuery.processDefinitionKey(String processDefinitionKey)
          Select the process instances which are defined by a process definition with the given key.
 ProcessInstanceQuery ProcessInstanceQuery.processDefinitionName(String processDefinitionName)
          Select process instances whose process definition name is processDefinitionName
 ProcessInstanceQuery ProcessInstanceQuery.processInstanceBusinessKey(String processInstanceBusinessKey)
          Select process instances with the given business key
 ProcessInstanceQuery ProcessInstanceQuery.processInstanceBusinessKey(String processInstanceBusinessKey, String processDefinitionKey)
          Select process instance with the given business key, unique for the given process definition
 ProcessInstanceQuery ProcessInstanceQuery.processInstanceId(String processInstanceId)
          Select the process instance with the given id
 ProcessInstanceQuery ProcessInstanceQuery.processInstanceIds(Set<String> processInstanceIds)
          Select process instances whose id is in the given set of ids
 ProcessInstanceQuery ProcessInstanceQuery.subProcessInstanceId(String subProcessInstanceId)
          Select the process instance that have as sub process instance the given process instance.
 ProcessInstanceQuery ProcessInstanceQuery.superProcessInstanceId(String superProcessInstanceId)
          Select the process instances which are a sub process instance of the given super process instance.
 ProcessInstanceQuery ProcessInstanceQuery.suspended()
          Only select process instances which are suspended, either because the process instance itself is suspended or because the corresponding process definition is suspended
 ProcessInstanceQuery ProcessInstanceQuery.variableValueEquals(Object value)
          Only select process instances which have at least one global variable with the given value.
 ProcessInstanceQuery ProcessInstanceQuery.variableValueEquals(String name, Object value)
          Only select process instances which have a global variable with the given value.
 ProcessInstanceQuery ProcessInstanceQuery.variableValueEqualsIgnoreCase(String name, String value)
          Only select process instances which have a local string variable with the given value, case insensitive.
 ProcessInstanceQuery ProcessInstanceQuery.variableValueGreaterThan(String name, Object value)
          Only select process instances which have a variable value greater than the passed value.
 ProcessInstanceQuery ProcessInstanceQuery.variableValueGreaterThanOrEqual(String name, Object value)
          Only select process instances which have a global variable value greater than or equal to the passed value.
 ProcessInstanceQuery ProcessInstanceQuery.variableValueLessThan(String name, Object value)
          Only select process instances which have a global variable value less than the passed value.
 ProcessInstanceQuery ProcessInstanceQuery.variableValueLessThanOrEqual(String name, Object value)
          Only select process instances which have a global variable value less than or equal to the passed value.
 ProcessInstanceQuery ProcessInstanceQuery.variableValueLike(String name, String value)
          Only select process instances which have a global variable value like the given value.
 ProcessInstanceQuery ProcessInstanceQuery.variableValueNotEquals(String name, Object value)
          Only select process instances which have a global variable with the given name, but with a different value than the passed value.
 ProcessInstanceQuery ProcessInstanceQuery.variableValueNotEqualsIgnoreCase(String name, String value)
          Only select process instances which have a local string variable which is not the given value, case insensitive.
 



Copyright © 2013 Alfresco. All rights reserved.