|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Objectorg.activiti.engine.impl.db.ListQueryParameterObject
org.activiti.engine.impl.AbstractQuery<T,U>
org.activiti.engine.impl.AbstractVariableQueryImpl<ProcessInstanceQuery,ProcessInstance>
org.activiti.engine.impl.ProcessInstanceQueryImpl
public class ProcessInstanceQueryImpl
字段摘要 | |
---|---|
protected String |
activityId
|
protected String |
businessKey
|
protected List<EventSubscriptionQueryValue> |
eventSubscriptions
|
protected boolean |
excludeSubprocesses
|
protected String |
executionId
|
protected boolean |
includeChildExecutionsWithBusinessKeyQuery
|
protected boolean |
includeProcessVariables
|
protected String |
involvedUser
|
protected String |
processDefinitionId
|
protected String |
processDefinitionKey
|
protected String |
processDefinitionName
|
protected Set<String> |
processInstanceIds
|
protected String |
subProcessInstanceId
|
protected String |
superProcessInstanceId
|
protected SuspensionState |
suspensionState
|
从类 org.activiti.engine.impl.AbstractVariableQueryImpl 继承的字段 |
---|
queryVariableValues |
从类 org.activiti.engine.impl.AbstractQuery 继承的字段 |
---|
commandContext, commandExecutor, orderBy, orderProperty, resultType, SORTORDER_ASC, SORTORDER_DESC |
从类 org.activiti.engine.impl.db.ListQueryParameterObject 继承的字段 |
---|
databaseType, firstResult, maxResults, parameter |
构造方法摘要 | |
---|---|
ProcessInstanceQueryImpl()
|
|
ProcessInstanceQueryImpl(CommandContext commandContext)
|
|
ProcessInstanceQueryImpl(CommandExecutor commandExecutor)
|
方法摘要 | |
---|---|
ProcessInstanceQuery |
active()
Only select process instances which are active, which means that neither the process instance nor the corresponding process definition are suspended. |
ProcessInstanceQuery |
excludeSubprocesses(boolean excludeSubprocesses)
Exclude sub processes from the query result; |
long |
executeCount(CommandContext commandContext)
|
List<ProcessInstance> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results. |
String |
getActivityId()
|
String |
getBusinessKey()
|
List<EventSubscriptionQueryValue> |
getEventSubscriptions()
|
String |
getInvolvedUser()
|
String |
getMssqlOrDB2OrderBy()
|
boolean |
getOnlyProcessInstances()
|
String |
getParentId()
Method needed for ibatis because of re-use of query-xml for executions. |
String |
getProcessDefinitionId()
|
String |
getProcessDefinitionKey()
|
String |
getProcessDefinitionName()
|
String |
getProcessInstanceId()
|
Set<String> |
getProcessInstanceIds()
|
String |
getSubProcessInstanceId()
|
String |
getSuperProcessInstanceId()
|
SuspensionState |
getSuspensionState()
|
ProcessInstanceQuery |
includeProcessVariables()
Include process variables in the process query result |
ProcessInstanceQuery |
involvedUser(String involvedUser)
Select the process instances with which the user with the given id is involved. |
boolean |
isExcludeSubprocesses()
|
boolean |
isIncludeChildExecutionsWithBusinessKeyQuery()
|
ProcessInstanceQuery |
orderByProcessDefinitionId()
Order by process definition id (needs to be followed by Query.asc() or Query.desc() ). |
ProcessInstanceQuery |
orderByProcessDefinitionKey()
Order by process definition key (needs to be followed by Query.asc() or Query.desc() ). |
ProcessInstanceQuery |
orderByProcessInstanceId()
Order by id (needs to be followed by Query.asc() or Query.desc() ). |
ProcessInstanceQueryImpl |
processDefinitionId(String processDefinitionId)
Select the process instances which are defined by a process definition with the given id. |
ProcessInstanceQueryImpl |
processDefinitionKey(String processDefinitionKey)
Select the process instances which are defined by a process definition with the given key. |
ProcessInstanceQuery |
processDefinitionName(String processDefinitionName)
Select process instances whose process definition name is processDefinitionName |
ProcessInstanceQuery |
processInstanceBusinessKey(String businessKey)
Select process instances with the given business key |
ProcessInstanceQuery |
processInstanceBusinessKey(String businessKey,
String processDefinitionKey)
Select process instance with the given business key, unique for the given process definition |
ProcessInstanceQueryImpl |
processInstanceId(String processInstanceId)
Select the process instance with the given id |
ProcessInstanceQuery |
processInstanceIds(Set<String> processInstanceIds)
Select process instances whose id is in the given set of ids |
void |
setEventSubscriptions(List<EventSubscriptionQueryValue> eventSubscriptions)
|
void |
setSuspensionState(SuspensionState suspensionState)
|
ProcessInstanceQuery |
subProcessInstanceId(String subProcessInstanceId)
Select the process instance that have as sub process instance the given process instance. |
ProcessInstanceQuery |
superProcessInstanceId(String superProcessInstanceId)
Select the process instances which are a sub process instance of the given super process instance. |
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 |
从类 org.activiti.engine.impl.AbstractQuery 继承的方法 |
---|
addOrder, asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, getOrderBy, list, listPage, orderBy, setCommandExecutor, singleResult |
从类 org.activiti.engine.impl.db.ListQueryParameterObject 继承的方法 |
---|
getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, setDatabaseType, setFirstResult, setMaxResults, setParameter |
从类 java.lang.Object 继承的方法 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
从接口 org.activiti.engine.query.Query 继承的方法 |
---|
asc, count, desc, list, listPage, singleResult |
字段详细信息 |
---|
protected String executionId
protected String businessKey
protected boolean includeChildExecutionsWithBusinessKeyQuery
protected String processDefinitionId
protected String processDefinitionName
protected Set<String> processInstanceIds
protected String processDefinitionKey
protected String superProcessInstanceId
protected String subProcessInstanceId
protected boolean excludeSubprocesses
protected String involvedUser
protected SuspensionState suspensionState
protected boolean includeProcessVariables
protected String activityId
protected List<EventSubscriptionQueryValue> eventSubscriptions
构造方法详细信息 |
---|
public ProcessInstanceQueryImpl()
public ProcessInstanceQueryImpl(CommandContext commandContext)
public ProcessInstanceQueryImpl(CommandExecutor commandExecutor)
方法详细信息 |
---|
public ProcessInstanceQueryImpl processInstanceId(String processInstanceId)
ProcessInstanceQuery
复制的描述
ProcessInstanceQuery
中的 processInstanceId
public ProcessInstanceQuery processInstanceIds(Set<String> processInstanceIds)
ProcessInstanceQuery
复制的描述
ProcessInstanceQuery
中的 processInstanceIds
public ProcessInstanceQuery processInstanceBusinessKey(String businessKey)
ProcessInstanceQuery
复制的描述
ProcessInstanceQuery
中的 processInstanceBusinessKey
public ProcessInstanceQuery processInstanceBusinessKey(String businessKey, String processDefinitionKey)
ProcessInstanceQuery
复制的描述
ProcessInstanceQuery
中的 processInstanceBusinessKey
public ProcessInstanceQuery processDefinitionName(String processDefinitionName)
ProcessInstanceQuery
复制的描述
ProcessInstanceQuery
中的 processDefinitionName
public ProcessInstanceQueryImpl processDefinitionId(String processDefinitionId)
ProcessInstanceQuery
复制的描述
ProcessInstanceQuery
中的 processDefinitionId
public ProcessInstanceQueryImpl processDefinitionKey(String processDefinitionKey)
ProcessInstanceQuery
复制的描述
ProcessInstanceQuery
中的 processDefinitionKey
public ProcessInstanceQuery superProcessInstanceId(String superProcessInstanceId)
ProcessInstanceQuery
复制的描述
ProcessInstanceQuery
中的 superProcessInstanceId
public ProcessInstanceQuery subProcessInstanceId(String subProcessInstanceId)
ProcessInstanceQuery
复制的描述
ProcessInstanceQuery
中的 subProcessInstanceId
public ProcessInstanceQuery excludeSubprocesses(boolean excludeSubprocesses)
ProcessInstanceQuery
复制的描述
ProcessInstanceQuery
中的 excludeSubprocesses
public ProcessInstanceQuery involvedUser(String involvedUser)
ProcessInstanceQuery
复制的描述
ProcessInstanceQuery
中的 involvedUser
public ProcessInstanceQuery orderByProcessInstanceId()
ProcessInstanceQuery
复制的描述Query.asc()
or Query.desc()
).
ProcessInstanceQuery
中的 orderByProcessInstanceId
public ProcessInstanceQuery orderByProcessDefinitionId()
ProcessInstanceQuery
复制的描述Query.asc()
or Query.desc()
).
ProcessInstanceQuery
中的 orderByProcessDefinitionId
public ProcessInstanceQuery orderByProcessDefinitionKey()
ProcessInstanceQuery
复制的描述Query.asc()
or Query.desc()
).
ProcessInstanceQuery
中的 orderByProcessDefinitionKey
public ProcessInstanceQuery active()
ProcessInstanceQuery
复制的描述
ProcessInstanceQuery
中的 active
public ProcessInstanceQuery suspended()
ProcessInstanceQuery
复制的描述
ProcessInstanceQuery
中的 suspended
public ProcessInstanceQuery includeProcessVariables()
ProcessInstanceQuery
复制的描述
ProcessInstanceQuery
中的 includeProcessVariables
public String getMssqlOrDB2OrderBy()
public long executeCount(CommandContext commandContext)
AbstractVariableQueryImpl<ProcessInstanceQuery,ProcessInstance>
中的 executeCount
public List<ProcessInstance> executeList(CommandContext commandContext, Page page)
AbstractQuery
复制的描述
AbstractVariableQueryImpl<ProcessInstanceQuery,ProcessInstance>
中的 executeList
page
- used if the results must be paged. If null, no paging will be applied.public boolean getOnlyProcessInstances()
public String getProcessInstanceId()
public Set<String> getProcessInstanceIds()
public String getBusinessKey()
public boolean isIncludeChildExecutionsWithBusinessKeyQuery()
public String getProcessDefinitionId()
public String getProcessDefinitionName()
public String getProcessDefinitionKey()
public String getActivityId()
public String getSuperProcessInstanceId()
public String getSubProcessInstanceId()
public boolean isExcludeSubprocesses()
public String getInvolvedUser()
public SuspensionState getSuspensionState()
public void setSuspensionState(SuspensionState suspensionState)
public List<EventSubscriptionQueryValue> getEventSubscriptions()
public void setEventSubscriptions(List<EventSubscriptionQueryValue> eventSubscriptions)
public String getParentId()
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |