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 Summary

    Modifier and Type
    Method
    Description
    long
    addAttachment(long taskId, org.kie.api.task.model.Attachment attachment, org.kie.api.task.model.Content content)
     
    void
    deleteAttachment(long taskId, long attachmentId)
     
    List<org.kie.api.task.model.Attachment>
     
    org.kie.api.task.model.Attachment
    getAttachmentById(long attachId)
     
  • Method Details

    • 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)