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