Class Attachments
- java.lang.Object
-
- org.gcube.social_networking.rest.collections.Collection
-
- org.gcube.social_networking.rest.collections.Attachments
-
@Path("attachments") public class Attachments extends Collection
-
-
Constructor Summary
Constructors Constructor Description Attachments()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.ws.rs.core.ResponsecreateAttachment(org.gcube.social_networking.socialnetworking.model.shared.Attachment attachment)jakarta.ws.rs.core.ResponsedeleteAttachment(@NotNull String id)jakarta.ws.rs.core.ResponsereadAttachment(@NotNull String id)jakarta.ws.rs.core.ResponseupdateAttachment(@NotNull String id, @NotNull org.gcube.social_networking.socialnetworking.model.shared.Attachment attachment)-
Methods inherited from class org.gcube.social_networking.rest.collections.Collection
BatchCreateChildOfWithParameter, BatchDeleteChildOfWithParameter, BatchUpdateChildOf, check, checkChildOf, create, createChildOf, delete, deleteChildOf, deleteChildOfWithParameter, deleteWithParameter, read, readAll, readChildOf, readChildOfWithParameter, readWithParameter, update, updateChildOf, updateChildOfWithParameter, updateWithParameter
-
-
-
-
Method Detail
-
createAttachment
@POST @Path("") @Consumes("application/json") @Produces("application/json") public jakarta.ws.rs.core.Response createAttachment(org.gcube.social_networking.socialnetworking.model.shared.Attachment attachment)
-
readAttachment
@GET @Path("/{id}") @Produces("application/json") public jakarta.ws.rs.core.Response readAttachment(@NotNull @PathParam("id") @NotNull String id)
-
deleteAttachment
@DELETE @Path("/{id}") @Produces("application/json") public jakarta.ws.rs.core.Response deleteAttachment(@NotNull @PathParam("id") @NotNull String id)
-
updateAttachment
@PUT @Path("/{id}") @Consumes("application/json") @Produces("application/json") public jakarta.ws.rs.core.Response updateAttachment(@NotNull @PathParam("id") @NotNull String id, @NotNull @NotNull org.gcube.social_networking.socialnetworking.model.shared.Attachment attachment)
-
-