|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.orchestra.pvm.internal.svc.CommandExecutionService
public class CommandExecutionService
| Field Summary | |
|---|---|
protected CommandService |
commandService
|
| Constructor Summary | |
|---|---|
CommandExecutionService()
|
|
| Method Summary | |
|---|---|
Execution |
findExecution(String executionId)
the execution that is uniquely defined by the process definition and the business key. |
Execution |
findExecution(String processDefinitionName,
String key)
the execution that is uniquely defined by the process definition and the business key. |
Object |
getVariable(String executionId,
String variableName)
retrieves a variable |
Map<String,Object> |
getVariables(String executionId,
List<String> variableNames)
retrieves a map of variables |
Execution |
setVariable(String executionId,
String name,
Object value)
creates or overwrites a variable value on the referenced execution |
Execution |
setVariables(String executionId,
Map<String,Object> variables)
creates or overwrites the variable values on the referenced execution |
Execution |
signalExecution(long executionDbid)
|
Execution |
signalExecution(long executionDbid,
Map<String,Object> parameters)
|
Execution |
signalExecution(long executionDbid,
String signalName)
|
Execution |
signalExecution(long executionDbid,
String signalName,
Map<String,Object> parameters)
|
Execution |
signalExecution(String executionId)
provides an external trigger to an execution. |
Execution |
signalExecution(String executionId,
Map<String,Object> parameters)
provides a external trigger to an execution with parameters. |
Execution |
signalExecution(String executionId,
String signalName)
provides a named external trigger to an execution. |
Execution |
signalExecution(String executionId,
String signalName,
Map<String,Object> parameters)
provides a named external trigger to an execution with parameters. |
Execution |
signalExecutionByKey(String processDefinitionName,
String executionKey)
provides a named external trigger to an execution. |
Execution |
signalExecutionByKey(String processDefinitionName,
String executionKey,
Map<String,Object> parameters)
provides a named external trigger to an execution with parameters. |
Execution |
signalExecutionByKey(String processDefinitionName,
String executionKey,
String signalName)
provides a named external trigger to an execution. |
Execution |
signalExecutionByKey(String processDefinitionName,
String executionKey,
String signalName,
Map<String,Object> parameters)
provides a named external trigger to an execution with parameters. |
Execution |
startExecution(String processDefinitionId)
starts a new execution for the ProcessDefinition with the given processDefinitionDbid. |
Execution |
startExecution(String processDefinitionId,
Map<String,Object> variables)
starts a new execution for the ProcessDefinition with the given processDefinitionDbid. |
Execution |
startExecution(String processDefinitionId,
Map<String,Object> variables,
String executionKey)
starts a new execution for the ProcessDefinition with the given processDefinitionDbid. |
Execution |
startExecution(String processDefinitionId,
String executionKey)
starts a new execution for the ProcessDefinition with the given processDefinitionDbid. |
Execution |
startExecutionInLatest(String processDefinitionName)
starts a new execution in the latest version of the given process definition. |
Execution |
startExecutionInLatest(String processDefinitionName,
Map<String,Object> variables)
starts a new execution in the latest version of the given processDefinitionName. |
Execution |
startExecutionInLatest(String processDefinitionName,
Map<String,Object> variables,
String executionKey)
starts a new execution in the latest version of the given processDefinitionName. |
Execution |
startExecutionInLatest(String processDefinitionName,
String executionKey)
starts a new execution in the latest version of the given processDefinitionName. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected CommandService commandService
| Constructor Detail |
|---|
public CommandExecutionService()
| Method Detail |
|---|
public Execution startExecution(String processDefinitionId)
ExecutionService
startExecution in interface ExecutionServiceprocessDefinitionId - the unique id of the process
definition.
public Execution startExecution(String processDefinitionId,
String executionKey)
ExecutionService
startExecution in interface ExecutionServiceprocessDefinitionId - the unique id of the process
definition.executionKey - is a user provided reference for the new execution that must be
unique over all process versions with the same name.
public Execution startExecution(String processDefinitionId,
Map<String,Object> variables)
ExecutionService
startExecution in interface ExecutionServiceprocessDefinitionId - the unique id of the process
definition.variables - are the initial values of the process variables that will be set
before the execution starts.
public Execution startExecution(String processDefinitionId,
Map<String,Object> variables,
String executionKey)
ExecutionService
startExecution in interface ExecutionServiceprocessDefinitionId - the unique id of the process
definition.variables - are the initial values of the process variables that will be set
before the execution starts.executionKey - is a user provided reference for the new execution that must be
unique over all process versions with the same name.public Execution startExecutionInLatest(String processDefinitionName)
ExecutionService
startExecutionInLatest in interface ExecutionServiceprocessDefinitionName - is the name of the process definition for which the latest version
will be taken.
public Execution startExecutionInLatest(String processDefinitionName,
Map<String,Object> variables)
ExecutionService
startExecutionInLatest in interface ExecutionServiceprocessDefinitionName - is the name of the process definition for which the latest version
will be taken.variables - are the initial values of the process variables that will be set
before the execution starts (read: before the initial node is
executed).
public Execution startExecutionInLatest(String processDefinitionName,
String executionKey)
ExecutionService
startExecutionInLatest in interface ExecutionServiceprocessDefinitionName - is the name of the process definition for which the latest version
will be taken.executionKey - is a user provided reference for the new execution that must be
unique over all process versions with the same name.
public Execution startExecutionInLatest(String processDefinitionName,
Map<String,Object> variables,
String executionKey)
ExecutionService
startExecutionInLatest in interface ExecutionServiceprocessDefinitionName - is the name of the process definition for which the latest version
will be taken.variables - are the initial values of the process variables that will be set
before the execution starts.executionKey - is a user provided reference for the new execution that must be
unique over all process versions with the same name.public Execution signalExecution(String executionId)
ExecutionService
signalExecution in interface ExecutionService
public Execution signalExecution(String executionId,
String signalName)
ExecutionService
signalExecution in interface ExecutionService
public Execution signalExecution(String executionId,
String signalName,
Map<String,Object> parameters)
ExecutionService
signalExecution in interface ExecutionService
public Execution signalExecution(String executionId,
Map<String,Object> parameters)
ExecutionService
signalExecution in interface ExecutionServicepublic Execution signalExecution(long executionDbid)
public Execution signalExecution(long executionDbid,
String signalName)
public Execution signalExecution(long executionDbid,
String signalName,
Map<String,Object> parameters)
public Execution signalExecution(long executionDbid,
Map<String,Object> parameters)
public Execution signalExecutionByKey(String processDefinitionName,
String executionKey)
ExecutionService
signalExecutionByKey in interface ExecutionService
public Execution signalExecutionByKey(String processDefinitionName,
String executionKey,
String signalName)
ExecutionService
signalExecutionByKey in interface ExecutionService
public Execution signalExecutionByKey(String processDefinitionName,
String executionKey,
String signalName,
Map<String,Object> parameters)
ExecutionService
signalExecutionByKey in interface ExecutionService
public Execution signalExecutionByKey(String processDefinitionName,
String executionKey,
Map<String,Object> parameters)
ExecutionService
signalExecutionByKey in interface ExecutionService
public Execution findExecution(String processDefinitionName,
String key)
ExecutionService
findExecution in interface ExecutionServicepublic Execution findExecution(String executionId)
ExecutionService
findExecution in interface ExecutionService
public Object getVariable(String executionId,
String variableName)
ExecutionService
getVariable in interface ExecutionService
public Map<String,Object> getVariables(String executionId,
List<String> variableNames)
ExecutionService
getVariables in interface ExecutionService
public Execution setVariable(String executionId,
String name,
Object value)
ExecutionService
setVariable in interface ExecutionService
public Execution setVariables(String executionId,
Map<String,Object> variables)
ExecutionService
setVariables in interface ExecutionService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||