Interface CaseInstanceRestService

  • All Known Implementing Classes:
    CaseInstanceRestServiceImpl

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

      • getCaseInstances

        @GET
        @Produces("application/json")
        List<CaseInstanceDto> getCaseInstances​(@Context
                                               javax.ws.rs.core.UriInfo uriInfo,
                                               @QueryParam("firstResult")
                                               Integer firstResult,
                                               @QueryParam("maxResults")
                                               Integer maxResults)
        Exposes the CaseInstanceQuery interface as a REST service.
        Parameters:
        uriInfo -
        firstResult -
        maxResults -
        Returns:
      • getCaseInstancesCount

        @GET
        @Path("/count")
        @Produces("application/json")
        CountResultDto getCaseInstancesCount​(@Context
                                             javax.ws.rs.core.UriInfo uriInfo)
      • queryCaseInstancesCount

        @POST
        @Path("/count")
        @Consumes("application/json")
        @Produces("application/json")
        CountResultDto queryCaseInstancesCount​(CaseInstanceQueryDto query)