Class FavoriteRest
- java.lang.Object
-
- org.exoplatform.social.rest.impl.favorite.FavoriteRest
-
- All Implemented Interfaces:
org.exoplatform.services.rest.resource.ResourceContainer
public class FavoriteRest extends Object implements org.exoplatform.services.rest.resource.ResourceContainer
-
-
Constructor Summary
Constructors Constructor Description FavoriteRest(org.exoplatform.social.metadata.favorite.FavoriteService favoriteService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponsecreateFavorite(String objectType, String objectId, String parentObjectId, boolean ignoreWhenExisting)javax.ws.rs.core.ResponsedeleteFavorite(String objectType, String objectId, boolean ignoreNotExisting)javax.ws.rs.core.ResponsegetFavoritesList(int offset, int limit, boolean returnSize)
-
-
-
Method Detail
-
createFavorite
@RolesAllowed("users") public javax.ws.rs.core.Response createFavorite(String objectType, String objectId, String parentObjectId, boolean ignoreWhenExisting)
-
getFavoritesList
@RolesAllowed("users") public javax.ws.rs.core.Response getFavoritesList(int offset, int limit, boolean returnSize)
-
-