Class TaskAttachmentResource
java.lang.Object
org.flowable.rest.service.api.runtime.task.TaskBaseResource
org.flowable.rest.service.api.runtime.task.TaskAttachmentResource
- 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
deleteAttachment
(String taskId, String attachmentId) getAttachment
(String taskId, String attachmentId) 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
-
TaskAttachmentResource
public TaskAttachmentResource()
-
-
Method Details
-
getAttachment
@GetMapping(value="/runtime/tasks/{taskId}/attachments/{attachmentId}", produces="application/json") public AttachmentResponse getAttachment(@PathVariable("taskId") String taskId, @PathVariable("attachmentId") String attachmentId) -
deleteAttachment
@DeleteMapping("/runtime/tasks/{taskId}/attachments/{attachmentId}") @ResponseStatus(NO_CONTENT) public void deleteAttachment(@PathVariable("taskId") String taskId, @PathVariable("attachmentId") String attachmentId)
-