public interface BatchRestService
Modifier and Type | Method and Description |
---|---|
BatchResource |
getBatch(String batchId) |
List<BatchDto> |
getBatches(javax.ws.rs.core.UriInfo uriInfo,
Integer firstResult,
Integer maxResults) |
CountResultDto |
getBatchesCount(javax.ws.rs.core.UriInfo uriInfo) |
List<BatchStatisticsDto> |
getStatistics(javax.ws.rs.core.UriInfo uriInfo,
Integer firstResult,
Integer maxResults) |
CountResultDto |
getStatisticsCount(javax.ws.rs.core.UriInfo uriInfo) |
static final String PATH
@Path(value="/{id}") BatchResource getBatch(@PathParam(value="id") String batchId)
@GET @Produces(value="application/json") List<BatchDto> getBatches(@Context javax.ws.rs.core.UriInfo uriInfo, @QueryParam(value="firstResult") Integer firstResult, @QueryParam(value="maxResults") Integer maxResults)
@GET @Path(value="/count") @Produces(value="application/json") CountResultDto getBatchesCount(@Context javax.ws.rs.core.UriInfo uriInfo)
@GET @Path(value="/statistics") @Produces(value="application/json") List<BatchStatisticsDto> getStatistics(@Context javax.ws.rs.core.UriInfo uriInfo, @QueryParam(value="firstResult") Integer firstResult, @QueryParam(value="maxResults") Integer maxResults)
@GET @Path(value="/statistics/count") @Produces(value="application/json") CountResultDto getStatisticsCount(@Context javax.ws.rs.core.UriInfo uriInfo)
Copyright © 2021. All rights reserved.