org.jboss.dna.graph.request
Interface ChangeRequest

All Known Implementing Classes:
CopyBranchRequest, CreateNodeRequest, DeleteBranchRequest, MoveBranchRequest, RemovePropertyRequest, RenameNodeRequest, SetPropertyRequest, UpdatePropertiesRequest

public interface ChangeRequest


Method Summary
 Location changedLocation()
          Get the location of the top-most node that is to be changed by this request.
 boolean changes(String workspace, Path path)
          Determine if this request changes the branch at the given path.
 

Method Detail

changes

boolean changes(String workspace,
                Path path)
Determine if this request changes the branch at the given path.

Parameters:
workspace - the name of the workspace; may not be null
path - the path; may not be null
Returns:
true if this request changes a node under the given path

changedLocation

Location changedLocation()
Get the location of the top-most node that is to be changed by this request.

Returns:
the location changed by this request


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