public class CommentRestResourcesV1 extends Object implements CommentRestResources
| Constructor and Description |
|---|
CommentRestResourcesV1() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
deleteCommentById(javax.ws.rs.core.UriInfo uriInfo,
String id,
String expand)
Process to delete a comment by id
|
javax.ws.rs.core.Response |
getCommentById(javax.ws.rs.core.UriInfo uriInfo,
String id,
String expand)
Process to return a commnet by id in json format
|
javax.ws.rs.core.Response |
updateCommentById(javax.ws.rs.core.UriInfo uriInfo,
String id,
String expand,
ActivityEntity model)
Process to update the title of a comment by id
|
@RolesAllowed(value="users") public javax.ws.rs.core.Response getCommentById(@Context javax.ws.rs.core.UriInfo uriInfo, String id, String expand) throws Exception
CommentRestResourcesgetCommentById in interface CommentRestResourcesException@RolesAllowed(value="users") public javax.ws.rs.core.Response updateCommentById(@Context javax.ws.rs.core.UriInfo uriInfo, String id, String expand, ActivityEntity model) throws Exception
CommentRestResourcesupdateCommentById in interface CommentRestResourcesException@RolesAllowed(value="users") public javax.ws.rs.core.Response deleteCommentById(@Context javax.ws.rs.core.UriInfo uriInfo, String id, String expand) throws Exception
CommentRestResourcesdeleteCommentById in interface CommentRestResourcesExceptionCopyright © 2003–2017 eXo Platform SAS. All rights reserved.