public List<String> listErrorDumps() throws Exception { ArchiveObject2Meta dumpDirectoryMeta = archiveFacade.queryUniqueObject(ERROR_DUMP_OBJECT_PATH, true); if (dumpDirectoryMeta == null) return Collections.emptyList(); ArchiveObjectFacade dumpDirectory = archiveFacade.getObject(dumpDirectoryMeta.getId(), null, true); List<String> dumpList = new LinkedList<String>(); for (Map.Entry<String, List<YaddaObjectID>> children : dumpDirectory.getChildren().entrySet()) { for (YaddaObjectID child : children.getValue()) { ArchiveObjectFacade childObject = archiveFacade.getObject(child, null, false); if (!childObject.getStatus().isDeleted()) { ArchiveObjectPath dumpPath = new ArchiveObjectPath(ERROR_DUMP_OBJECT_PATH, children.getKey()); dumpList.add(dumpPath.encode()); } } } return dumpList; }
for (Map.Entry<String, List<YaddaObjectID>> entry : root.getChildren().entrySet()) { for (YaddaObjectID child : entry.getValue()) { processArchiveChild(child, rootPath
if (currentObjFacade.getChildren()!=null) { for (String currentChildKey : currentObjFacade.getChildren().keySet()) { if (currentObjFacade.getChildren().get(currentChildKey)!=null) { for (YaddaObjectID childSubId : currentObjFacade.getChildren().get(currentChildKey)) { try { ArchiveObjectFacade childObjFacade = archiveFacade.getObject(