As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Reference nodeRef = new Reference(storeRef, nodeId, nodePath); Predicate predicate = new Predicate(new Reference[]{nodeRef}, null, null); CMLDelete delete = new CMLDelete(predicate); CML cml = new CML(); cml.setDelete(new CMLDelete[]{delete}); repositoryService.update(cml);