@RestController public class HistoricProcessInstanceCommentCollectionResource extends Object
| Modifier and Type | Field and Description |
|---|---|
protected HistoryService |
historyService |
protected RestResponseFactory |
restResponseFactory |
protected TaskService |
taskService |
| Constructor and Description |
|---|
HistoricProcessInstanceCommentCollectionResource() |
| Modifier and Type | Method and Description |
|---|---|
CommentResponse |
createComment(String processInstanceId,
CommentResponse comment,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
List<CommentResponse> |
getComments(String processInstanceId,
javax.servlet.http.HttpServletRequest request) |
protected HistoricProcessInstance |
getHistoricProcessInstanceFromRequest(String processInstanceId) |
@Autowired protected RestResponseFactory restResponseFactory
@Autowired protected HistoryService historyService
@Autowired protected TaskService taskService
public HistoricProcessInstanceCommentCollectionResource()
@GetMapping(value="/history/historic-process-instances/{processInstanceId}/comments",
produces="application/json")
public List<CommentResponse> getComments(@PathVariable
String processInstanceId,
javax.servlet.http.HttpServletRequest request)
@PostMapping(value="/history/historic-process-instances/{processInstanceId}/comments",
produces="application/json")
public CommentResponse createComment(@PathVariable
String processInstanceId,
@RequestBody
CommentResponse comment,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
protected HistoricProcessInstance getHistoricProcessInstanceFromRequest(String processInstanceId)
Copyright © 2018 Flowable. All rights reserved.