jBPM distribution 6.0.0.Alpha9

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)

jBPM distribution 6.0.0.Alpha9

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