@Override public Comment updateExternalComment(CoreSession session, String entityId, Comment comment) throws CommentNotFoundException, CommentSecurityException { return second.updateExternalComment(session, entityId, comment); }
@PUT @Path("external/{entityId}") public Comment updateExternalComment(@PathParam("entityId") String entityId, Comment comment) { CommentManager commentManager = Framework.getService(CommentManager.class); commentManager.updateExternalComment(getContext().getCoreSession(), entityId, comment); return comment; }