org.jboss.dna.graph.commands
Interface ActsOnPath

All Known Subinterfaces:
ActsOnProperties, CopyBranchCommand, CopyNodeCommand, CreateNodeCommand, DeleteBranchCommand, GetChildrenCommand, GetNodeCommand, GetPropertiesCommand, MoveBranchCommand, RecordBranchCommand, SetPropertiesCommand
All Known Implementing Classes:
ActsOnProjectedPathCommand, BasicCopyBranchCommand, BasicCopyNodeCommand, BasicCreateNodeCommand, BasicDeleteBranchCommand, BasicGetChildrenCommand, BasicGetNodeCommand, BasicGetPropertiesCommand, BasicMoveBranchCommand, BasicRecordBranchCommand, BasicSetPropertiesCommand, FederatedNode, ProjectedCopyBranchCommand, ProjectedCopyNodeCommand, ProjectedCreateNodeCommand, ProjectedDeleteBranchCommand, ProjectedGetChildrenCommand, ProjectedGetNodeCommand, ProjectedGetPropertiesCommand, ProjectedMoveBranchCommand, ProjectedRecordBranchCommand, ProjectedSetPropertiesCommand

public interface ActsOnPath

Aspect interface for any repository command that acts upon a specific path. This aspect adds a method that can be used by the recipient to obtain the path that the command applies to.

Author:
Randall Hauch

Method Summary
 Path getPath()
          Get the path to which this command applies.
 

Method Detail

getPath

Path getPath()
Get the path to which this command applies. If the path does not exist, an PathNotFoundException exception should be recorded as an error.

Returns:
the path; never null


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