Class ProcessServiceImpl
java.lang.Object
ru.cg.webbpm.modules.bpmn.workflow.jbpm.service.ProcessServiceImpl
- All Implemented Interfaces:
ProcessService
- Author:
- korablev
-
Constructor Summary
ConstructorsConstructorDescriptionProcessServiceImpl
(org.jbpm.services.api.RuntimeDataService runtimeDataService, org.jbpm.services.api.model.DeploymentUnit deploymentUnit, org.jbpm.services.api.DefinitionService definitionService, org.kie.api.runtime.CommandExecutor commandService, JbpmEngineProvider jbpmEngineProvider, BpmnSecurityContext bpmnSecurityContext, ProcessManager processManager, org.kie.api.task.TaskService taskService, org.jbpm.services.api.ProcessService jbpmProcessService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
abortProcessInstance
(Long processInstanceId) void
executeProcess
(String processDefinitionId, List<BpmnVariableForSave> processVariables) UseProcessService.getProcessesCurrentUserCanStart()
instead.getProcessDefinitionById
(String processId) getProcessesWithinSameRootInstance
(long processInstanceId) org.jbpm.services.api.model.ProcessInstanceDesc
getProcessInstanceById
(Long processId) Collection<org.jbpm.services.api.model.ProcessInstanceDesc>
getProcessInstanceEntries
(BpmnQueryContext bpmnQueryContext, List<Integer> states) getProcessInstanceHistory
(Long processInstanceId, ProcessInstanceEntryType type, BpmnQueryContext queryContext) getProcessInstanceVariables
(Long processInstanceId) getProcessVariablesDefinition
(Long taskInstanceId) getRootProcessStartDate
(Long processInstanceId) getVariablesHistory
(Long processInstanceId, BpmnQueryContext queryContext) void
signalEvent
(String signalRef, Object data) startProcess
(String processDefinitionId) startProcess
(String processDefinitionId, List<BpmnVariableForSave> processVariables) startProcessSignalEvent
(String signalRef, Map<String, Object> params)
-
Constructor Details
-
ProcessServiceImpl
public ProcessServiceImpl(org.jbpm.services.api.RuntimeDataService runtimeDataService, org.jbpm.services.api.model.DeploymentUnit deploymentUnit, org.jbpm.services.api.DefinitionService definitionService, org.kie.api.runtime.CommandExecutor commandService, JbpmEngineProvider jbpmEngineProvider, BpmnSecurityContext bpmnSecurityContext, ProcessManager processManager, org.kie.api.task.TaskService taskService, org.jbpm.services.api.ProcessService jbpmProcessService)
-
-
Method Details
-
getProcessDefEntries
Description copied from interface:ProcessService
UseProcessService.getProcessesCurrentUserCanStart()
instead.- Specified by:
getProcessDefEntries
in interfaceProcessService
- Returns:
- list
-
getProcessesCurrentUserCanStart
- Specified by:
getProcessesCurrentUserCanStart
in interfaceProcessService
-
getProcessInstanceEntries
public Collection<org.jbpm.services.api.model.ProcessInstanceDesc> getProcessInstanceEntries(BpmnQueryContext bpmnQueryContext, List<Integer> states) - Specified by:
getProcessInstanceEntries
in interfaceProcessService
-
getProcessInstanceVariables
- Specified by:
getProcessInstanceVariables
in interfaceProcessService
-
getProcessInstanceHistory
public Collection<NodeInstanceSummary> getProcessInstanceHistory(Long processInstanceId, ProcessInstanceEntryType type, BpmnQueryContext queryContext) - Specified by:
getProcessInstanceHistory
in interfaceProcessService
-
getVariablesHistory
public Collection<VariableInstanceSummary> getVariablesHistory(Long processInstanceId, BpmnQueryContext queryContext) - Specified by:
getVariablesHistory
in interfaceProcessService
-
getProcessInstanceById
- Specified by:
getProcessInstanceById
in interfaceProcessService
-
startProcess
- Specified by:
startProcess
in interfaceProcessService
-
startProcess
- Specified by:
startProcess
in interfaceProcessService
-
executeProcess
public Map<String,Object> executeProcess(String processDefinitionId, List<BpmnVariableForSave> processVariables) - Specified by:
executeProcess
in interfaceProcessService
-
getProcessesWithinSameRootInstance
- Specified by:
getProcessesWithinSameRootInstance
in interfaceProcessService
-
abortProcessInstance
- Specified by:
abortProcessInstance
in interfaceProcessService
-
buildProcessDefinitionsMapping
public void buildProcessDefinitionsMapping()- Specified by:
buildProcessDefinitionsMapping
in interfaceProcessService
-
getProcessDefinitionById
- Specified by:
getProcessDefinitionById
in interfaceProcessService
-
getProcessVariablesDefinition
- Specified by:
getProcessVariablesDefinition
in interfaceProcessService
-
signalEvent
- Specified by:
signalEvent
in interfaceProcessService
-
startProcessSignalEvent
@Transactional public List<Long> startProcessSignalEvent(String signalRef, Map<String, Object> params) - Specified by:
startProcessSignalEvent
in interfaceProcessService
-
getRootProcessStartDate
- Specified by:
getRootProcessStartDate
in interfaceProcessService
-