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

## org.jbpm.services.task.impl
Class TaskAttachmentServiceImpl

    java.lang.Object
      org.jbpm.services.task.impl.TaskAttachmentServiceImpl

All Implemented Interfaces:
  org.kie.internal.task.api.TaskAttachmentService

    @ApplicationScoped
    public class TaskAttachmentServiceImpl

extends Object
implements org.kie.internal.task.api.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)`
`AttachmentImpl` | `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 `org.kie.internal.task.api.TaskAttachmentService`

### deleteAttachment

    public void deleteAttachment(long taskId,
                                 long attachmentId)

  Specified by:
    `deleteAttachment` in interface `org.kie.internal.task.api.TaskAttachmentService`

### getAllAttachmentsByTaskId

    public List<Attachment> getAllAttachmentsByTaskId(long taskId)

  Specified by:
    `getAllAttachmentsByTaskId` in interface `org.kie.internal.task.api.TaskAttachmentService`

### getAttachmentById

    public AttachmentImpl getAttachmentById(long attachId)

  Specified by:
    `getAttachmentById` in interface `org.kie.internal.task.api.TaskAttachmentService`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| jBPM distribution 6.0.0.CR5
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.