Package org.kie.internal.task.api
Interface TaskAttachmentService
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
Modifier and TypeMethodDescriptionlongaddAttachment(long taskId, org.kie.api.task.model.Attachment attachment, org.kie.api.task.model.Content content) voiddeleteAttachment(long taskId, long attachmentId) List<org.kie.api.task.model.Attachment>getAllAttachmentsByTaskId(long taskId) org.kie.api.task.model.AttachmentgetAttachmentById(long attachId)
-
Method Details
-
addAttachment
long addAttachment(long taskId, org.kie.api.task.model.Attachment attachment, org.kie.api.task.model.Content content) -
deleteAttachment
void deleteAttachment(long taskId, long attachmentId) -
getAllAttachmentsByTaskId
-
getAttachmentById
org.kie.api.task.model.Attachment getAttachmentById(long attachId)
-