public class LazyRelationshipTransactionData extends LazyEntityTransactionData<org.neo4j.graphdb.Relationship> implements RelationshipTransactionData
LazyEntityTransactionData for Relationships.| Constructor and Description |
|---|
LazyRelationshipTransactionData(org.neo4j.graphdb.event.TransactionData transactionData,
TransactionDataContainer transactionDataContainer)
Construct relationship transaction data from Neo4j
TransactionData. |
| Modifier and Type | Method and Description |
|---|---|
protected Iterable<org.neo4j.graphdb.event.PropertyEntry<org.neo4j.graphdb.Relationship>> |
assignedProperties()
Get all assigned properties from the Neo4j API.
|
protected Change<org.neo4j.graphdb.Relationship> |
createChangeObject(org.neo4j.graphdb.Relationship candidate) |
protected Iterable<org.neo4j.graphdb.Relationship> |
created()
Get all entities created in the transaction from the Neo4j API.
|
protected Iterable<org.neo4j.graphdb.Relationship> |
deleted()
Get all entities deleted in the transaction from the Neo4j API.
|
Collection<org.neo4j.graphdb.Relationship> |
getCreated(org.neo4j.graphdb.Node node,
org.neo4j.graphdb.Direction direction,
org.neo4j.graphdb.RelationshipType... types)
Get all relationships for the given node and of the given directions and types, which have been created in the
transaction.
|
Collection<org.neo4j.graphdb.Relationship> |
getCreated(org.neo4j.graphdb.Node node,
org.neo4j.graphdb.RelationshipType... types)
Get all relationships for the given node and of the given types, which have been created in the transaction.
|
Collection<org.neo4j.graphdb.Relationship> |
getDeleted(org.neo4j.graphdb.Node node,
org.neo4j.graphdb.Direction direction,
org.neo4j.graphdb.RelationshipType... types)
Get all relationships for the given node and of the given directions and types, which have been deleted in the
transaction.
|
Collection<org.neo4j.graphdb.Relationship> |
getDeleted(org.neo4j.graphdb.Node node,
org.neo4j.graphdb.RelationshipType... types)
Get all relationships for the given node and of the given types, which have been deleted in the transaction.
|
protected org.neo4j.graphdb.Relationship |
newSnapshot(org.neo4j.graphdb.Relationship original)
Create a new snapshot of an original entity.
|
protected org.neo4j.graphdb.Relationship |
oldSnapshot(org.neo4j.graphdb.Relationship original)
Create an old snapshot of an original entity.
|
protected Iterable<org.neo4j.graphdb.event.PropertyEntry<org.neo4j.graphdb.Relationship>> |
removedProperties()
Get all removed properties from the Neo4j API.
|
changedContainsKey, changedProperties, createdProperties, deletedProperties, doInitializeChanged, 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 LazyRelationshipTransactionData(org.neo4j.graphdb.event.TransactionData transactionData,
TransactionDataContainer transactionDataContainer)
TransactionData.transactionData - provided by Neo4j.transactionDataContainer - containing EntityTransactionData.protected org.neo4j.graphdb.Relationship oldSnapshot(org.neo4j.graphdb.Relationship original)
oldSnapshot in class LazyEntityTransactionData<org.neo4j.graphdb.Relationship>original - to create a snapshot from.protected org.neo4j.graphdb.Relationship newSnapshot(org.neo4j.graphdb.Relationship original)
newSnapshot in class LazyEntityTransactionData<org.neo4j.graphdb.Relationship>original - to create a snapshot from.protected Iterable<org.neo4j.graphdb.Relationship> created()
created in class LazyEntityTransactionData<org.neo4j.graphdb.Relationship>protected Iterable<org.neo4j.graphdb.Relationship> deleted()
deleted in class LazyEntityTransactionData<org.neo4j.graphdb.Relationship>protected Iterable<org.neo4j.graphdb.event.PropertyEntry<org.neo4j.graphdb.Relationship>> assignedProperties()
assignedProperties in class LazyEntityTransactionData<org.neo4j.graphdb.Relationship>protected Iterable<org.neo4j.graphdb.event.PropertyEntry<org.neo4j.graphdb.Relationship>> removedProperties()
removedProperties in class LazyEntityTransactionData<org.neo4j.graphdb.Relationship>public Collection<org.neo4j.graphdb.Relationship> getCreated(org.neo4j.graphdb.Node node, org.neo4j.graphdb.RelationshipType... types)
getCreated in interface RelationshipTransactionDatanode - for which to get created relationships.types - of the created relationships. If no types are provided, all types are returned.public Collection<org.neo4j.graphdb.Relationship> getCreated(org.neo4j.graphdb.Node node, org.neo4j.graphdb.Direction direction, org.neo4j.graphdb.RelationshipType... types)
getCreated in interface RelationshipTransactionDatanode - for which to get created relationships.direction - of the created relationshipstypes - of the created relationships. If no types are provided, all types are returned.public Collection<org.neo4j.graphdb.Relationship> getDeleted(org.neo4j.graphdb.Node node, org.neo4j.graphdb.RelationshipType... types)
getDeleted in interface RelationshipTransactionDatanode - for which to get deleted relationships.types - of the deleted relationships. If no types are provided, all types are returned.public Collection<org.neo4j.graphdb.Relationship> getDeleted(org.neo4j.graphdb.Node node, org.neo4j.graphdb.Direction direction, org.neo4j.graphdb.RelationshipType... types)
getDeleted in interface RelationshipTransactionDatanode - for which to get deleted relationships.direction - of the deleted relationshipstypes - of the deleted relationships. If no types are provided, all types are returned.protected Change<org.neo4j.graphdb.Relationship> createChangeObject(org.neo4j.graphdb.Relationship candidate)
createChangeObject in class LazyEntityTransactionData<org.neo4j.graphdb.Relationship>Copyright © 2013-2016–2020 Graph Aware Limited. All rights reserved.