public interface TaskRestService
Modifier and Type | Method and Description |
---|---|
void |
createTask(TaskDto taskDto) |
TaskResource |
getTask(String id) |
Object |
getTasks(javax.ws.rs.core.Request request,
javax.ws.rs.core.UriInfo uriInfo,
Integer firstResult,
Integer maxResults) |
CountResultDto |
getTasksCount(javax.ws.rs.core.UriInfo uriInfo) |
List<TaskDto> |
queryTasks(TaskQueryDto query,
Integer firstResult,
Integer maxResults)
Expects the same parameters as
TaskRestService#getTasks(UriInfo, Integer, Integer) (as
JSON message body) and allows more than one variable check. |
CountResultDto |
queryTasksCount(TaskQueryDto query) |
static final String PATH
TaskResource getTask(String id)
Object getTasks(@Context javax.ws.rs.core.Request request, @Context javax.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults)
List<TaskDto> queryTasks(TaskQueryDto query, Integer firstResult, Integer maxResults)
TaskRestService#getTasks(UriInfo, Integer, Integer)
(as
JSON message body) and allows more than one variable check.query
- firstResult
- maxResults
- CountResultDto getTasksCount(@Context javax.ws.rs.core.UriInfo uriInfo)
CountResultDto queryTasksCount(TaskQueryDto query)
void createTask(TaskDto taskDto)
Copyright © 2018. All rights reserved.