public class ActivityRestResourcesV1 extends Object implements org.exoplatform.social.rest.api.ActivityRestResources
| Constructor and Description |
|---|
ActivityRestResourcesV1() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
addLike(javax.ws.rs.core.UriInfo uriInfo,
String id,
String expand) |
javax.ws.rs.core.Response |
deleteActivityById(javax.ws.rs.core.UriInfo uriInfo,
String id,
String expand) |
javax.ws.rs.core.Response |
deleteLike(javax.ws.rs.core.UriInfo uriInfo,
String id,
String username,
String expand) |
javax.ws.rs.core.Response |
getActivitiesOfCurrentUser(javax.ws.rs.core.UriInfo uriInfo,
int offset,
int limit,
boolean returnSize,
String expand) |
javax.ws.rs.core.Response |
getActivityById(javax.ws.rs.core.UriInfo uriInfo,
String id,
String expand) |
javax.ws.rs.core.Response |
getCommentsOfActivity(javax.ws.rs.core.UriInfo uriInfo,
String id,
int offset,
int limit,
boolean returnSize,
String expand) |
javax.ws.rs.core.Response |
getLikesActivityOfUser(javax.ws.rs.core.UriInfo uriInfo,
String id,
String username,
String expand) |
javax.ws.rs.core.Response |
getLikesOfActivity(javax.ws.rs.core.UriInfo uriInfo,
String id,
int offset,
int limit,
String expand) |
javax.ws.rs.core.Response |
postComment(javax.ws.rs.core.UriInfo uriInfo,
String id,
String expand,
org.exoplatform.social.rest.entity.CommentEntity model) |
javax.ws.rs.core.Response |
updateActivityById(javax.ws.rs.core.UriInfo uriInfo,
String id,
String expand,
org.exoplatform.social.rest.entity.ActivityEntity model) |
@RolesAllowed(value="users") public javax.ws.rs.core.Response getActivitiesOfCurrentUser(@Context javax.ws.rs.core.UriInfo uriInfo, int offset, int limit, boolean returnSize, String expand) throws Exception
getActivitiesOfCurrentUser in interface org.exoplatform.social.rest.api.ActivityRestResourcesException@RolesAllowed(value="users") public javax.ws.rs.core.Response getActivityById(@Context javax.ws.rs.core.UriInfo uriInfo, String id, String expand) throws Exception
getActivityById in interface org.exoplatform.social.rest.api.ActivityRestResourcesException@RolesAllowed(value="users") public javax.ws.rs.core.Response updateActivityById(@Context javax.ws.rs.core.UriInfo uriInfo, String id, String expand, org.exoplatform.social.rest.entity.ActivityEntity model) throws Exception
updateActivityById in interface org.exoplatform.social.rest.api.ActivityRestResourcesException@RolesAllowed(value="users") public javax.ws.rs.core.Response deleteActivityById(@Context javax.ws.rs.core.UriInfo uriInfo, String id, String expand) throws Exception
deleteActivityById in interface org.exoplatform.social.rest.api.ActivityRestResourcesException@RolesAllowed(value="users") public javax.ws.rs.core.Response getCommentsOfActivity(@Context javax.ws.rs.core.UriInfo uriInfo, String id, int offset, int limit, boolean returnSize, String expand) throws Exception
getCommentsOfActivity in interface org.exoplatform.social.rest.api.ActivityRestResourcesException@RolesAllowed(value="users") public javax.ws.rs.core.Response postComment(@Context javax.ws.rs.core.UriInfo uriInfo, String id, String expand, org.exoplatform.social.rest.entity.CommentEntity model) throws Exception
postComment in interface org.exoplatform.social.rest.api.ActivityRestResourcesException@RolesAllowed(value="users") public javax.ws.rs.core.Response getLikesOfActivity(@Context javax.ws.rs.core.UriInfo uriInfo, String id, int offset, int limit, String expand) throws Exception
getLikesOfActivity in interface org.exoplatform.social.rest.api.ActivityRestResourcesException@RolesAllowed(value="users") public javax.ws.rs.core.Response addLike(@Context javax.ws.rs.core.UriInfo uriInfo, String id, String expand) throws Exception
addLike in interface org.exoplatform.social.rest.api.ActivityRestResourcesException@RolesAllowed(value="users") public javax.ws.rs.core.Response getLikesActivityOfUser(@Context javax.ws.rs.core.UriInfo uriInfo, String id, String username, String expand) throws Exception
getLikesActivityOfUser in interface org.exoplatform.social.rest.api.ActivityRestResourcesExceptionCopyright © 2003–2016 eXo Platform SAS. All rights reserved.