Class Likes
- java.lang.Object
-
- org.gcube.social_networking.rest.collections.Collection
-
- org.gcube.social_networking.rest.collections.Likes
-
@Path("likes") public class Likes extends Collection
-
-
Constructor Summary
Constructors Constructor Description Likes()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.ws.rs.core.ResponsecreateLike(org.gcube.social_networking.socialnetworking.model.shared.Like like)jakarta.ws.rs.core.ResponsedeleteLike(@NotNull String id)jakarta.ws.rs.core.ResponsereadLike(@NotNull String id)jakarta.ws.rs.core.ResponseupdateLike(@NotNull String id, @NotNull org.gcube.social_networking.socialnetworking.model.shared.Like like)-
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
-
createLike
@POST @Path("/") @Consumes("application/json") @Produces("application/json") public jakarta.ws.rs.core.Response createLike(org.gcube.social_networking.socialnetworking.model.shared.Like like)
-
readLike
@GET @Path("/{id}") @Produces("application/json") public jakarta.ws.rs.core.Response readLike(@NotNull @PathParam("id") @NotNull String id)
-
deleteLike
@DELETE @Path("/{id}") @Produces("application/json") public jakarta.ws.rs.core.Response deleteLike(@NotNull @PathParam("id") @NotNull String id)
-
updateLike
@PUT @Path("/{id}") @Consumes("application/json") @Produces("application/json") public jakarta.ws.rs.core.Response updateLike(@NotNull @PathParam("id") @NotNull String id, @NotNull @NotNull org.gcube.social_networking.socialnetworking.model.shared.Like like)
-
-