org.kie.internal.task.api

## 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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and 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>` | `getAllAttachmentsByTaskId(long taskId)`
    `org.kie.api.task.model.Attachment` | `getAttachmentById(long attachId)`

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

Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.