Package org.camunda.bpm.engine.rest.impl
Class ProcessDefinitionRestServiceImpl
java.lang.Object
org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
org.camunda.bpm.engine.rest.impl.ProcessDefinitionRestServiceImpl
- All Implemented Interfaces:
ProcessDefinitionRestService
public class ProcessDefinitionRestServiceImpl
extends AbstractRestProcessEngineAware
implements ProcessDefinitionRestService
-
Field Summary
Fields inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
objectMapper, relativeRootResourcePath
Fields inherited from interface org.camunda.bpm.engine.rest.ProcessDefinitionRestService
APPLICATION_BPMN20_XML, APPLICATION_BPMN20_XML_TYPE, PATH
-
Constructor Summary
ConstructorDescriptionProcessDefinitionRestServiceImpl
(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
deleteProcessDefinitions
(DeleteProcessDefinitionsBuilder builder, boolean cascade, boolean skipCustomListeners, boolean skipIoMappings) void
deleteProcessDefinitionsByKey
(String processDefinitionKey, boolean cascade, boolean skipCustomListeners, boolean skipIoMappings) void
deleteProcessDefinitionsByKeyAndTenantId
(String processDefinitionKey, boolean cascade, boolean skipCustomListeners, boolean skipIoMappings, String tenantId) getProcessDefinitionById
(String processDefinitionId) getProcessDefinitionByKey
(String processDefinitionKey) getProcessDefinitionByKeyAndTenantId
(String processDefinitionKey, String tenantId) getProcessDefinitions
(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults) Exposes theProcessDefinitionQuery
interface as a REST service.getProcessDefinitionsCount
(javax.ws.rs.core.UriInfo uriInfo) getStatistics
(Boolean includeFailedJobs, Boolean includeRootIncidents, Boolean includeIncidents, String includeIncidentsForType) void
Methods inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
-
Constructor Details
-
ProcessDefinitionRestServiceImpl
public ProcessDefinitionRestServiceImpl(String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
getProcessDefinitionByKey
- Specified by:
getProcessDefinitionByKey
in interfaceProcessDefinitionRestService
-
getProcessDefinitionByKeyAndTenantId
public ProcessDefinitionResource getProcessDefinitionByKeyAndTenantId(String processDefinitionKey, String tenantId) - Specified by:
getProcessDefinitionByKeyAndTenantId
in interfaceProcessDefinitionRestService
-
getProcessDefinitionById
- Specified by:
getProcessDefinitionById
in interfaceProcessDefinitionRestService
-
getProcessDefinitions
public List<ProcessDefinitionDto> getProcessDefinitions(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults) Description copied from interface:ProcessDefinitionRestService
Exposes theProcessDefinitionQuery
interface as a REST service.- Specified by:
getProcessDefinitions
in interfaceProcessDefinitionRestService
- Returns:
-
getProcessDefinitionsCount
- Specified by:
getProcessDefinitionsCount
in interfaceProcessDefinitionRestService
-
getStatistics
public List<StatisticsResultDto> getStatistics(Boolean includeFailedJobs, Boolean includeRootIncidents, Boolean includeIncidents, String includeIncidentsForType) - Specified by:
getStatistics
in interfaceProcessDefinitionRestService
-
updateSuspensionState
- Specified by:
updateSuspensionState
in interfaceProcessDefinitionRestService
-
deleteProcessDefinitionsByKey
public void deleteProcessDefinitionsByKey(String processDefinitionKey, boolean cascade, boolean skipCustomListeners, boolean skipIoMappings) - Specified by:
deleteProcessDefinitionsByKey
in interfaceProcessDefinitionRestService
-
deleteProcessDefinitionsByKeyAndTenantId
public void deleteProcessDefinitionsByKeyAndTenantId(String processDefinitionKey, boolean cascade, boolean skipCustomListeners, boolean skipIoMappings, String tenantId) - Specified by:
deleteProcessDefinitionsByKeyAndTenantId
in interfaceProcessDefinitionRestService
-
deleteProcessDefinitions
protected void deleteProcessDefinitions(DeleteProcessDefinitionsBuilder builder, boolean cascade, boolean skipCustomListeners, boolean skipIoMappings)
-