Interface TaskAttachmentResource
- All Known Implementing Classes:
TaskAttachmentResourceImpl
public interface TaskAttachmentResource
-
Method Summary
Modifier and TypeMethodDescriptionaddAttachment
(jakarta.ws.rs.core.UriInfo uriInfo, MultipartFormData multipartFormData) void
deleteAttachment
(String attachmentId) getAttachment
(String attachmentId) getAttachmentData
(String attachmentId)
-
Method Details
-
getAttachments
-
getAttachment
@GET @Path("/{attachmentId}") @Produces("application/json") AttachmentDto getAttachment(@PathParam("attachmentId") String attachmentId) -
getAttachmentData
@GET @Path("/{attachmentId}/data") @Produces("application/octet-stream") InputStream getAttachmentData(@PathParam("attachmentId") String attachmentId) -
deleteAttachment
@DELETE @Path("/{attachmentId}") @Produces("application/json") void deleteAttachment(@PathParam("attachmentId") String attachmentId) -
addAttachment
@POST @Path("/create") @Consumes("multipart/form-data") @Produces("application/json") AttachmentDto addAttachment(@Context jakarta.ws.rs.core.UriInfo uriInfo, MultipartFormData multipartFormData)
-