public class TaskAttachmentResourceImpl extends Object implements TaskAttachmentResource
Constructor and Description |
---|
TaskAttachmentResourceImpl(ProcessEngine engine,
String taskId,
String rootResourcePath) |
Modifier and Type | Method and Description |
---|---|
AttachmentDto |
addAttachment(javax.ws.rs.core.UriInfo uriInfo,
MultipartFormData payload) |
void |
deleteAttachment(String attachmentId) |
AttachmentDto |
getAttachment(String attachmentId) |
InputStream |
getAttachmentData(String attachmentId) |
List<AttachmentDto> |
getAttachments() |
public TaskAttachmentResourceImpl(ProcessEngine engine, String taskId, String rootResourcePath)
public List<AttachmentDto> getAttachments()
getAttachments
in interface TaskAttachmentResource
public AttachmentDto getAttachment(String attachmentId)
getAttachment
in interface TaskAttachmentResource
public InputStream getAttachmentData(String attachmentId)
getAttachmentData
in interface TaskAttachmentResource
public void deleteAttachment(String attachmentId)
deleteAttachment
in interface TaskAttachmentResource
public AttachmentDto addAttachment(javax.ws.rs.core.UriInfo uriInfo, MultipartFormData payload)
addAttachment
in interface TaskAttachmentResource
Copyright © 2021. All rights reserved.