|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Objectorg.activiti.engine.impl.db.ListQueryParameterObject
org.activiti.engine.impl.AbstractQuery<T,U>
org.activiti.engine.impl.AbstractVariableQueryImpl<ExecutionQuery,Execution>
org.activiti.engine.impl.ExecutionQueryImpl
public class ExecutionQueryImpl
字段摘要 | |
---|---|
protected String |
activityId
|
protected String |
businessKey
|
protected List<EventSubscriptionQueryValue> |
eventSubscriptions
|
protected boolean |
excludeSubprocesses
|
protected String |
executionId
|
protected boolean |
includeChildExecutionsWithBusinessKeyQuery
|
protected String |
involvedUser
|
protected boolean |
isActive
|
protected String |
parentId
|
protected String |
processDefinitionId
|
protected String |
processDefinitionKey
|
protected String |
processDefinitionName
|
protected String |
processInstanceId
|
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 |
构造方法摘要 | |
---|---|
ExecutionQueryImpl()
|
|
ExecutionQueryImpl(CommandContext commandContext)
|
|
ExecutionQueryImpl(CommandExecutor commandExecutor)
|
方法摘要 | |
---|---|
ExecutionQueryImpl |
activityId(String activityId)
Only select executions which contain an activity with the given id. |
ExecutionQuery |
eventSubscription(String eventType,
String eventName)
|
long |
executeCount(CommandContext commandContext)
|
List<Execution> |
executeList(CommandContext commandContext,
Page page)
Executes the actual query to retrieve the list of results. |
ExecutionQueryImpl |
executionId(String executionId)
Only select executions with the given id. |
String |
getActivityId()
|
String |
getBusinessKey()
|
List<EventSubscriptionQueryValue> |
getEventSubscriptions()
|
String |
getExecutionId()
|
String |
getInvolvedUser()
|
boolean |
getOnlyProcessInstances()
|
String |
getParentId()
|
String |
getProcessDefinitionId()
|
String |
getProcessDefinitionKey()
|
String |
getProcessDefinitionName()
|
String |
getProcessInstanceId()
|
String |
getProcessInstanceIds()
|
String |
getSubProcessInstanceId()
|
String |
getSuperProcessInstanceId()
|
SuspensionState |
getSuspensionState()
|
boolean |
isActive()
|
boolean |
isExcludeSubprocesses()
|
boolean |
isIncludeChildExecutionsWithBusinessKeyQuery()
|
boolean |
isProcessInstancesOnly()
|
ExecutionQuery |
messageEventSubscriptionName(String messageName)
Only select executions which have a message event subscription for the given messageName. |
ExecutionQueryImpl |
orderByProcessDefinitionId()
Order by process definition id (needs to be followed by Query.asc() or Query.desc() ). |
ExecutionQueryImpl |
orderByProcessDefinitionKey()
Order by process definition key (needs to be followed by Query.asc() or Query.desc() ). |
ExecutionQueryImpl |
orderByProcessInstanceId()
Order by id (needs to be followed by Query.asc() or Query.desc() ). |
ExecutionQueryImpl |
parentId(String parentId)
Only select executions which are a direct child-execution of the execution with the given id. |
ExecutionQueryImpl |
processDefinitionId(String processDefinitionId)
Only select executions which have the given process definition id. |
ExecutionQueryImpl |
processDefinitionKey(String processDefinitionKey)
Only select executions which have the given process definition key. |
ExecutionQuery |
processDefinitionName(String processDefinitionName)
Only select executions which have the given process definition name. |
ExecutionQuery |
processInstanceBusinessKey(String businessKey)
Only executions with the given business key. |
ExecutionQuery |
processInstanceBusinessKey(String processInstanceBusinessKey,
boolean includeChildExecutions)
Only executions with the given business key. |
ExecutionQueryImpl |
processInstanceId(String processInstanceId)
Only select executions which have the given process instance id. |
ExecutionQuery |
processVariableValueEquals(Object variableValue)
Only select executions which are part of a process that have at least one variable with the given value. |
ExecutionQuery |
processVariableValueEquals(String variableName,
Object variableValue)
Only select executions which are part of a process that have a variable with the given name set to the given value. |
ExecutionQuery |
processVariableValueEqualsIgnoreCase(String name,
String value)
Only select executions which are part of a process that have a local string variable with the given value, case insensitive. |
ExecutionQuery |
processVariableValueNotEquals(String variableName,
Object variableValue)
Only select executions which are part of a process that have a variable with the given name, but with a different value than the passed value. |
ExecutionQuery |
processVariableValueNotEqualsIgnoreCase(String name,
String value)
Only select executions which are part of a process that have a local string variable which is not the given value, case insensitive. |
void |
setEventSubscriptions(List<EventSubscriptionQueryValue> eventSubscriptions)
|
void |
setInvolvedUser(String involvedUser)
|
void |
setSuspensionState(SuspensionState suspensionState)
|
ExecutionQuery |
signalEventSubscription(String signalName)
|
ExecutionQuery |
signalEventSubscriptionName(String signalName)
Only select executions which have a signal event subscription for the given signal name. |
从类 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 processDefinitionId
protected String processDefinitionKey
protected String processDefinitionName
protected String activityId
protected String executionId
protected String parentId
protected String processInstanceId
protected List<EventSubscriptionQueryValue> eventSubscriptions
protected String superProcessInstanceId
protected String subProcessInstanceId
protected boolean excludeSubprocesses
protected SuspensionState suspensionState
protected String businessKey
protected boolean includeChildExecutionsWithBusinessKeyQuery
protected boolean isActive
protected String involvedUser
构造方法详细信息 |
---|
public ExecutionQueryImpl()
public ExecutionQueryImpl(CommandContext commandContext)
public ExecutionQueryImpl(CommandExecutor commandExecutor)
方法详细信息 |
---|
public boolean isProcessInstancesOnly()
public ExecutionQueryImpl processDefinitionId(String processDefinitionId)
ExecutionQuery
复制的描述
ExecutionQuery
中的 processDefinitionId
public ExecutionQueryImpl processDefinitionKey(String processDefinitionKey)
ExecutionQuery
复制的描述
ExecutionQuery
中的 processDefinitionKey
public ExecutionQuery processDefinitionName(String processDefinitionName)
ExecutionQuery
复制的描述
ExecutionQuery
中的 processDefinitionName
public ExecutionQueryImpl processInstanceId(String processInstanceId)
ExecutionQuery
复制的描述
ExecutionQuery
中的 processInstanceId
public ExecutionQuery processInstanceBusinessKey(String businessKey)
ExecutionQuery
复制的描述ExecutionQuery.processInstanceBusinessKey(String, boolean)
method
with a boolean value of true instead.
ExecutionQuery
中的 processInstanceBusinessKey
public ExecutionQuery processInstanceBusinessKey(String processInstanceBusinessKey, boolean includeChildExecutions)
ExecutionQuery
复制的描述ExecutionQuery.processInstanceBusinessKey(String)
, but allows to choose
whether child executions are returned or not.
ExecutionQuery
中的 processInstanceBusinessKey
public ExecutionQueryImpl executionId(String executionId)
ExecutionQuery
复制的描述
ExecutionQuery
中的 executionId
public ExecutionQueryImpl activityId(String activityId)
ExecutionQuery
复制的描述
ExecutionQuery
中的 activityId
public ExecutionQueryImpl parentId(String parentId)
ExecutionQuery
复制的描述
ExecutionQuery
中的 parentId
public ExecutionQuery signalEventSubscription(String signalName)
ExecutionQuery
中的 signalEventSubscription
ExecutionQuery.signalEventSubscriptionName(String)
public ExecutionQuery signalEventSubscriptionName(String signalName)
ExecutionQuery
复制的描述
ExecutionQuery
中的 signalEventSubscriptionName
signalName
- the name of the signal the execution has subscribed topublic ExecutionQuery messageEventSubscriptionName(String messageName)
ExecutionQuery
复制的描述
ExecutionQuery
中的 messageEventSubscriptionName
messageName
- the name of the message the execution has subscribed topublic ExecutionQuery eventSubscription(String eventType, String eventName)
public ExecutionQuery processVariableValueEquals(String variableName, Object variableValue)
ExecutionQuery
复制的描述Serializable
objects (which are not primitive type wrappers)
are not supported.
ExecutionQuery
中的 processVariableValueEquals
public ExecutionQuery processVariableValueEquals(Object variableValue)
ExecutionQuery
复制的描述Serializable
objects (which are not primitive type wrappers)
are not supported.
ExecutionQuery
中的 processVariableValueEquals
public ExecutionQuery processVariableValueNotEquals(String variableName, Object variableValue)
ExecutionQuery
复制的描述Serializable
objects (which are not primitive type wrappers)
are not supported.
ExecutionQuery
中的 processVariableValueNotEquals
public ExecutionQuery processVariableValueEqualsIgnoreCase(String name, String value)
ExecutionQuery
复制的描述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).
ExecutionQuery
中的 processVariableValueEqualsIgnoreCase
name
- name of the variable, cannot be null.value
- value of the variable, cannot be null.public ExecutionQuery processVariableValueNotEqualsIgnoreCase(String name, String value)
ExecutionQuery
复制的描述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).
ExecutionQuery
中的 processVariableValueNotEqualsIgnoreCase
name
- name of the variable, cannot be null.value
- value of the variable, cannot be null.public ExecutionQueryImpl orderByProcessInstanceId()
ExecutionQuery
复制的描述Query.asc()
or Query.desc()
).
ExecutionQuery
中的 orderByProcessInstanceId
public ExecutionQueryImpl orderByProcessDefinitionId()
ExecutionQuery
复制的描述Query.asc()
or Query.desc()
).
ExecutionQuery
中的 orderByProcessDefinitionId
public ExecutionQueryImpl orderByProcessDefinitionKey()
ExecutionQuery
复制的描述Query.asc()
or Query.desc()
).
ExecutionQuery
中的 orderByProcessDefinitionKey
public long executeCount(CommandContext commandContext)
AbstractVariableQueryImpl<ExecutionQuery,Execution>
中的 executeCount
public List<Execution> executeList(CommandContext commandContext, Page page)
AbstractQuery
复制的描述
AbstractVariableQueryImpl<ExecutionQuery,Execution>
中的 executeList
page
- used if the results must be paged. If null, no paging will be applied.public boolean getOnlyProcessInstances()
public String getProcessDefinitionKey()
public String getProcessDefinitionId()
public String getProcessDefinitionName()
public String getActivityId()
public String getProcessInstanceId()
public String getProcessInstanceIds()
public String getBusinessKey()
public String getExecutionId()
public String getSuperProcessInstanceId()
public String getSubProcessInstanceId()
public boolean isExcludeSubprocesses()
public SuspensionState getSuspensionState()
public void setSuspensionState(SuspensionState suspensionState)
public List<EventSubscriptionQueryValue> getEventSubscriptions()
public boolean isIncludeChildExecutionsWithBusinessKeyQuery()
public void setEventSubscriptions(List<EventSubscriptionQueryValue> eventSubscriptions)
public boolean isActive()
public String getInvolvedUser()
public void setInvolvedUser(String involvedUser)
public String getParentId()
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |