@Produces(value="application/json")
public interface ProcessInstanceRestService
static final String PATH
@Path(value="/{id}") ProcessInstanceResource getProcessInstance(@PathParam(value="id") String processInstanceId)
@GET @Produces(value="application/json") List<ProcessInstanceDto> getProcessInstances(@Context javax.ws.rs.core.UriInfo uriInfo, @QueryParam(value="firstResult") Integer firstResult, @QueryParam(value="maxResults") Integer maxResults)
ProcessInstanceQuery
interface as a REST service.uriInfo
- firstResult
- maxResults
- @POST @Consumes(value="application/json") @Produces(value="application/json") List<ProcessInstanceDto> queryProcessInstances(ProcessInstanceQueryDto query, @QueryParam(value="firstResult") Integer firstResult, @QueryParam(value="maxResults") Integer maxResults)
getProcessInstances(UriInfo, Integer, Integer)
(as a JSON message body)
and allows for any number of variable checks.query
- firstResult
- maxResults
- @GET @Path(value="/count") @Produces(value="application/json") CountResultDto getProcessInstancesCount(@Context javax.ws.rs.core.UriInfo uriInfo)
@POST @Path(value="/count") @Consumes(value="application/json") @Produces(value="application/json") CountResultDto queryProcessInstancesCount(ProcessInstanceQueryDto query)
@PUT @Path(value="/suspended") @Consumes(value="application/json") void updateSuspensionState(ProcessInstanceSuspensionStateDto dto)
@POST @Path(value="/suspended-async") @Consumes(value="application/json") @Produces(value="application/json") BatchDto updateSuspensionStateAsync(ProcessInstanceSuspensionStateDto dto)
@POST @Path(value="/delete") @Consumes(value="application/json") @Produces(value="application/json") BatchDto deleteAsync(DeleteProcessInstancesDto dto)
@POST @Path(value="/delete-historic-query-based") @Consumes(value="application/json") @Produces(value="application/json") BatchDto deleteAsyncHistoricQueryBased(DeleteProcessInstancesDto dto)
@POST @Path(value="/job-retries") @Consumes(value="application/json") @Produces(value="application/json") BatchDto setRetriesByProcess(SetJobRetriesByProcessDto setJobRetriesDto)
@POST @Path(value="/job-retries-historic-query-based") @Consumes(value="application/json") @Produces(value="application/json") BatchDto setRetriesByProcessHistoricQueryBased(SetJobRetriesByProcessDto setJobRetriesDto)
Copyright © 2022. All rights reserved.