Package org.apache.syncope.core.logic
Class BpmnProcessLogic
- java.lang.Object
-
- org.apache.syncope.core.logic.AbstractLogic<T>
-
- org.apache.syncope.core.logic.AbstractTransactionalLogic<BpmnProcess>
-
- org.apache.syncope.core.logic.BpmnProcessLogic
-
public class BpmnProcessLogic extends AbstractTransactionalLogic<BpmnProcess>
-
-
Field Summary
Fields Modifier and Type Field Description protected BpmnProcessManager
bpmnProcessManager
-
Fields inherited from class org.apache.syncope.core.logic.AbstractLogic
LOG
-
-
Constructor Summary
Constructors Constructor Description BpmnProcessLogic(BpmnProcessManager bpmnProcessManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete(String key)
void
exportDefinition(String key, BpmnProcessFormat format, OutputStream os)
void
exportDiagram(String key, OutputStream os)
void
importDefinition(String key, BpmnProcessFormat format, String definition)
List<BpmnProcess>
list()
protected BpmnProcess
resolveReference(Method method, Object... args)
-
Methods inherited from class org.apache.syncope.core.logic.AbstractLogic
resolveBeanReference
-
-
-
-
Field Detail
-
bpmnProcessManager
protected final BpmnProcessManager bpmnProcessManager
-
-
Constructor Detail
-
BpmnProcessLogic
public BpmnProcessLogic(BpmnProcessManager bpmnProcessManager)
-
-
Method Detail
-
list
@PreAuthorize("isAuthenticated()") @Transactional(readOnly=true) public List<BpmnProcess> list()
-
exportDefinition
@PreAuthorize("hasRole(\'BPMN_PROCESS_GET\')") @Transactional(readOnly=true) public void exportDefinition(String key, BpmnProcessFormat format, OutputStream os)
-
exportDiagram
@PreAuthorize("hasRole(\'BPMN_PROCESS_GET\')") @Transactional(readOnly=true) public void exportDiagram(String key, OutputStream os)
-
importDefinition
@PreAuthorize("hasRole(\'BPMN_PROCESS_SET\')") public void importDefinition(String key, BpmnProcessFormat format, String definition)
-
delete
@PreAuthorize("hasRole(\'BPMN_PROCESS_DELETE\')") public void delete(String key)
-
resolveReference
protected BpmnProcess resolveReference(Method method, Object... args) throws UnresolvedReferenceException
- Specified by:
resolveReference
in classAbstractLogic<BpmnProcess>
- Throws:
UnresolvedReferenceException
-
-