Interface JobDefinitionRestService

  • All Known Implementing Classes:
    JobDefinitionRestServiceImpl

    @Produces("application/json")
    public interface JobDefinitionRestService
    Author:
    roman.smirnov
    • Method Detail

      • getJobDefinitions

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

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

        @POST
        @Path("/count")
        @Consumes("application/json")
        @Produces("application/json")
        CountResultDto queryJobDefinitionsCount​(JobDefinitionQueryDto queryDto)