Package org.camunda.bpm.engine.rest
Interface TaskRestService
- All Known Implementing Classes:
TaskRestServiceImpl
@Produces("application/json")
public interface TaskRestService
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
createTask
(TaskDto taskDto) getTasks
(jakarta.ws.rs.core.Request request, jakarta.ws.rs.core.UriInfo uriInfo, Integer firstResult, Integer maxResults) getTasksCount
(jakarta.ws.rs.core.UriInfo uriInfo) queryTasks
(TaskQueryDto query, Integer firstResult, Integer maxResults) Expects the same parameters asTaskRestService#getTasks(UriInfo, Integer, Integer)
(as JSON message body) and allows more than one variable check.queryTasksCount
(TaskQueryDto query)
-
Field Details
-
PATH
- See Also:
-
-
Method Details
-
getTask
-
getTasks
-
queryTasks
@POST @Consumes("application/json") @Produces("application/json") List<TaskDto> queryTasks(TaskQueryDto query, @QueryParam("firstResult") Integer firstResult, @QueryParam("maxResults") Integer maxResults) Expects the same parameters asTaskRestService#getTasks(UriInfo, Integer, Integer)
(as JSON message body) and allows more than one variable check.- Parameters:
query
-firstResult
-maxResults
-- Returns:
-
getTasksCount
@GET @Path("/count") @Produces("application/json") CountResultDto getTasksCount(@Context jakarta.ws.rs.core.UriInfo uriInfo) -
queryTasksCount
@POST @Path("/count") @Consumes("application/json") @Produces("application/json") CountResultDto queryTasksCount(TaskQueryDto query) -
createTask
-
getTaskReportResource
-