Added a cross repository copy service. It has a single method copy, which does a recursive

copy of the source node into the destination node. This is a checkpoint; only AVM to AVM and
Repo to AVM work so far.


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5019 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Britt Park
2007-02-02 16:11:28 +00:00
parent 63e3b7453d
commit 29e3335cad
4 changed files with 331 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
/**
*
*/
package org.alfresco.service.cmr.repository;
/**
* Simple interface for copying between the two repsitory implementations.
* @author britt
*/
public interface CrossRepositoryCopyService
{
/**
* This copies recursively src, which may be a container or a content type
* to dst, which must be a container. Copied nodes will have the copied from aspect
* applied to them.
* @param src The node to copy.
* @param dst The container to copy it into.
* @param name The name to give the copy.
*/
public void copy(NodeRef src, NodeRef dst, String name);
}