Interface TaskAttachmentResource
-
- All Known Implementing Classes:
TaskAttachmentResourceImpl
public interface TaskAttachmentResource
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AttachmentDto
addAttachment(javax.ws.rs.core.UriInfo uriInfo, MultipartFormData multipartFormData)
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()
-
-
-
Method Detail
-
getAttachments
@GET @Produces("application/json") java.util.List<AttachmentDto> getAttachments()
-
getAttachment
@GET @Path("/{attachmentId}") @Produces("application/json") AttachmentDto getAttachment(@PathParam("attachmentId") java.lang.String attachmentId)
-
getAttachmentData
@GET @Path("/{attachmentId}/data") @Produces("application/octet-stream") java.io.InputStream getAttachmentData(@PathParam("attachmentId") java.lang.String attachmentId)
-
deleteAttachment
@DELETE @Path("/{attachmentId}") @Produces("application/json") void deleteAttachment(@PathParam("attachmentId") java.lang.String attachmentId)
-
addAttachment
@POST @Path("/create") @Consumes("multipart/form-data") @Produces("application/json") AttachmentDto addAttachment(@Context javax.ws.rs.core.UriInfo uriInfo, MultipartFormData multipartFormData)
-
-