info.magnolia.module.delta
Class CopyNodeTask

java.lang.Object
  extended by info.magnolia.module.delta.AbstractTask
      extended by info.magnolia.module.delta.AbstractRepositoryTask
          extended by info.magnolia.module.delta.CopyNodeTask
All Implemented Interfaces:
Task

public class CopyNodeTask
extends AbstractRepositoryTask

Copies a node by performing a in session copy operation.

Version:
$Id: CopyNodeTask.java 41137 2011-01-06 18:19:25Z gjoseph $
Author:
pbracher

Field Summary
 
Fields inherited from class info.magnolia.module.delta.AbstractTask
log
 
Constructor Summary
CopyNodeTask(java.lang.String name, java.lang.String description, java.lang.String workspaceName, java.lang.String src, java.lang.String dest, boolean overwrite)
           
 
Method Summary
protected  void doExecute(InstallContext installContext)
           
 
Methods inherited from class info.magnolia.module.delta.AbstractRepositoryTask
execute
 
Methods inherited from class info.magnolia.module.delta.AbstractTask
getDescription, getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CopyNodeTask

public CopyNodeTask(java.lang.String name,
                    java.lang.String description,
                    java.lang.String workspaceName,
                    java.lang.String src,
                    java.lang.String dest,
                    boolean overwrite)
Method Detail

doExecute

protected void doExecute(InstallContext installContext)
                  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.