org.jboss.dna.connector.federation.executor
Class ActsOnProjectedPathCommand<T extends org.jboss.dna.graph.commands.ActsOnPath & org.jboss.dna.graph.commands.GraphCommand>

java.lang.Object
  extended by org.jboss.dna.connector.federation.executor.ActsOnProjectedPathCommand<T>
Type Parameters:
T - the command type
All Implemented Interfaces:
org.jboss.dna.graph.commands.ActsOnPath, org.jboss.dna.graph.commands.GraphCommand
Direct Known Subclasses:
ProjectedCopyBranchCommand, ProjectedCopyNodeCommand, ProjectedCreateNodeCommand, ProjectedDeleteBranchCommand, ProjectedGetChildrenCommand, ProjectedGetNodeCommand, ProjectedGetPropertiesCommand, ProjectedMoveBranchCommand, ProjectedRecordBranchCommand, ProjectedSetPropertiesCommand

public class ActsOnProjectedPathCommand<T extends org.jboss.dna.graph.commands.ActsOnPath & org.jboss.dna.graph.commands.GraphCommand>
extends Object
implements org.jboss.dna.graph.commands.ActsOnPath, org.jboss.dna.graph.commands.GraphCommand

Author:
Randall Hauch

Constructor Summary
protected ActsOnProjectedPathCommand(T delegate, org.jboss.dna.graph.properties.Path projectedPath)
           
 
Method Summary
 Throwable getError()
          
protected  T getOriginalCommand()
           
 org.jboss.dna.graph.properties.Path getPath()
          
 boolean hasError()
          
 boolean hasNoError()
          
 boolean isCancelled()
          
 void setError(Throwable error)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActsOnProjectedPathCommand

protected ActsOnProjectedPathCommand(T delegate,
                                     org.jboss.dna.graph.properties.Path projectedPath)
Method Detail

getPath

public org.jboss.dna.graph.properties.Path getPath()

Specified by:
getPath in interface org.jboss.dna.graph.commands.ActsOnPath
See Also:
ActsOnPath.getPath()

getError

public Throwable getError()

Specified by:
getError in interface org.jboss.dna.graph.commands.GraphCommand
See Also:
GraphCommand.getError()

hasError

public boolean hasError()

Specified by:
hasError in interface org.jboss.dna.graph.commands.GraphCommand
See Also:
GraphCommand.hasError()

hasNoError

public boolean hasNoError()

Specified by:
hasNoError in interface org.jboss.dna.graph.commands.GraphCommand
See Also:
GraphCommand.hasNoError()

isCancelled

public boolean isCancelled()

Specified by:
isCancelled in interface org.jboss.dna.graph.commands.GraphCommand
See Also:
GraphCommand.isCancelled()

setError

public void setError(Throwable error)

Specified by:
setError in interface org.jboss.dna.graph.commands.GraphCommand
See Also:
GraphCommand.setError(java.lang.Throwable)

getOriginalCommand

protected T getOriginalCommand()
Returns:
delegate


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