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