Class HistoricProcessInstanceCommentResource
- java.lang.Object
-
- org.flowable.rest.service.api.history.HistoricProcessInstanceBaseResource
-
- org.flowable.rest.service.api.history.HistoricProcessInstanceCommentResource
-
@RestController public class HistoricProcessInstanceCommentResource extends HistoricProcessInstanceBaseResource
- Author:
- Frederik Heremans
-
-
Field Summary
Fields Modifier and Type Field Description protected HistoryServicehistoryServiceprotected RestResponseFactoryrestResponseFactoryprotected TaskServicetaskService-
Fields inherited from class org.flowable.rest.service.api.history.HistoricProcessInstanceBaseResource
repositoryService, restApiInterceptor
-
-
Constructor Summary
Constructors Constructor Description HistoricProcessInstanceCommentResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteComment(String processInstanceId, String commentId, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)CommentResponsegetComment(String processInstanceId, String commentId, javax.servlet.http.HttpServletRequest request)-
Methods inherited from class org.flowable.rest.service.api.history.HistoricProcessInstanceBaseResource
addVariables, getHistoricProcessInstanceFromRequest, getHistoricProcessInstanceFromRequestWithoutAccessCheck, getQueryResponse
-
-
-
-
Field Detail
-
restResponseFactory
@Autowired protected RestResponseFactory restResponseFactory
-
historyService
@Autowired protected HistoryService historyService
-
taskService
@Autowired protected TaskService taskService
-
-
Method Detail
-
getComment
@GetMapping(value="/history/historic-process-instances/{processInstanceId}/comments/{commentId}", produces="application/json") public CommentResponse getComment(@PathVariable("processInstanceId") String processInstanceId, @PathVariable("commentId") String commentId, javax.servlet.http.HttpServletRequest request)
-
deleteComment
@DeleteMapping("/history/historic-process-instances/{processInstanceId}/comments/{commentId}") public void deleteComment(@PathVariable("processInstanceId") String processInstanceId, @PathVariable("commentId") String commentId, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
-