|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jbpm.client.impl.PvmServiceImpl
public class PvmServiceImpl
Constructor Summary | |
---|---|
PvmServiceImpl()
|
Method Summary | |
---|---|
ProcessDefinition |
deploy(Deployment deployment)
deploy a new process definition into the process repository. |
Execution |
findExecution(long executionDbid)
the execution with the given database primary key |
Execution |
findExecution(java.lang.String processDefinitionName,
java.lang.String key)
the execution that is uniquely defined by the process definition and the business key. |
ProcessDefinition |
findLatestProcessDefinition(java.lang.String processDefinitionName)
latest version of the processDefinition with the given name. |
ProcessDefinition |
findProcessDefinition(long processDefinitionDbid)
specific processDefinition by database primary key. |
ProcessDefinition |
findProcessDefinition(java.lang.String processDefinitionName,
int version)
specific version of a named processDefinition. |
java.util.List<java.lang.String> |
findProcessDefinitionNames()
all deployed process names. |
java.util.List<ProcessDefinition> |
findProcessDefinitions(java.lang.String processDefinitionName)
all versions of the given process. |
CommandService |
getCommandService()
|
java.util.List<Job<?>> |
getJobs()
fetches all jobs ordered in ascending dueDate. |
java.lang.Object |
getVariable(long executionDbid,
java.lang.String variableName)
retrieves a variable |
java.util.Map<java.lang.String,java.lang.Object> |
getVariables(long executionDbid,
java.util.List<java.lang.String> variableNames)
retrieves a map of variables |
void |
setCommandService(CommandService commandService)
|
Execution |
setVariable(long executionDbid,
java.lang.String name,
java.lang.Object value)
creates or overwrites a variable value on the referenced execution |
Execution |
setVariables(long executionDbid,
java.util.Map<java.lang.String,java.lang.Object> variables)
creates or overwrites the variable values on the referenced execution |
Execution |
signal(long executionDbid)
provides an external trigger to an execution. |
Execution |
signal(long executionDbid,
java.lang.String signalName)
provides a named external trigger to an execution. |
Execution |
signal(long executionDbid,
java.lang.String signalName,
java.util.Map<java.lang.String,java.lang.Object> parameters)
provides a named external trigger to an execution with parameters. |
Execution |
startExecution(long processDefinitionDbid)
starts a new execution in the exact version indicated by processDefinitionDbid. |
Execution |
startExecution(long processDefinitionDbid,
java.util.Map<java.lang.String,java.lang.Object> executionVariables)
starts a new execution in the exact version indicated by processDefinitionDbid. |
Execution |
startExecution(long processDefinitionDbid,
java.util.Map<java.lang.String,java.lang.Object> executionVariables,
java.lang.String executionKey)
starts a new execution in the exact version indicated by processDefinitionDbid. |
Execution |
startExecution(java.lang.String processDefinitionName)
starts a new execution in the latest version of the given process definition. |
Execution |
startExecution(java.lang.String processDefinitionName,
java.util.Map<java.lang.String,java.lang.Object> executionVariables)
starts a new execution in the latest version of the given process definition. |
Execution |
startExecution(java.lang.String processDefinitionName,
java.util.Map<java.lang.String,java.lang.Object> executionVariables,
java.lang.String executionKey)
starts a new execution in the latest version of the given process definition. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PvmServiceImpl()
Method Detail |
---|
public ProcessDefinition deploy(Deployment deployment)
PvmService
deploy
in interface PvmService
public ProcessDefinition findLatestProcessDefinition(java.lang.String processDefinitionName)
PvmService
findLatestProcessDefinition
in interface PvmService
public ProcessDefinition findProcessDefinition(java.lang.String processDefinitionName, int version)
PvmService
findProcessDefinition
in interface PvmService
public java.util.List<java.lang.String> findProcessDefinitionNames()
PvmService
findProcessDefinitionNames
in interface PvmService
public java.util.List<ProcessDefinition> findProcessDefinitions(java.lang.String processDefinitionName)
PvmService
findProcessDefinitions
in interface PvmService
public ProcessDefinition findProcessDefinition(long processDefinitionDbid)
PvmService
findProcessDefinition
in interface PvmService
public Execution startExecution(java.lang.String processDefinitionName)
PvmService
startExecution
in interface PvmService
public Execution startExecution(long processDefinitionDbid)
PvmService
startExecution
in interface PvmService
public Execution startExecution(java.lang.String processDefinitionName, java.util.Map<java.lang.String,java.lang.Object> executionVariables)
PvmService
startExecution
in interface PvmService
public Execution startExecution(long processDefinitionDbid, java.util.Map<java.lang.String,java.lang.Object> executionVariables)
PvmService
startExecution
in interface PvmService
public Execution startExecution(java.lang.String processDefinitionName, java.util.Map<java.lang.String,java.lang.Object> executionVariables, java.lang.String executionKey)
PvmService
startExecution
in interface PvmService
public Execution startExecution(long processDefinitionDbid, java.util.Map<java.lang.String,java.lang.Object> executionVariables, java.lang.String executionKey)
PvmService
startExecution
in interface PvmService
public Execution signal(long executionDbid)
PvmService
signal
in interface PvmService
public Execution signal(long executionDbid, java.lang.String signalName)
PvmService
signal
in interface PvmService
public Execution signal(long executionDbid, java.lang.String signalName, java.util.Map<java.lang.String,java.lang.Object> parameters)
PvmService
signal
in interface PvmService
public Execution findExecution(long executionDbid)
PvmService
findExecution
in interface PvmService
public Execution findExecution(java.lang.String processDefinitionName, java.lang.String key)
PvmService
findExecution
in interface PvmService
public java.lang.Object getVariable(long executionDbid, java.lang.String variableName)
PvmService
getVariable
in interface PvmService
public java.util.Map<java.lang.String,java.lang.Object> getVariables(long executionDbid, java.util.List<java.lang.String> variableNames)
PvmService
getVariables
in interface PvmService
public Execution setVariable(long executionDbid, java.lang.String name, java.lang.Object value)
PvmService
setVariable
in interface PvmService
public Execution setVariables(long executionDbid, java.util.Map<java.lang.String,java.lang.Object> variables)
PvmService
setVariables
in interface PvmService
public java.util.List<Job<?>> getJobs()
PvmService
getJobs
in interface PvmService
public CommandService getCommandService()
public void setCommandService(CommandService commandService)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |