Class TaskAttachmentResourceImpl
- java.lang.Object
-
- org.camunda.bpm.engine.rest.sub.task.impl.TaskAttachmentResourceImpl
-
- All Implemented Interfaces:
TaskAttachmentResource
public class TaskAttachmentResourceImpl extends java.lang.Object implements TaskAttachmentResource
-
-
Constructor Summary
Constructors Constructor Description TaskAttachmentResourceImpl(ProcessEngine engine, java.lang.String taskId, java.lang.String rootResourcePath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttachmentDto
addAttachment(javax.ws.rs.core.UriInfo uriInfo, MultipartFormData payload)
void
deleteAttachment(java.lang.String attachmentId)
AttachmentDto
getAttachment(java.lang.String attachmentId)
java.io.InputStream
getAttachmentData(java.lang.String attachmentId)
java.util.List<AttachmentDto>
getAttachments()
-
-
-
Constructor Detail
-
TaskAttachmentResourceImpl
public TaskAttachmentResourceImpl(ProcessEngine engine, java.lang.String taskId, java.lang.String rootResourcePath)
-
-
Method Detail
-
getAttachments
public java.util.List<AttachmentDto> getAttachments()
- Specified by:
getAttachments
in interfaceTaskAttachmentResource
-
getAttachment
public AttachmentDto getAttachment(java.lang.String attachmentId)
- Specified by:
getAttachment
in interfaceTaskAttachmentResource
-
getAttachmentData
public java.io.InputStream getAttachmentData(java.lang.String attachmentId)
- Specified by:
getAttachmentData
in interfaceTaskAttachmentResource
-
deleteAttachment
public void deleteAttachment(java.lang.String attachmentId)
- Specified by:
deleteAttachment
in interfaceTaskAttachmentResource
-
addAttachment
public AttachmentDto addAttachment(javax.ws.rs.core.UriInfo uriInfo, MultipartFormData payload)
- Specified by:
addAttachment
in interfaceTaskAttachmentResource
-
-