Example #1
0
 PropertyData relAddProperty(RelationshipImpl rel, PropertyIndex index, Object value) {
   if (!relationshipPropertyTrackers.isEmpty()) {
     for (PropertyTracker<Relationship> relPropertyTracker : relationshipPropertyTrackers) {
       relPropertyTracker.propertyAdded(getRelationshipById(rel.getId()), index.getKey(), value);
     }
   }
   return persistenceManager.relAddProperty(rel.getId(), index, value);
 }
Example #2
0
 PropertyData nodeAddProperty(NodeImpl node, PropertyIndex index, Object value) {
   if (!nodePropertyTrackers.isEmpty()) {
     for (PropertyTracker<Node> nodePropertyTracker : nodePropertyTrackers) {
       nodePropertyTracker.propertyAdded(getNodeById(node.getId()), index.getKey(), value);
     }
   }
   return persistenceManager.nodeAddProperty(node.getId(), index, value);
 }