org.jboss.dna.connector.federation.executor
Class ProjectedCopyNodeCommand

java.lang.Object
  extended by org.jboss.dna.connector.federation.executor.ActsOnProjectedPathCommand<CopyNodeCommand>
      extended by org.jboss.dna.connector.federation.executor.ProjectedCopyNodeCommand
All Implemented Interfaces:
ActsAsUpdate, ActsOnPath, CopyNodeCommand, GraphCommand

public class ProjectedCopyNodeCommand
extends ActsOnProjectedPathCommand<CopyNodeCommand>
implements CopyNodeCommand

Author:
Randall Hauch

Constructor Summary
ProjectedCopyNodeCommand(CopyNodeCommand delegate, Path projectedPath, Path newProjectedPath)
           
 
Method Summary
 Path getNewPath()
          Get the new path to which the copy is to be made.
 
Methods inherited from class org.jboss.dna.connector.federation.executor.ActsOnProjectedPathCommand
getError, getPath, hasError, hasNoError, isCancelled, setError
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.dna.graph.commands.GraphCommand
getError, hasError, hasNoError, isCancelled, setError
 
Methods inherited from interface org.jboss.dna.graph.commands.ActsOnPath
getPath
 

Constructor Detail

ProjectedCopyNodeCommand

public ProjectedCopyNodeCommand(CopyNodeCommand delegate,
                                Path projectedPath,
                                Path newProjectedPath)
Method Detail

getNewPath

public Path getNewPath()
Get the new path to which the copy is to be made.

Specified by:
getNewPath in interface CopyNodeCommand
Returns:
the new path; never null
See Also:
CopyNodeCommand.getNewPath()


Copyright © 2008-Present JBoss a division of Red Hat. All Rights Reserved.