Interface TaskAttachmentResource

    • 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)