/** * Stop nuxeo command service. * * @param ctx the ctx * @throws Exception the exception */ public static void stopNuxeoCommandService(PortletContext ctx) throws Exception { INuxeoCommandService nuxeoService = (INuxeoCommandService) ctx.getAttribute("nuxeoCommandService"); if( nuxeoService != null) nuxeoService.destroy(); }
return this.getNuxeoCommandService().executeCommand(ctx, new INuxeoServiceCommand() {