Package org.camunda.bpm.engine.rest
Interface ProcessDefinitionRestService
-
- All Known Implementing Classes:
ProcessDefinitionRestServiceImpl
@Produces("application/json") public interface ProcessDefinitionRestService
-
-
Field Summary
Fields Modifier and Type Field Description static StringAPPLICATION_BPMN20_XMLstatic javax.ws.rs.core.MediaTypeAPPLICATION_BPMN20_XML_TYPEstatic StringPATH
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddeleteProcessDefinitionsByKey(String processDefinitionKey, boolean cascade, boolean skipCustomListeners, boolean skipIoMappings)voiddeleteProcessDefinitionsByKeyAndTenantId(String processDefinitionKey, boolean cascade, boolean skipCustomListeners, boolean skipIoMappings, String tenantId)ProcessDefinitionResourcegetProcessDefinitionById(String processDefinitionId)ProcessDefinitionResourcegetProcessDefinitionByKey(String processDefinitionKey)ProcessDefinitionResourcegetProcessDefinitionByKeyAndTenantId(String processDefinitionKey, String tenantId)List<ProcessDefinitionDto>getProcessDefinitions(javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults)Exposes theProcessDefinitionQueryinterface as a REST service.CountResultDtogetProcessDefinitionsCount(javax.ws.rs.core.UriInfo uriInfo)List<StatisticsResultDto>getStatistics(Boolean includeFailedJobs, Boolean includeRootIncidents, Boolean includeIncidents, String includeIncidentsForType)voidupdateSuspensionState(ProcessDefinitionSuspensionStateDto dto)
-
-
-
Field Detail
-
APPLICATION_BPMN20_XML
static final String APPLICATION_BPMN20_XML
- See Also:
- Constant Field Values
-
APPLICATION_BPMN20_XML_TYPE
static final javax.ws.rs.core.MediaType APPLICATION_BPMN20_XML_TYPE
-
PATH
static final String PATH
- See Also:
- Constant Field Values
-
-
Method Detail
-
getProcessDefinitionById
@Path("/{id}") ProcessDefinitionResource getProcessDefinitionById(@PathParam("id") String processDefinitionId)
-
getProcessDefinitionByKey
@Path("/key/{key}") ProcessDefinitionResource getProcessDefinitionByKey(@PathParam("key") String processDefinitionKey)
-
getProcessDefinitionByKeyAndTenantId
@Path("/key/{key}/tenant-id/{tenantId}") ProcessDefinitionResource getProcessDefinitionByKeyAndTenantId(@PathParam("key") String processDefinitionKey, @PathParam("tenantId") String tenantId)
-
getProcessDefinitions
@GET @Produces("application/json") List<ProcessDefinitionDto> getProcessDefinitions(@Context javax.ws.rs.core.UriInfo uriInfo, @QueryParam("firstResult") Integer firstResult, @QueryParam("maxResults") Integer maxResults)Exposes theProcessDefinitionQueryinterface as a REST service.- Parameters:
uriInfo-firstResult-maxResults-- Returns:
-
getProcessDefinitionsCount
@GET @Path("/count") @Produces("application/json") CountResultDto getProcessDefinitionsCount(@Context javax.ws.rs.core.UriInfo uriInfo)
-
getStatistics
@GET @Path("/statistics") @Produces("application/json") List<StatisticsResultDto> getStatistics(@QueryParam("failedJobs") Boolean includeFailedJobs, @QueryParam("rootIncidents") Boolean includeRootIncidents, @QueryParam("incidents") Boolean includeIncidents, @QueryParam("incidentsForType") String includeIncidentsForType)
-
updateSuspensionState
@PUT @Path("/suspended") @Consumes("application/json") void updateSuspensionState(ProcessDefinitionSuspensionStateDto dto)
-
deleteProcessDefinitionsByKey
@DELETE @Path("/key/{key}/delete") void deleteProcessDefinitionsByKey(@PathParam("key") String processDefinitionKey, @QueryParam("cascade") boolean cascade, @QueryParam("skipCustomListeners") boolean skipCustomListeners, @QueryParam("skipIoMappings") boolean skipIoMappings)
-
deleteProcessDefinitionsByKeyAndTenantId
@DELETE @Path("/key/{key}/tenant-id/{tenantId}/delete") void deleteProcessDefinitionsByKeyAndTenantId(@PathParam("key") String processDefinitionKey, @QueryParam("cascade") boolean cascade, @QueryParam("skipCustomListeners") boolean skipCustomListeners, @QueryParam("skipIoMappings") boolean skipIoMappings, @PathParam("tenantId") String tenantId)
-
-