Created
September 26, 2013 16:02
-
-
Save bachmanm/6716282 to your computer and use it in GitHub Desktop.
ImprovedTransactionData with methods for nodes only, JavaDoc ommitted
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface ImprovedTransactionData { | |
boolean hasBeenCreated(Node node); | |
Collection<Node> getAllCreatedNodes(); | |
boolean hasBeenDeleted(Node node); | |
Node getDeleted(Node node); | |
Collection<Node> getAllDeletedNodes(); | |
boolean hasBeenChanged(Node node); | |
Change<Node> getChanged(Node node); | |
Collection<Change<Node>> getAllChangedNodes(); | |
boolean hasPropertyBeenCreated(Node node, String key); | |
Map<String, Object> createdProperties(Node node); | |
boolean hasPropertyBeenDeleted(Node node, String key); | |
Map<String, Object> deletedProperties(Node node); | |
boolean hasPropertyBeenChanged(Node node, String key); | |
Map<String, Change<Object>> changedProperties(Node node); | |
//and the same for relationships | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment