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(String attachmentId)
AttachmentDto
getAttachment(String attachmentId)
InputStream
getAttachmentData(String attachmentId)
List<AttachmentDto>
getAttachments()
-
-
-
Method Detail
-
getAttachments
@GET @Produces("application/json") List<AttachmentDto> 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 javax.ws.rs.core.UriInfo uriInfo, MultipartFormData multipartFormData)
-
-