Interface HvlBpmnProcessDocAttachmentOperationalRestService
- All Known Implementing Classes:
HvlBpmnProcessDocAttachmentRestController
@Validated
@HvlPublicFeignRestService
@FeignClient(name="bpmnProcessDocAttachmentOperationalRestService",
path="${hvl.bpmn.service.process.path:/process/doc-attachment}",
url="${hvl.bpmn.service.process.url:${hvl.bpmn.service.url}}")
public interface HvlBpmnProcessDocAttachmentOperationalRestService
A restful service which provides specific operational methods for bpmn process documentation attachment.
-
Method Summary
Modifier and TypeMethodDescriptiontr.com.havelsan.javarch.service.data.HvlResponse<Long>
addFileToDocumentation
(@NotNull Long processId, org.springframework.web.multipart.MultipartFile file) Adds external file to documentationtr.com.havelsan.javarch.service.data.HvlResponse<Void>
Removes object according to provided parameter.
-
Method Details
-
addFileToDocumentation
@PostMapping(path="/add/{processId}", consumes="multipart/form-data") tr.com.havelsan.javarch.service.data.HvlResponse<Long> addFileToDocumentation(@NotNull @PathVariable("processId") @NotNull Long processId, @RequestPart org.springframework.web.multipart.MultipartFile file) throws IOException Adds external file to documentation- Parameters:
file
- the file- Returns:
- the hvl response
- Throws:
IOException
-
delete
@DeleteMapping(path="/delete/{uuid}") tr.com.havelsan.javarch.service.data.HvlResponse<Void> delete(@NotNull @PathVariable("uuid") @NotNull String uuid) Removes object according to provided parameter.- Parameters:
uuid
- the uuid- Returns:
- the hvl response
-