Class BpmnProcessServiceImpl
- java.lang.Object
-
- org.apache.syncope.core.rest.cxf.service.AbstractService
-
- org.apache.syncope.core.rest.cxf.service.BpmnProcessServiceImpl
-
- All Implemented Interfaces:
BpmnProcessService,JAXRSService
@Service public class BpmnProcessServiceImpl extends AbstractService implements BpmnProcessService
-
-
Field Summary
Fields Modifier and Type Field Description protected BpmnProcessLogiclogic-
Fields inherited from class org.apache.syncope.core.rest.cxf.service.AbstractService
LOG, messageContext, OPTIONS_ALLOW, searchContext, uriInfo
-
Fields inherited from interface org.apache.syncope.common.rest.api.service.JAXRSService
CRLF, DOUBLE_DASH, PARAM_ANYTYPE_KIND, PARAM_ANYTYPEKEY, PARAM_CONNID_PAGED_RESULTS_COOKIE, PARAM_DETAILS, PARAM_ENTITY_KEY, PARAM_FIQL, PARAM_KEYWORD, PARAM_MAX, PARAM_NOTIFICATION, PARAM_ORDERBY, PARAM_PAGE, PARAM_REALM, PARAM_RECURSIVE, PARAM_RESOURCE, PARAM_SIZE, PARAM_USER
-
-
Constructor Summary
Constructors Constructor Description BpmnProcessServiceImpl(BpmnProcessLogic logic)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(String key)Removes the BPMN process under the provided key.javax.ws.rs.core.ResponseexportDiagram(String key)Exports the BPMN diagram representation (if available), for matching key.javax.ws.rs.core.Responseget(String key)Exports the BPMN process for matching key.List<BpmnProcess>list()Lists the available BPMN processes.voidset(String key, String definition)Imports the BPMN process under the provided key.-
Methods inherited from class org.apache.syncope.core.rest.cxf.service.AbstractService
applyPreference, buildPagedResult, checkETag, createResponse, findActualKey, getOrderByClauses, getPreference, isNullPriorityAsync, modificationResponse
-
-
-
-
Field Detail
-
logic
protected final BpmnProcessLogic logic
-
-
Constructor Detail
-
BpmnProcessServiceImpl
public BpmnProcessServiceImpl(BpmnProcessLogic logic)
-
-
Method Detail
-
list
public List<BpmnProcess> list()
Description copied from interface:BpmnProcessServiceLists the available BPMN processes.- Specified by:
listin interfaceBpmnProcessService- Returns:
- available BPMN processs
-
get
public javax.ws.rs.core.Response get(String key)
Description copied from interface:BpmnProcessServiceExports the BPMN process for matching key.- Specified by:
getin interfaceBpmnProcessService- Parameters:
key- BPMN process key- Returns:
- BPMN process for matching key
-
exportDiagram
public javax.ws.rs.core.Response exportDiagram(String key)
Description copied from interface:BpmnProcessServiceExports the BPMN diagram representation (if available), for matching key.- Specified by:
exportDiagramin interfaceBpmnProcessService- Parameters:
key- BPMN process key- Returns:
- BPMN diagram representation
-
set
public void set(String key, String definition)
Description copied from interface:BpmnProcessServiceImports the BPMN process under the provided key.- Specified by:
setin interfaceBpmnProcessService- Parameters:
key- BPMN process keydefinition- BPMN process for matching kind
-
delete
public void delete(String key)
Description copied from interface:BpmnProcessServiceRemoves the BPMN process under the provided key.- Specified by:
deletein interfaceBpmnProcessService- Parameters:
key- BPMN process key
-
-