info.magnolia.module.delta
Class CopyOrReplaceNodePropertiesTask
java.lang.Object
info.magnolia.module.delta.AbstractTask
info.magnolia.module.delta.AbstractRepositoryTask
info.magnolia.module.delta.CopyOrReplaceNodePropertiesTask
- All Implemented Interfaces:
- Task
public class CopyOrReplaceNodePropertiesTask
- extends AbstractRepositoryTask
Copies a node's properties to another node. Existing properties are overwritten and
extra properties on the target node are left untouched.
Only works with properties of type String!
- Version:
- $Revision: $ ($Author: $)
- Author:
- gjoseph
Constructor Summary |
CopyOrReplaceNodePropertiesTask(java.lang.String name,
java.lang.String description,
java.lang.String workspaceName,
java.lang.String sourceNodePath,
java.lang.String targetNodePath)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CopyOrReplaceNodePropertiesTask
public CopyOrReplaceNodePropertiesTask(java.lang.String name,
java.lang.String description,
java.lang.String workspaceName,
java.lang.String sourceNodePath,
java.lang.String targetNodePath)
doExecute
protected void doExecute(InstallContext ctx)
throws javax.jcr.RepositoryException,
TaskExecutionException
- Specified by:
doExecute
in class AbstractRepositoryTask
- Throws:
javax.jcr.RepositoryException
TaskExecutionException
Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.