@Override public void deleteExternalComment(CoreSession session, String entityId) throws CommentNotFoundException, CommentSecurityException { second.deleteExternalComment(session, entityId); }
@DELETE @Path("external/{entityId}") public Response deleteExternalComment(@PathParam("entityId") String entityId) { CommentManager commentManager = Framework.getService(CommentManager.class); commentManager.deleteExternalComment(getContext().getCoreSession(), entityId); return Response.noContent().build(); }