@Path(value="/process-instance")
@Produces(value="application/json")
public interface HistoricProcessInstanceRestService
Modifier and Type | Method and Description |
---|---|
BatchDto |
deleteAsync(DeleteHistoricProcessInstancesDto dto) |
HistoricProcessInstanceResource |
getHistoricProcessInstance(String processInstanceId) |
List<HistoricProcessInstanceDto> |
getHistoricProcessInstances(javax.ws.rs.core.UriInfo uriInfo,
Integer firstResult,
Integer maxResults)
Exposes the
HistoricProcessInstanceQuery interface as a REST
service. |
CountResultDto |
getHistoricProcessInstancesCount(javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
getHistoricProcessInstancesReport(javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.Request request) |
List<HistoricProcessInstanceDto> |
queryHistoricProcessInstances(HistoricProcessInstanceQueryDto query,
Integer firstResult,
Integer maxResults) |
CountResultDto |
queryHistoricProcessInstancesCount(HistoricProcessInstanceQueryDto query) |
static final String PATH
@Path(value="/{id}") HistoricProcessInstanceResource getHistoricProcessInstance(@PathParam(value="id") String processInstanceId)
@GET @Produces(value="application/json") List<HistoricProcessInstanceDto> getHistoricProcessInstances(@Context javax.ws.rs.core.UriInfo uriInfo, @QueryParam(value="firstResult") Integer firstResult, @QueryParam(value="maxResults") Integer maxResults)
HistoricProcessInstanceQuery
interface as a REST
service.uriInfo
- firstResult
- maxResults
- @POST @Consumes(value="application/json") @Produces(value="application/json") List<HistoricProcessInstanceDto> queryHistoricProcessInstances(HistoricProcessInstanceQueryDto query, @QueryParam(value="firstResult") Integer firstResult, @QueryParam(value="maxResults") Integer maxResults)
query
- firstResult
- maxResults
- @GET @Path(value="/count") @Produces(value="application/json") CountResultDto getHistoricProcessInstancesCount(@Context javax.ws.rs.core.UriInfo uriInfo)
@POST @Path(value="/count") @Consumes(value="application/json") @Produces(value="application/json") CountResultDto queryHistoricProcessInstancesCount(HistoricProcessInstanceQueryDto query)
@GET @Path(value="/report") @Produces(value={"application/json","text/csv","application/csv"}) javax.ws.rs.core.Response getHistoricProcessInstancesReport(@Context javax.ws.rs.core.UriInfo uriInfo, @Context javax.ws.rs.core.Request request)
@POST @Path(value="/delete") @Consumes(value="application/json") @Produces(value="application/json") BatchDto deleteAsync(DeleteHistoricProcessInstancesDto dto)
Copyright © 2020. All rights reserved.