Interface ProcessDefinitionRestService

    • Method Detail

      • 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 the ProcessDefinitionQuery interface 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)
      • 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)