Interface CaseExecutionRestService

  • All Known Implementing Classes:
    CaseExecutionRestServiceImpl

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

      • getCaseExecution

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

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

        @POST
        @Consumes("application/json")
        @Produces("application/json")
        java.util.List<CaseExecutionDto> queryCaseExecutions​(CaseExecutionQueryDto query,
                                                             @QueryParam("firstResult")
                                                             java.lang.Integer firstResult,
                                                             @QueryParam("maxResults")
                                                             java.lang.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
                                              javax.ws.rs.core.UriInfo uriInfo)
      • queryCaseExecutionsCount

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