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 Type
    Method
    Description
    tr.com.havelsan.javarch.service.data.HvlResponseEntity<byte[]>
    downloadAttachment(@NotNull String uuid)
    Download attachment by given uuid
    tr.com.havelsan.javarch.service.data.HvlResponse<List<ProjectedProcessDocAttachmentModel>>
    listAttachments(@NotNull Long processId)
    List attachments with projected fields by process id.
  • Method Details

    • listAttachments

      @GetMapping(path="/list/{processId}") tr.com.havelsan.javarch.service.data.HvlResponse<List<ProjectedProcessDocAttachmentModel>> listAttachments(@NotNull @PathVariable("processId") @NotNull Long processId)
      List attachments with projected fields by process id.
      Parameters:
      processId - the process id
      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