org.modeshape.graph.connector.base
Class MapTransaction.WorkspaceChanges

java.lang.Object
  extended by org.modeshape.graph.connector.base.MapTransaction.WorkspaceChanges
Enclosing class:
MapTransaction<NodeType extends MapNode,WorkspaceType extends MapWorkspace<NodeType>>

protected class MapTransaction.WorkspaceChanges
extends Object

Record of the changes made to a particular workspace.


Constructor Summary
protected MapTransaction.WorkspaceChanges(WorkspaceType workspace)
           
 
Method Summary
 void changed(NodeType node)
           
 void commit()
           
 void created(NodeType node)
           
 NodeType getChangedOrAdded(UUID uuid)
           
 WorkspaceType getWorkspace()
           
 boolean isRemoved(UUID uuid)
           
 void removeAll(NodeType newRootNode)
           
 void removed(UUID uuid)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapTransaction.WorkspaceChanges

protected MapTransaction.WorkspaceChanges(WorkspaceType workspace)
Method Detail

getWorkspace

public WorkspaceType getWorkspace()

removeAll

public void removeAll(NodeType newRootNode)

isRemoved

public boolean isRemoved(UUID uuid)

getChangedOrAdded

public NodeType getChangedOrAdded(UUID uuid)

removed

public void removed(UUID uuid)

created

public void created(NodeType node)

changed

public void changed(NodeType node)

commit

public void commit()


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