@Service(value="bpm_ProcessRuntimeService") public class ProcessRuntimeServiceBean extends java.lang.Object implements ProcessRuntimeService
NAME
Constructor and Description |
---|
ProcessRuntimeServiceBean() |
Modifier and Type | Method and Description |
---|---|
ProcInstance |
cancelProcess(ProcInstance procInstance,
java.lang.String comment) |
void |
claimProcTask(ProcTask procTask,
com.haulmont.cuba.security.entity.User user) |
void |
completeProcTask(ProcTask procTask,
java.lang.String outcome,
java.lang.String comment,
java.util.Map<java.lang.String,java.lang.Object> processVariables) |
java.lang.Object |
evaluateExpression(java.lang.String expression,
java.lang.String actExecutionId) |
long |
getActiveProcessesCount(ProcDefinition procDefinition) |
ProcInstance |
startProcess(ProcInstance procInstance,
java.lang.String comment,
java.util.Map<java.lang.String,java.lang.Object> params) |
public ProcInstance startProcess(ProcInstance procInstance, java.lang.String comment, java.util.Map<java.lang.String,java.lang.Object> params)
startProcess
in interface ProcessRuntimeService
public ProcInstance cancelProcess(ProcInstance procInstance, java.lang.String comment)
cancelProcess
in interface ProcessRuntimeService
public void completeProcTask(ProcTask procTask, java.lang.String outcome, java.lang.String comment, java.util.Map<java.lang.String,java.lang.Object> processVariables)
completeProcTask
in interface ProcessRuntimeService
public long getActiveProcessesCount(ProcDefinition procDefinition)
getActiveProcessesCount
in interface ProcessRuntimeService
public void claimProcTask(ProcTask procTask, com.haulmont.cuba.security.entity.User user)
claimProcTask
in interface ProcessRuntimeService
public java.lang.Object evaluateExpression(java.lang.String expression, java.lang.String actExecutionId)
evaluateExpression
in interface ProcessRuntimeService