Interface HvlBpmnProcessDocAttachmentRestService
- All Known Implementing Classes:
HvlBpmnProcessDocAttachmentRestController
@Validated
@HvlPublicFeignRestService
@FeignClient(name="bpmnProcessPublicRestService",
path="${hvl.bpmn.service.process.doc.attachment.path:/process/doc-attachment}",
url="${hvl.bpmn.service.process.doc.attachment.url:${hvl.bpmn.service.url}}")
public interface HvlBpmnProcessDocAttachmentRestService
A restful service which provides specific methods for bpmn process documentation attachment.
-
Method Summary
Modifier and TypeMethodDescriptiontr.com.havelsan.javarch.service.data.HvlResponseEntity
<byte[]> downloadAttachment
(@NotNull String uuid) Download attachment by given uuidtr.com.havelsan.javarch.service.data.HvlResponse
<List<ProjectedProcessDocAttachmentModel>> getDataListByBusinessKey
(@NotBlank String businessKey) List attachments with projected fields by process id.
-
Method Details
-
getDataListByBusinessKey
@GetMapping(path="/list/{businessKey}") tr.com.havelsan.javarch.service.data.HvlResponse<List<ProjectedProcessDocAttachmentModel>> getDataListByBusinessKey(@NotBlank @PathVariable("businessKey") @NotBlank String businessKey) List attachments with projected fields by process id.- Parameters:
businessKey
- the business key- Returns:
- the attachments
-
downloadAttachment
@GetMapping(path="/download/{uuid}") tr.com.havelsan.javarch.service.data.HvlResponseEntity<byte[]> downloadAttachment(@NotNull @PathVariable("uuid") @NotNull String uuid) Download attachment by given uuid- Parameters:
uuid
- the uuid- Returns:
- the hvl response entity of attachment content
-