Class HistoricProcessInstanceCommentCollectionResource
java.lang.Object
org.flowable.rest.service.api.history.HistoricProcessInstanceBaseResource
org.flowable.rest.service.api.history.HistoricProcessInstanceCommentCollectionResource
@RestController
public class HistoricProcessInstanceCommentCollectionResource
extends HistoricProcessInstanceBaseResource
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected HistoryService
protected RestResponseFactory
protected TaskService
Fields inherited from class org.flowable.rest.service.api.history.HistoricProcessInstanceBaseResource
repositoryService, restApiInterceptor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateComment
(String processInstanceId, CommentResponse comment) getComments
(String processInstanceId) Methods inherited from class org.flowable.rest.service.api.history.HistoricProcessInstanceBaseResource
addVariables, getHistoricProcessInstanceFromRequest, getHistoricProcessInstanceFromRequestWithoutAccessCheck, getQueryResponse
-
Field Details
-
restResponseFactory
-
historyService
-
taskService
-
-
Constructor Details
-
HistoricProcessInstanceCommentCollectionResource
public HistoricProcessInstanceCommentCollectionResource()
-
-
Method Details
-
getComments
@GetMapping(value="/history/historic-process-instances/{processInstanceId}/comments", produces="application/json") public List<CommentResponse> getComments(@PathVariable String processInstanceId) -
createComment
@PostMapping(value="/history/historic-process-instances/{processInstanceId}/comments", produces="application/json") @ResponseStatus(CREATED) public CommentResponse createComment(@PathVariable String processInstanceId, @RequestBody CommentResponse comment)
-