Class FlowableBpmnProcessManager
java.lang.Object
org.apache.syncope.core.flowable.impl.FlowableBpmnProcessManager
- All Implemented Interfaces:
BpmnProcessManager
@Transactional(propagation=REQUIRES_NEW,
rollbackFor=java.lang.Throwable.class)
public class FlowableBpmnProcessManager
extends Object
implements BpmnProcessManager
-
Field Summary
Modifier and TypeFieldDescriptionprotected final DomainProcessEngine
protected static final Logger
protected static final JsonMapper
protected static final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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 Model
getModel
(ProcessDefinition procDef) void
importProcess
(String key, BpmnProcessFormat format, String definition) Import the process for the given key.
-
Field Details
-
LOG
-
MAPPER
-
MODEL_DATA_JSON_MODEL
- See Also:
-
engine
-
-
Constructor Details
-
FlowableBpmnProcessManager
-
-
Method Details
-
getModel
-
getProcesses
- Specified by:
getProcesses
in interfaceBpmnProcessManager
- Returns:
- all available workflow processes.
-
exportProcessModel
-
exportProcessResource
-
exportProcess
Description copied from interface:BpmnProcessManager
Export the process for the given key, in the requested format.- Specified by:
exportProcess
in interfaceBpmnProcessManager
- Parameters:
key
- process keyformat
- export formatos
- export stream
-
exportDiagram
Description copied from interface:BpmnProcessManager
Export the process graphical representation for the given key (if available).- Specified by:
exportDiagram
in interfaceBpmnProcessManager
- Parameters:
key
- process keyos
- export stream
-
importProcess
Description copied from interface:BpmnProcessManager
Import the process for the given key.- Specified by:
importProcess
in interfaceBpmnProcessManager
- Parameters:
key
- process keyformat
- import formatdefinition
- process
-
deleteProcess
Description copied from interface:BpmnProcessManager
Remove the process for the given key.- Specified by:
deleteProcess
in interfaceBpmnProcessManager
- Parameters:
key
- process key
-