@Transactional(propagation=REQUIRES_NEW, rollbackFor=java.lang.Throwable.class) public class FlowableBpmnProcessManager extends Object implements BpmnProcessManager
Modifier and Type | Field and Description |
---|---|
protected DomainProcessEngine |
engine |
protected static org.slf4j.Logger |
LOG |
protected static String |
MODEL_DATA_JSON_MODEL |
protected static ObjectMapper |
OBJECT_MAPPER |
Constructor and Description |
---|
FlowableBpmnProcessManager() |
Modifier and Type | Method and Description |
---|---|
void |
deleteProcess(String key)
Remove the process for the given key.
|
void |
exportDiagram(String key,
OutputStream os)
Export the process graphical representation for the given key (if available).
|
void |
exportProcess(String key,
BpmnProcessFormat format,
OutputStream os)
Export the process for the given key, in the requested format.
|
protected void |
exportProcessModel(String key,
OutputStream os) |
protected void |
exportProcessResource(String deploymentId,
String resourceName,
OutputStream os) |
protected org.flowable.engine.repository.Model |
getModel(org.flowable.engine.repository.ProcessDefinition procDef) |
List<BpmnProcess> |
getProcesses() |
void |
importProcess(String key,
BpmnProcessFormat format,
String definition)
Import the process for the given key.
|
protected static final org.slf4j.Logger LOG
protected static final ObjectMapper OBJECT_MAPPER
protected static final String MODEL_DATA_JSON_MODEL
@Autowired protected DomainProcessEngine engine
protected org.flowable.engine.repository.Model getModel(org.flowable.engine.repository.ProcessDefinition procDef)
public List<BpmnProcess> getProcesses()
getProcesses
in interface BpmnProcessManager
protected void exportProcessModel(String key, OutputStream os)
protected void exportProcessResource(String deploymentId, String resourceName, OutputStream os)
public void exportProcess(String key, BpmnProcessFormat format, OutputStream os)
BpmnProcessManager
exportProcess
in interface BpmnProcessManager
key
- process keyformat
- export formatos
- export streampublic void exportDiagram(String key, OutputStream os)
BpmnProcessManager
exportDiagram
in interface BpmnProcessManager
key
- process keyos
- export streampublic void importProcess(String key, BpmnProcessFormat format, String definition)
BpmnProcessManager
importProcess
in interface BpmnProcessManager
key
- process keyformat
- import formatdefinition
- processpublic void deleteProcess(String key)
BpmnProcessManager
deleteProcess
in interface BpmnProcessManager
key
- process keyCopyright © 2010–2023 The Apache Software Foundation. All rights reserved.