jBPM distribution 6.0.0.Alpha9

org.jbpm.task.impl
Class TaskAttachmentServiceImpl

java.lang.Object
  extended by org.jbpm.task.impl.TaskAttachmentServiceImpl
All Implemented Interfaces:
TaskAttachmentService

@ApplicationScoped
public class TaskAttachmentServiceImpl
extends Object
implements TaskAttachmentService


Constructor Summary
TaskAttachmentServiceImpl()
           
 
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaskAttachmentServiceImpl

public TaskAttachmentServiceImpl()
Method Detail

addAttachment

public long addAttachment(long taskId,
                          Attachment attachment,
                          Content content)
Specified by:
addAttachment in interface TaskAttachmentService

deleteAttachment

public void deleteAttachment(long taskId,
                             long attachmentId)
Specified by:
deleteAttachment in interface TaskAttachmentService

getAllAttachmentsByTaskId

public List<Attachment> getAllAttachmentsByTaskId(long taskId)
Specified by:
getAllAttachmentsByTaskId in interface TaskAttachmentService

getAttachmentById

public Attachment getAttachmentById(long attachId)
Specified by:
getAttachmentById in interface TaskAttachmentService

jBPM distribution 6.0.0.Alpha9

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