mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Added a recursive copy method to AVMService. Added basic test for it. However,
for most purposes, createBranch has the same effect at a fraction of the cost. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/WCM-DEV2/root@4287 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -734,4 +734,14 @@ public interface AVMService
|
||||
* @param path The path to force.
|
||||
*/
|
||||
public AVMNodeDescriptor forceCopy(String path);
|
||||
|
||||
/**
|
||||
* Copy (possibly recursively) the source into the destination
|
||||
* directory.
|
||||
* @param srcVersion The version of the source.
|
||||
* @param srcPath The path to the source.
|
||||
* @param dstPath The destination directory.
|
||||
* @param name The name to give the destination.
|
||||
*/
|
||||
public void copy(int srcVersion, String srcPath, String dstPath, String name);
|
||||
}
|
||||
|
Reference in New Issue
Block a user