@Produces(value="application/json")
public interface ExecutionRestService
Modifier and Type | Method and Description |
---|---|
ExecutionResource |
getExecution(String executionId) |
List<ExecutionDto> |
getExecutions(javax.ws.rs.core.UriInfo uriInfo,
Integer firstResult,
Integer maxResults) |
CountResultDto |
getExecutionsCount(javax.ws.rs.core.UriInfo uriInfo) |
List<ExecutionDto> |
queryExecutions(ExecutionQueryDto query,
Integer firstResult,
Integer maxResults) |
CountResultDto |
queryExecutionsCount(ExecutionQueryDto query) |
static final String PATH
@Path(value="/{id}") ExecutionResource getExecution(@PathParam(value="id") String executionId)
@GET @Produces(value="application/json") List<ExecutionDto> getExecutions(@Context javax.ws.rs.core.UriInfo uriInfo, @QueryParam(value="firstResult") Integer firstResult, @QueryParam(value="maxResults") Integer maxResults)
@POST @Produces(value="application/json") @Consumes(value="application/json") List<ExecutionDto> queryExecutions(ExecutionQueryDto query, @QueryParam(value="firstResult") Integer firstResult, @QueryParam(value="maxResults") Integer maxResults)
@GET @Path(value="/count") @Produces(value="application/json") CountResultDto getExecutionsCount(@Context javax.ws.rs.core.UriInfo uriInfo)
@POST @Path(value="/count") @Produces(value="application/json") @Consumes(value="application/json") CountResultDto queryExecutionsCount(ExecutionQueryDto query)
Copyright © 2019. All rights reserved.