mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
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:
@@ -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.
|
||||
|
Reference in New Issue
Block a user