Interface TaskAttachmentService


  • public interface TaskAttachmentService
    The Task Attachment Service will deal with all the functionality related with Task Attachments. Different implementations can be provided to handle the Task Attachments.
    • Method Detail

      • addAttachment

        long addAttachment​(long taskId,
                           org.kie.api.task.model.Attachment attachment,
                           org.kie.api.task.model.Content content)
      • deleteAttachment

        void deleteAttachment​(long taskId,
                              long attachmentId)
      • getAllAttachmentsByTaskId

        List<org.kie.api.task.model.Attachment> getAllAttachmentsByTaskId​(long taskId)
      • getAttachmentById

        org.kie.api.task.model.Attachment getAttachmentById​(long attachId)