Class Notifications
- java.lang.Object
-
- org.gcube.social_networking.rest.collections.Collection
-
- org.gcube.social_networking.rest.collections.Notifications
-
@Path("notifications") public class Notifications extends Collection
-
-
Constructor Summary
Constructors Constructor Description Notifications()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.ws.rs.core.ResponsecreateNotification(org.gcube.social_networking.socialnetworking.model.shared.Notification notification)jakarta.ws.rs.core.ResponsereadNotification(@NotNull String id)jakarta.ws.rs.core.ResponsesetNotificationToRead(@NotNull String id)-
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
-
createNotification
@POST @Path("/") @Consumes("application/json") @Produces("application/json") public jakarta.ws.rs.core.Response createNotification(org.gcube.social_networking.socialnetworking.model.shared.Notification notification)
-
setNotificationToRead
@PUT @Path("/{id}") @Consumes("application/json") @Produces("application/json") public jakarta.ws.rs.core.Response setNotificationToRead(@NotNull @PathParam("id") @NotNull String id)
-
readNotification
@GET @Path("/{id}") @Produces("application/json") public jakarta.ws.rs.core.Response readNotification(@NotNull @PathParam("id") @NotNull String id)
-
-