public class LazyNodeTransactionData extends LazyEntityTransactionData<org.neo4j.graphdb.Node> implements NodeTransactionData
LazyEntityTransactionData for Nodes.| Constructor and Description |
|---|
LazyNodeTransactionData(org.neo4j.graphdb.event.TransactionData transactionData,
TransactionDataContainer transactionDataContainer)
Construct node transaction data from Neo4j
TransactionData. |
| Modifier and Type | Method and Description |
|---|---|
Set<org.neo4j.graphdb.Label> |
assignedLabels(org.neo4j.graphdb.Node node)
Get labels assigned in the transaction.
|
protected Iterable<org.neo4j.graphdb.event.PropertyEntry<org.neo4j.graphdb.Node>> |
assignedProperties()
Get all assigned properties from the Neo4j API.
|
protected Iterable<org.neo4j.graphdb.Node> |
created()
Get all entities created in the transaction from the Neo4j API.
|
protected Iterable<org.neo4j.graphdb.Node> |
deleted()
Get all entities deleted in the transaction from the Neo4j API.
|
protected void |
doInitializeChanged() |
boolean |
hasLabelBeenAssigned(org.neo4j.graphdb.Node node,
org.neo4j.graphdb.Label label)
Check whether a label has been assigned in the transaction.
|
boolean |
hasLabelBeenRemoved(org.neo4j.graphdb.Node node,
org.neo4j.graphdb.Label label)
Check whether a label has been removed in the transaction.
|
Set<org.neo4j.graphdb.Label> |
labelsOfDeletedNode(org.neo4j.graphdb.Node node)
Get labels of a deleted node.
|
protected org.neo4j.graphdb.Node |
newSnapshot(org.neo4j.graphdb.Node original)
Create a new snapshot of an original entity.
|
protected org.neo4j.graphdb.Node |
oldSnapshot(org.neo4j.graphdb.Node original)
Create an old snapshot of an original entity.
|
Set<org.neo4j.graphdb.Label> |
removedLabels(org.neo4j.graphdb.Node node)
Get labels removed in the transaction.
|
protected Iterable<org.neo4j.graphdb.event.PropertyEntry<org.neo4j.graphdb.Node>> |
removedProperties()
Get all removed properties from the Neo4j API.
|
changedContainsKey, changedProperties, createChangeObject, createdProperties, deletedProperties, getAllChanged, getAllCreated, getAllDeleted, getChanged, getDeleted, hasBeenChanged, hasBeenCreated, hasBeenDeleted, hasPropertyBeenChanged, hasPropertyBeenCreated, hasPropertyBeenDeleted, initializeChanged, propertiesOfDeletedEntity, registerChangeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchangedProperties, createdProperties, deletedProperties, getAllChanged, getAllCreated, getAllDeleted, getChanged, getDeleted, hasBeenChanged, hasBeenCreated, hasBeenDeleted, hasPropertyBeenChanged, hasPropertyBeenCreated, hasPropertyBeenDeleted, propertiesOfDeletedEntitypublic LazyNodeTransactionData(org.neo4j.graphdb.event.TransactionData transactionData,
TransactionDataContainer transactionDataContainer)
TransactionData.transactionData - provided by Neo4j.transactionDataContainer - containing EntityTransactionData..protected org.neo4j.graphdb.Node oldSnapshot(org.neo4j.graphdb.Node original)
oldSnapshot in class LazyEntityTransactionData<org.neo4j.graphdb.Node>original - to create a snapshot from.protected org.neo4j.graphdb.Node newSnapshot(org.neo4j.graphdb.Node original)
newSnapshot in class LazyEntityTransactionData<org.neo4j.graphdb.Node>original - to create a snapshot from.protected Iterable<org.neo4j.graphdb.Node> created()
created in class LazyEntityTransactionData<org.neo4j.graphdb.Node>protected Iterable<org.neo4j.graphdb.Node> deleted()
deleted in class LazyEntityTransactionData<org.neo4j.graphdb.Node>protected Iterable<org.neo4j.graphdb.event.PropertyEntry<org.neo4j.graphdb.Node>> assignedProperties()
assignedProperties in class LazyEntityTransactionData<org.neo4j.graphdb.Node>protected Iterable<org.neo4j.graphdb.event.PropertyEntry<org.neo4j.graphdb.Node>> removedProperties()
removedProperties in class LazyEntityTransactionData<org.neo4j.graphdb.Node>public boolean hasLabelBeenAssigned(org.neo4j.graphdb.Node node,
org.neo4j.graphdb.Label label)
hasLabelBeenAssigned in interface NodeTransactionDatanode - to check.label - to check.public Set<org.neo4j.graphdb.Label> assignedLabels(org.neo4j.graphdb.Node node)
assignedLabels in interface NodeTransactionDatanode - for which to get assigned labels.public boolean hasLabelBeenRemoved(org.neo4j.graphdb.Node node,
org.neo4j.graphdb.Label label)
hasLabelBeenRemoved in interface NodeTransactionDatanode - to check.label - to check.public Set<org.neo4j.graphdb.Label> removedLabels(org.neo4j.graphdb.Node node)
removedLabels in interface NodeTransactionDatanode - for which to get removed labels.public Set<org.neo4j.graphdb.Label> labelsOfDeletedNode(org.neo4j.graphdb.Node node)
labelsOfDeletedNode in interface NodeTransactionDatanode - deleted node.protected void doInitializeChanged()
doInitializeChanged in class LazyEntityTransactionData<org.neo4j.graphdb.Node>Copyright © 2013-2016–2020 Graph Aware Limited. All rights reserved.