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.
NodeRef actionedUponNodeRef = AVMNodeConverter.ToNodeRef(-1, "webproj–admin:/www/avm_webapps/ROOT"); Pair<Integer, String> avmVersionPath = AVMNodeConverter.ToAVMVersionPath(actionedUponNodeRef); int version = avmVersionPath.getFirst(); String path = avmVersionPath.getSecond(); List<AVMDifference> diffs = avmSyncService.compare(version, path, -1, avmDest, excluder); if ((diffs != null) && (diffs.size() > 0)) { avmSyncService.update(diffs, excluder, false, false, true, true, "Auto Submit " + AVMNodeConverter.SplitBase(path)[1], null); AVMDAOs.Instance().fAVMNodeDAO.flush(); // This cleanup was needed for some reason. avmSyncService.flatten(storePath[0] + ":/" + JNDIConstants.DIR_DEFAULT_WWW, "webproj"+ ":/" + JNDIConstants.DIR_DEFAULT_WWW); }