Class CommentAdapter

All Implemented Interfaces:
AdapterResource, Resource, Adaptable

@Produces("application/json") public class CommentAdapter extends DefaultAdapter
Since:
10.3
  • Field Details

  • Constructor Details

    • CommentAdapter

      public CommentAdapter()
  • Method Details

    • createComment

      @POST public jakarta.ws.rs.core.Response createComment(Comment comment)
    • getComments

      @GET public PartialList<Comment> getComments(@QueryParam("pageSize") @DefaultValue("0") Long pageSize, @QueryParam("currentPageIndex") @DefaultValue("0") Long currentPageIndex)
    • getComment

      @GET @Path("{commentId}") public Comment getComment(@PathParam("commentId") String commentId)
    • getExternalComment

      @GET @Path("external/{entityId}") public Comment getExternalComment(@PathParam("entityId") String entityId)
    • updateComment

      @PUT @Path("{commentId}") public jakarta.ws.rs.core.Response updateComment(@PathParam("commentId") String commentId, Comment comment)
    • updateExternalComment

      @PUT @Path("external/{entityId}") public Comment updateExternalComment(@PathParam("entityId") String entityId, Comment comment)
    • deleteComment

      @DELETE @Path("{commentId}") public jakarta.ws.rs.core.Response deleteComment(@PathParam("commentId") String commentId)
    • deleteExternalComment

      @DELETE @Path("external/{entityId}") public jakarta.ws.rs.core.Response deleteExternalComment(@PathParam("entityId") String entityId)