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
Constructors Constructor Description ProcessDefinitionRestServiceImpl(java.lang.String engineName, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
deleteProcessDefinitions(DeleteProcessDefinitionsBuilder builder, boolean cascade, boolean skipCustomListeners, boolean skipIoMappings)
void
deleteProcessDefinitionsByKey(java.lang.String processDefinitionKey, boolean cascade, boolean skipCustomListeners, boolean skipIoMappings)
void
deleteProcessDefinitionsByKeyAndTenantId(java.lang.String processDefinitionKey, boolean cascade, boolean skipCustomListeners, boolean skipIoMappings, java.lang.String tenantId)
ProcessDefinitionResource
getProcessDefinitionById(java.lang.String processDefinitionId)
ProcessDefinitionResource
getProcessDefinitionByKey(java.lang.String processDefinitionKey)
ProcessDefinitionResource
getProcessDefinitionByKeyAndTenantId(java.lang.String processDefinitionKey, java.lang.String tenantId)
java.util.List<ProcessDefinitionDto>
getProcessDefinitions(javax.ws.rs.core.UriInfo uriInfo, java.lang.Integer firstResult, java.lang.Integer maxResults)
Exposes theProcessDefinitionQuery
interface as a REST service.CountResultDto
getProcessDefinitionsCount(javax.ws.rs.core.UriInfo uriInfo)
java.util.List<StatisticsResultDto>
getStatistics(java.lang.Boolean includeFailedJobs, java.lang.Boolean includeRootIncidents, java.lang.Boolean includeIncidents, java.lang.String includeIncidentsForType)
void
updateSuspensionState(ProcessDefinitionSuspensionStateDto dto)
-
Methods inherited from class org.camunda.bpm.engine.rest.impl.AbstractRestProcessEngineAware
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
-
-
-
-
Method Detail
-
getProcessDefinitionByKey
public ProcessDefinitionResource getProcessDefinitionByKey(java.lang.String processDefinitionKey)
- Specified by:
getProcessDefinitionByKey
in interfaceProcessDefinitionRestService
-
getProcessDefinitionByKeyAndTenantId
public ProcessDefinitionResource getProcessDefinitionByKeyAndTenantId(java.lang.String processDefinitionKey, java.lang.String tenantId)
- Specified by:
getProcessDefinitionByKeyAndTenantId
in interfaceProcessDefinitionRestService
-
getProcessDefinitionById
public ProcessDefinitionResource getProcessDefinitionById(java.lang.String processDefinitionId)
- Specified by:
getProcessDefinitionById
in interfaceProcessDefinitionRestService
-
getProcessDefinitions
public java.util.List<ProcessDefinitionDto> getProcessDefinitions(javax.ws.rs.core.UriInfo uriInfo, java.lang.Integer firstResult, java.lang.Integer maxResults)
Description copied from interface:ProcessDefinitionRestService
Exposes theProcessDefinitionQuery
interface as a REST service.- Specified by:
getProcessDefinitions
in interfaceProcessDefinitionRestService
- Returns:
-
getProcessDefinitionsCount
public CountResultDto getProcessDefinitionsCount(javax.ws.rs.core.UriInfo uriInfo)
- Specified by:
getProcessDefinitionsCount
in interfaceProcessDefinitionRestService
-
getStatistics
public java.util.List<StatisticsResultDto> getStatistics(java.lang.Boolean includeFailedJobs, java.lang.Boolean includeRootIncidents, java.lang.Boolean includeIncidents, java.lang.String includeIncidentsForType)
- Specified by:
getStatistics
in interfaceProcessDefinitionRestService
-
updateSuspensionState
public void updateSuspensionState(ProcessDefinitionSuspensionStateDto dto)
- Specified by:
updateSuspensionState
in interfaceProcessDefinitionRestService
-
deleteProcessDefinitionsByKey
public void deleteProcessDefinitionsByKey(java.lang.String processDefinitionKey, boolean cascade, boolean skipCustomListeners, boolean skipIoMappings)
- Specified by:
deleteProcessDefinitionsByKey
in interfaceProcessDefinitionRestService
-
deleteProcessDefinitionsByKeyAndTenantId
public void deleteProcessDefinitionsByKeyAndTenantId(java.lang.String processDefinitionKey, boolean cascade, boolean skipCustomListeners, boolean skipIoMappings, java.lang.String tenantId)
- Specified by:
deleteProcessDefinitionsByKeyAndTenantId
in interfaceProcessDefinitionRestService
-
deleteProcessDefinitions
protected void deleteProcessDefinitions(DeleteProcessDefinitionsBuilder builder, boolean cascade, boolean skipCustomListeners, boolean skipIoMappings)
-
-