Class CommentRestResourcesV1

  • All Implemented Interfaces:
    org.exoplatform.services.rest.resource.ResourceContainer

    @Deprecated
    public class CommentRestResourcesV1
    extends Object
    implements org.exoplatform.services.rest.resource.ResourceContainer
    Deprecated.
    • Constructor Detail

      • CommentRestResourcesV1

        public CommentRestResourcesV1​(ActivityRestResourcesV1 activityRestResourcesV1)
        Deprecated.
    • Method Detail

      • getCommentById

        @RolesAllowed("users")
        public javax.ws.rs.core.Response getCommentById​(@Context
                                                        javax.ws.rs.core.UriInfo uriInfo,
                                                        @Context
                                                        javax.ws.rs.core.Request request,
                                                        String id,
                                                        String expand)
        Deprecated.
      • updateCommentById

        @RolesAllowed("users")
        public javax.ws.rs.core.Response updateCommentById​(@Context
                                                           javax.ws.rs.core.UriInfo uriInfo,
                                                           String id,
                                                           String expand,
                                                           CommentEntity model)
        Deprecated.
      • deleteCommentById

        @RolesAllowed("users")
        public javax.ws.rs.core.Response deleteCommentById​(@Context
                                                           javax.ws.rs.core.UriInfo uriInfo,
                                                           String id,
                                                           String expand)
        Deprecated.
      • getLikesOfComment

        @RolesAllowed("users")
        public javax.ws.rs.core.Response getLikesOfComment​(@Context
                                                           javax.ws.rs.core.UriInfo uriInfo,
                                                           String id,
                                                           int offset,
                                                           int limit,
                                                           String expand)
        Deprecated.
      • addLikeOnComment

        @RolesAllowed("users")
        public javax.ws.rs.core.Response addLikeOnComment​(@Context
                                                          javax.ws.rs.core.UriInfo uriInfo,
                                                          @Context
                                                          javax.ws.rs.core.Request request,
                                                          String id,
                                                          String expand)
        Deprecated.
      • deleteLikeOnComment

        @RolesAllowed("users")
        public javax.ws.rs.core.Response deleteLikeOnComment​(@Context
                                                             javax.ws.rs.core.UriInfo uriInfo,
                                                             @Context
                                                             javax.ws.rs.core.Request request,
                                                             String id,
                                                             String username,
                                                             String expand)
        Deprecated.