Interface ProcessInstanceRestService

    • Method Detail

      • getProcessInstance

        @Path("/{id}")
        ProcessInstanceResource getProcessInstance​(@PathParam("id")
                                                   java.lang.String processInstanceId)
      • getProcessInstances

        @GET
        @Produces("application/json")
        java.util.List<ProcessInstanceDto> getProcessInstances​(@Context
                                                               javax.ws.rs.core.UriInfo uriInfo,
                                                               @QueryParam("firstResult")
                                                               java.lang.Integer firstResult,
                                                               @QueryParam("maxResults")
                                                               java.lang.Integer maxResults)
        Exposes the ProcessInstanceQuery interface as a REST service.
        Parameters:
        uriInfo -
        firstResult -
        maxResults -
        Returns:
      • queryProcessInstances

        @POST
        @Consumes("application/json")
        @Produces("application/json")
        java.util.List<ProcessInstanceDto> queryProcessInstances​(ProcessInstanceQueryDto query,
                                                                 @QueryParam("firstResult")
                                                                 java.lang.Integer firstResult,
                                                                 @QueryParam("maxResults")
                                                                 java.lang.Integer maxResults)
        Expects the same parameters as getProcessInstances(UriInfo, Integer, Integer) (as a JSON message body) and allows for any number of variable checks.
        Parameters:
        query -
        firstResult -
        maxResults -
        Returns:
      • getProcessInstancesCount

        @GET
        @Path("/count")
        @Produces("application/json")
        CountResultDto getProcessInstancesCount​(@Context
                                                javax.ws.rs.core.UriInfo uriInfo)
      • queryProcessInstancesCount

        @POST
        @Path("/count")
        @Consumes("application/json")
        @Produces("application/json")
        CountResultDto queryProcessInstancesCount​(ProcessInstanceQueryDto query)
      • deleteAsyncHistoricQueryBased

        @POST
        @Path("/delete-historic-query-based")
        @Consumes("application/json")
        @Produces("application/json")
        BatchDto deleteAsyncHistoricQueryBased​(DeleteProcessInstancesDto dto)
      • setRetriesByProcess

        @POST
        @Path("/job-retries")
        @Consumes("application/json")
        @Produces("application/json")
        BatchDto setRetriesByProcess​(SetJobRetriesByProcessDto setJobRetriesDto)
      • setRetriesByProcessHistoricQueryBased

        @POST
        @Path("/job-retries-historic-query-based")
        @Consumes("application/json")
        @Produces("application/json")
        BatchDto setRetriesByProcessHistoricQueryBased​(SetJobRetriesByProcessDto setJobRetriesDto)
      • setVariablesAsync

        @POST
        @Path("/variables-async")
        @Consumes("application/json")
        @Produces("application/json")
        BatchDto setVariablesAsync​(SetVariablesAsyncDto setVariablesAsyncDto)
      • correlateMessageAsync

        @POST
        @Path("/message-async")
        @Consumes("application/json")
        @Produces("application/json")
        BatchDto correlateMessageAsync​(CorrelationMessageAsyncDto correlationMessageAsyncDto)