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