Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| jBPM :: Distribution 6.2.1-SNAPSHOT
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

    public class TaskAttachmentServiceImpl

extends Object
implements org.kie.internal.task.api.TaskAttachmentService

Constructor Summary
`TaskAttachmentServiceImpl()`
`TaskAttachmentServiceImpl(org.kie.internal.task.api.TaskPersistenceContext persistenceContext)`

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)`
`void` | `setPersistenceContext(org.kie.internal.task.api.TaskPersistenceContext persistenceContext)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### TaskAttachmentServiceImpl

    public TaskAttachmentServiceImpl()

### TaskAttachmentServiceImpl

    public TaskAttachmentServiceImpl(org.kie.internal.task.api.TaskPersistenceContext persistenceContext)

Method Detail

### setPersistenceContext

    public void setPersistenceContext(org.kie.internal.task.api.TaskPersistenceContext persistenceContext)

### 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 Attachment 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.2.1-SNAPSHOT
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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