org.modeshape.graph.connector.base
Class PathTransaction.WorkspaceChanges
java.lang.Object
org.modeshape.graph.connector.base.PathTransaction.WorkspaceChanges
- Enclosing class:
- PathTransaction<NodeType extends PathNode,WorkspaceType extends PathWorkspace<NodeType>>
protected class PathTransaction.WorkspaceChanges
- extends Object
Record of the changes made to a particular workspace.
PathTransaction.WorkspaceChanges
protected PathTransaction.WorkspaceChanges(WorkspaceType workspace)
getWorkspace
public WorkspaceType getWorkspace()
removeAll
public void removeAll(NodeType newRootNode)
isRemoved
public boolean isRemoved(Path path)
getLowestChangedNodeFor
public NodeType getLowestChangedNodeFor(Path path)
persistentPathFor
public Path persistentPathFor(Path path)
getChangedOrAdded
public NodeType getChangedOrAdded(Path path)
removed
public void removed(Path path)
created
public void created(NodeType node)
changed
public void changed(NodeType from,
NodeType to)
moved
public void moved(NodeType node,
NodeType newNode,
NodeType newParent)
commit
public void commit()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2008-2010 JBoss, a division of Red Hat. All Rights Reserved.