Added rename to console. More in progress tweaks for concurrency.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@3237 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2006-06-24 17:27:00 +00:00
parent 619f31b1bd
commit 64288d531d
4 changed files with 67 additions and 60 deletions

View File

@@ -185,7 +185,7 @@ class Lookup
{
// Inform the repository of a new root.
fRepository.setNewRoot((DirectoryNode)node);
// SuperRepository.GetInstance().getSession().flush();
SuperRepository.GetInstance().getSession().flush();
return;
}
// Not the root. Check if we are the top layer and insert this into it's parent.
@@ -194,6 +194,7 @@ class Lookup
fTopLayer = (LayeredDirectoryNode)node;
}
((DirectoryNode)fComponents.get(fPosition - 1).getNode()).putChild(name, node);
SuperRepository.GetInstance().getSession().flush();
}
}