This is an action to undo a list of changes made in a user sandbox, relative to

the staging sandbox.  Turns out yesterday's revert action isn't quite what is 
wanted for this use case.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4366 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2006-11-15 20:40:27 +00:00
parent 2cab072bc1
commit a4e9b2fd6f
6 changed files with 171 additions and 0 deletions

View File

@@ -439,6 +439,21 @@ public class AVMServiceImpl implements AVMService
fAVMRepository.uncover(dirPath, name);
}
/**
* Make name in dirPath transparent to what was underneath it. That is, this
* removes the offending node from its layered directory parent's direct ownership.
* @param dirPath The path to the layered directory.
* @param name The name of the item to flatten.
*/
public void flatten(String dirPath, String name)
{
if (dirPath == null || name == null)
{
throw new AVMBadArgumentException("Illegal null argument.");
}
fAVMRepository.flatten(dirPath, name);
}
/**
* Get the Latest Version ID for an AVMStore.
* @param repName The name of the AVMStore.