Interface CaseExecutionRestService

All Known Implementing Classes:
CaseExecutionRestServiceImpl

@Produces("application/json") public interface CaseExecutionRestService
Author:
Roman Smirnov
  • Field Details

  • Method Details

    • getCaseExecution

      @Path("/{id}") CaseExecutionResource getCaseExecution(@PathParam("id") String caseExecutionId)
    • getCaseExecutions

      @GET @Produces("application/json") List<CaseExecutionDto> getCaseExecutions(@Context jakarta.ws.rs.core.UriInfo uriInfo, @QueryParam("firstResult") Integer firstResult, @QueryParam("maxResults") Integer maxResults)
      Exposes the CaseExecutionQuery interface as a REST service.
      Parameters:
      uriInfo -
      firstResult -
      maxResults -
      Returns:
    • queryCaseExecutions

      @POST @Consumes("application/json") @Produces("application/json") List<CaseExecutionDto> queryCaseExecutions(CaseExecutionQueryDto query, @QueryParam("firstResult") Integer firstResult, @QueryParam("maxResults") Integer maxResults)
      Expects the same parameters as getCaseExecutions(UriInfo, Integer, Integer) (as a JSON message body) and allows for any number of variable checks.
      Parameters:
      query -
      firstResult -
      maxResults -
      Returns:
    • getCaseExecutionsCount

      @GET @Path("/count") @Produces("application/json") CountResultDto getCaseExecutionsCount(@Context jakarta.ws.rs.core.UriInfo uriInfo)
    • queryCaseExecutionsCount

      @POST @Path("/count") @Consumes("application/json") @Produces("application/json") CountResultDto queryCaseExecutionsCount(CaseExecutionQueryDto query)