Interface ProcessDefinitionRestService

All Known Implementing Classes:
ProcessDefinitionRestServiceImpl

@Produces("application/json") public interface ProcessDefinitionRestService
  • Field Details

  • Method Details

    • 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 jakarta.ws.rs.core.UriInfo uriInfo, @QueryParam("firstResult") Integer firstResult, @QueryParam("maxResults") Integer maxResults)
      Exposes the ProcessDefinitionQuery interface as a REST service.
      Parameters:
      uriInfo -
      firstResult -
      maxResults -
      Returns:
    • getProcessDefinitionsCount

      @GET @Path("/count") @Produces("application/json") CountResultDto getProcessDefinitionsCount(@Context jakarta.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)