@Produces(value="application/json")
public interface CaseExecutionRestService
Modifier and Type | Method and Description |
---|---|
CaseExecutionResource |
getCaseExecution(String caseExecutionId) |
List<CaseExecutionDto> |
getCaseExecutions(javax.ws.rs.core.UriInfo uriInfo,
Integer firstResult,
Integer maxResults)
Exposes the
CaseExecutionQuery interface as a REST service. |
CountResultDto |
getCaseExecutionsCount(javax.ws.rs.core.UriInfo uriInfo) |
List<CaseExecutionDto> |
queryCaseExecutions(CaseExecutionQueryDto query,
Integer firstResult,
Integer maxResults)
Expects the same parameters as
getCaseExecutions(UriInfo, Integer, Integer) (as a JSON message body)
and allows for any number of variable checks. |
CountResultDto |
queryCaseExecutionsCount(CaseExecutionQueryDto query) |
static final String PATH
@Path(value="/{id}") CaseExecutionResource getCaseExecution(@PathParam(value="id") String caseExecutionId)
@GET @Produces(value="application/json") List<CaseExecutionDto> getCaseExecutions(@Context javax.ws.rs.core.UriInfo uriInfo, @QueryParam(value="firstResult") Integer firstResult, @QueryParam(value="maxResults") Integer maxResults)
CaseExecutionQuery
interface as a REST service.uriInfo
- firstResult
- maxResults
- @POST @Consumes(value="application/json") @Produces(value="application/json") List<CaseExecutionDto> queryCaseExecutions(CaseExecutionQueryDto query, @QueryParam(value="firstResult") Integer firstResult, @QueryParam(value="maxResults") Integer maxResults)
getCaseExecutions(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 getCaseExecutionsCount(@Context javax.ws.rs.core.UriInfo uriInfo)
@POST @Path(value="/count") @Consumes(value="application/json") @Produces(value="application/json") CountResultDto queryCaseExecutionsCount(CaseExecutionQueryDto query)
Copyright © 2020. All rights reserved.