public class FilteredNodeTransactionData extends FilteredEntityTransactionData<org.neo4j.graphdb.Node> implements NodeTransactionData
FilteredEntityTransactionData for Nodes.policies| Constructor and Description |
|---|
FilteredNodeTransactionData(NodeTransactionData wrapped,
InclusionPolicies policies)
Construct filtered node transaction data.
|
| Modifier and Type | Method and Description |
|---|---|
Set<org.neo4j.graphdb.Label> |
assignedLabels(org.neo4j.graphdb.Node node)
Get labels assigned in the transaction.
|
protected org.neo4j.graphdb.Node |
filtered(org.neo4j.graphdb.Node original)
Create a filtered instance of a entity.
|
protected EntityInclusionPolicy<org.neo4j.graphdb.Node> |
getEntityInclusionPolicy()
Get entity inclusion policy for the appropriate entity.
|
protected PropertyInclusionPolicy<org.neo4j.graphdb.Node> |
getPropertyInclusionPolicy()
Get property inclusion policy for the appropriate entity.
|
protected NodeTransactionData |
getWrapped()
Get the wrapped/decorated
EntityTransactionData. |
protected boolean |
hasChanged(Change<org.neo4j.graphdb.Node> candidate) |
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.
|
Set<org.neo4j.graphdb.Label> |
removedLabels(org.neo4j.graphdb.Node node)
Get labels removed in the transaction.
|
changedProperties, createdProperties, deletedProperties, filterChangedEntities, filteredChange, filterEntities, filterProperties, getAllChanged, getAllCreated, getAllDeleted, getChanged, getDeleted, hasBeenChanged, hasBeenCreated, hasBeenDeleted, hasPropertyBeenChanged, hasPropertyBeenCreated, hasPropertyBeenDeleted, propertiesOfDeletedEntityclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchangedProperties, createdProperties, deletedProperties, getAllChanged, getAllCreated, getAllDeleted, getChanged, getDeleted, hasBeenChanged, hasBeenCreated, hasBeenDeleted, hasPropertyBeenChanged, hasPropertyBeenCreated, hasPropertyBeenDeleted, propertiesOfDeletedEntitypublic FilteredNodeTransactionData(NodeTransactionData wrapped, InclusionPolicies policies)
wrapped - wrapped node transaction data.policies - for filtering.protected NodeTransactionData getWrapped()
EntityTransactionData.getWrapped in class FilteredEntityTransactionData<org.neo4j.graphdb.Node>protected org.neo4j.graphdb.Node filtered(org.neo4j.graphdb.Node original)
filtered in class FilteredEntityTransactionData<org.neo4j.graphdb.Node>original - instance to be wrapped in the filtering decorator.protected EntityInclusionPolicy<org.neo4j.graphdb.Node> getEntityInclusionPolicy()
getEntityInclusionPolicy in class FilteredEntityTransactionData<org.neo4j.graphdb.Node>protected PropertyInclusionPolicy<org.neo4j.graphdb.Node> getPropertyInclusionPolicy()
getPropertyInclusionPolicy in class FilteredEntityTransactionData<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 boolean hasChanged(Change<org.neo4j.graphdb.Node> candidate)
hasChanged in class FilteredEntityTransactionData<org.neo4j.graphdb.Node>Copyright © 2013-2016–2020 Graph Aware Limited. All rights reserved.