Class TaskCommentResource
java.lang.Object
org.flowable.rest.service.api.runtime.task.TaskBaseResource
org.flowable.rest.service.api.runtime.task.TaskCommentResource
- Author:
- Frederik Heremans
-
Field Summary
Fields inherited from class org.flowable.rest.service.api.runtime.task.TaskBaseResource
historyService, restApiInterceptor, restResponseFactory, taskService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteComment
(String taskId, String commentId) getComment
(String taskId, String commentId) Methods inherited from class org.flowable.rest.service.api.runtime.task.TaskBaseResource
addProcessvariables, addTaskvariables, getDelegationState, getHistoricTaskFromRequest, getHistoricTaskFromRequestWithoutAccessCheck, getTaskFromRequest, getTaskFromRequestWithoutAccessCheck, getTasksFromIdList, getTasksFromQueryRequest, populateTaskFromRequest, populateTasksFromRequest
-
Constructor Details
-
TaskCommentResource
public TaskCommentResource()
-
-
Method Details
-
getComment
@GetMapping(value="/runtime/tasks/{taskId}/comments/{commentId}", produces="application/json") public CommentResponse getComment(@PathVariable("taskId") String taskId, @PathVariable("commentId") String commentId) -
deleteComment
@DeleteMapping("/runtime/tasks/{taskId}/comments/{commentId}") @ResponseStatus(NO_CONTENT) public void deleteComment(@PathVariable("taskId") String taskId, @PathVariable("commentId") String commentId)
-