Package org.operaton.bpm.engine.rest
Interface TaskRestService
- All Known Implementing Classes:
TaskRestServiceImpl
@Produces("application/json")
public interface TaskRestService
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateTask(TaskDto taskDto) getTask(String id, boolean withCommentAttachmentInfo, boolean withTaskVariablesInReturn, boolean withTaskLocalVariablesInReturn) 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 as(as JSON message body) and allows more than one variable check.invalid reference
TaskRestService#getTasks(UriInfo, Integer, Integer)queryTasksCount(TaskQueryDto query)
-
Field Details
-
PATH
- See Also:
-
-
Method Details
-
getTask
@Path("/{id}") TaskResource getTask(@PathParam("id") String id, @QueryParam("withCommentAttachmentInfo") boolean withCommentAttachmentInfo, @QueryParam("withTaskVariablesInReturn") boolean withTaskVariablesInReturn, @QueryParam("withTaskLocalVariablesInReturn") boolean withTaskLocalVariablesInReturn) -
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 as(as JSON message body) and allows more than one variable check.invalid reference
TaskRestService#getTasks(UriInfo, Integer, Integer)- 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
-