/** * Get Nuxeo comments service instance. * * @return Nuxeo comments service instance */ public INuxeoCommentsService getNuxeoCommentsService() { try { INuxeoService nuxeoService = this.getNuxeoCMSService(); return nuxeoService.getCMSCustomizer().getNuxeoCommentsService(); } catch (Exception e) { throw this.wrapNuxeoException(e); } }