public final class CrossRepositoryCopy extends BaseScopableProcessorExtension
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
BEAN_NAME |
| Constructor and Description |
|---|
CrossRepositoryCopy() |
| Modifier and Type | Method and Description |
|---|---|
ScriptNode |
copy(ScriptNode src,
ScriptNode dest,
java.lang.String name)
Perform a copy of a source node to the specified parent destination node.
|
void |
setServiceRegistry(ServiceRegistry services)
Set the service registry
|
getScope, setScopegetExtensionName, register, setExtensionName, setProcessorpublic static final java.lang.String BEAN_NAME
public void setServiceRegistry(ServiceRegistry services)
services - the service registrypublic ScriptNode copy(ScriptNode src, ScriptNode dest, java.lang.String name)
Inter-store copy operations between Workspace and AVM and visa-versa are supported.
src - Source node instancedest - Destination parent node instancename - Name of the node copyorg.alfresco.error.AlfrescoRuntimeException - on copy errorCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.