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 SummaryFields Modifier and Type Field Description protected DomainProcessEngineengineprotected static LoggerLOGprotected static JsonMapperMAPPERprotected static StringMODEL_DATA_JSON_MODEL
 - 
Constructor SummaryConstructors Constructor Description FlowableBpmnProcessManager(DomainProcessEngine engine)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteProcess(String key)Remove the process for the given key.voidexportDiagram(String key, OutputStream os)Export the process graphical representation for the given key (if available).voidexportProcess(String key, BpmnProcessFormat format, OutputStream os)Export the process for the given key, in the requested format.protected voidexportProcessModel(String key, OutputStream os)protected voidexportProcessResource(String deploymentId, String resourceName, OutputStream os)protected org.flowable.engine.repository.ModelgetModel(org.flowable.engine.repository.ProcessDefinition procDef)List<BpmnProcess>getProcesses()voidimportProcess(String key, BpmnProcessFormat format, String definition)Import the process for the given key.
 
- 
- 
- 
Field Detail- 
LOGprotected static final Logger LOG 
 - 
MAPPERprotected static final JsonMapper MAPPER 
 - 
MODEL_DATA_JSON_MODELprotected static final String MODEL_DATA_JSON_MODEL - See Also:
- Constant Field Values
 
 - 
engineprotected final DomainProcessEngine engine 
 
- 
 - 
Constructor Detail- 
FlowableBpmnProcessManagerpublic FlowableBpmnProcessManager(DomainProcessEngine engine) 
 
- 
 - 
Method Detail- 
getModelprotected org.flowable.engine.repository.Model getModel(org.flowable.engine.repository.ProcessDefinition procDef) 
 - 
getProcessespublic List<BpmnProcess> getProcesses() - Specified by:
- getProcessesin interface- BpmnProcessManager
- Returns:
- all available workflow processes.
 
 - 
exportProcessModelprotected void exportProcessModel(String key, OutputStream os) 
 - 
exportProcessResourceprotected void exportProcessResource(String deploymentId, String resourceName, OutputStream os) 
 - 
exportProcesspublic void exportProcess(String key, BpmnProcessFormat format, OutputStream os) Description copied from interface:BpmnProcessManagerExport the process for the given key, in the requested format.- Specified by:
- exportProcessin interface- BpmnProcessManager
- Parameters:
- key- process key
- format- export format
- os- export stream
 
 - 
exportDiagrampublic void exportDiagram(String key, OutputStream os) Description copied from interface:BpmnProcessManagerExport the process graphical representation for the given key (if available).- Specified by:
- exportDiagramin interface- BpmnProcessManager
- Parameters:
- key- process key
- os- export stream
 
 - 
importProcesspublic void importProcess(String key, BpmnProcessFormat format, String definition) Description copied from interface:BpmnProcessManagerImport the process for the given key.- Specified by:
- importProcessin interface- BpmnProcessManager
- Parameters:
- key- process key
- format- import format
- definition- process
 
 - 
deleteProcesspublic void deleteProcess(String key) Description copied from interface:BpmnProcessManagerRemove the process for the given key.- Specified by:
- deleteProcessin interface- BpmnProcessManager
- Parameters:
- key- process key
 
 
- 
 
-