Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| jBPM distribution 6.0.0.Alpha9
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jbpm.task.api
Interface TaskAttachmentService

All Known Implementing Classes:
  TaskAttachmentServiceImpl, UserGroupTaskAttachmentDecorator

    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
`long` | `addAttachment(long taskId, Attachment attachment, Content content)`
`void` | `deleteAttachment(long taskId, long attachmentId)`
`List<Attachment>` | `getAllAttachmentsByTaskId(long taskId)`
`Attachment` | `getAttachmentById(long attachId)`

Method Detail

### addAttachment

    long addAttachment(long taskId,
                       Attachment attachment,
                       Content content)

### deleteAttachment

    void deleteAttachment(long taskId,
                          long attachmentId)

### getAllAttachmentsByTaskId

    List<Attachment> getAllAttachmentsByTaskId(long taskId)

### getAttachmentById

    Attachment getAttachmentById(long attachId)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| jBPM distribution 6.0.0.Alpha9
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.