@Component public class BpmnProcessLogic extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
BpmnProcessLogic() |
Modifier and Type | Method and 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() |
T |
resolveBeanReference(Method method,
Object... args)
Resolves stored bean (if existing) referred by the given CUD method.
|
protected BpmnProcess |
resolveReference(Method method,
Object... args) |
@PreAuthorize(value="isAuthenticated()") @Transactional(readOnly=true) public List<BpmnProcess> list()
@PreAuthorize(value="hasRole(\'BPMN_PROCESS_GET\')") @Transactional(readOnly=true) public void exportDefinition(String key, BpmnProcessFormat format, OutputStream os)
@PreAuthorize(value="hasRole(\'BPMN_PROCESS_GET\')") @Transactional(readOnly=true) public void exportDiagram(String key, OutputStream os)
@PreAuthorize(value="hasRole(\'BPMN_PROCESS_SET\')") public void importDefinition(String key, BpmnProcessFormat format, String definition)
@PreAuthorize(value="hasRole(\'BPMN_PROCESS_DELETE\')") public void delete(String key)
protected BpmnProcess resolveReference(Method method, Object... args) throws UnresolvedReferenceException
UnresolvedReferenceException
public T resolveBeanReference(Method method, Object... args) throws UnresolvedReferenceException
method
- method.args
- method arguments.UnresolvedReferenceException
- in case of failures, read-only methods and unresolved bean.Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.