@Override public void nodeRenamed( NodeKey key, Path newPath, Segment oldName, Name primaryType, Set<Name> mixinTypes ) { events.add(new NodeRenamed(key, newPath, oldName, filterName(primaryType), filterNameSet(mixinTypes))); }
private Set<Name> filterNameSet( Set<Name> input ) { Set<Name> result = new HashSet<Name>(input.size()); for (Name name : input) { result.add(filterName(name)); } return result; } }
@Override public void propertyAdded( NodeKey key, Name nodePrimaryType, Set<Name> nodeMixinTypes, Path nodePath, Property property ) { events.add(new PropertyAdded(key, filterName(nodePrimaryType), filterNameSet(nodeMixinTypes), nodePath, property )); }
private Set<Name> filterNameSet( Set<Name> input ) { Set<Name> result = new HashSet<Name>(input.size()); for (Name name : input) { result.add(filterName(name)); } return result; } }
@Override public void nodeMoved( NodeKey key, Name primaryType, Set<Name> mixinTypes, NodeKey newParent, NodeKey oldParent, Path newPath, Path oldPath ) { events.add(new NodeMoved(key, filterName(primaryType), filterNameSet(mixinTypes), newParent, oldParent, newPath, oldPath )); }
@Override public void propertyChanged( NodeKey key, Name nodePrimaryType, Set<Name> nodeMixinTypes, Path nodePath, Property newProperty, Property oldProperty ) { events.add(new PropertyChanged(key, filterName(nodePrimaryType), filterNameSet(nodeMixinTypes), nodePath, newProperty, oldProperty)); }
@Override public void nodeMoved( NodeKey key, Name primaryType, Set<Name> mixinTypes, NodeKey newParent, NodeKey oldParent, Path newPath, Path oldPath ) { events.add(new NodeMoved(key, filterName(primaryType), filterNameSet(mixinTypes), newParent, oldParent, newPath, oldPath )); }
@Override public void propertyChanged( NodeKey key, Name nodePrimaryType, Set<Name> nodeMixinTypes, Path nodePath, Property newProperty, Property oldProperty ) { events.add(new PropertyChanged(key, filterName(nodePrimaryType), filterNameSet(nodeMixinTypes), nodePath, newProperty, oldProperty)); }
@Override public void nodeReordered( NodeKey key, Name primaryType, Set<Name> mixinTypes, NodeKey parent, Path newPath, Path oldPath, Path reorderedBeforePath ) { events.add(new NodeReordered(key, filterName(primaryType), filterNameSet(mixinTypes), parent, newPath, oldPath, reorderedBeforePath)); }
@Override public void nodeReordered (NodeKey key, Name primaryType, Set<Name> mixinTypes, NodeKey parent, Path newPath, Path oldPath, Path reorderedBeforePath, Map<NodeKey, Map<Path, Path>> snsPathChangesByNodeKey) { events.add(new NodeReordered(key, filterName(primaryType), filterNameSet(mixinTypes), parent, newPath, oldPath, reorderedBeforePath, snsPathChangesByNodeKey)); }
@Override public void nodeCreated( NodeKey key, NodeKey parentKey, Path path, Name primaryType, Set<Name> mixinTypes, Map<Name, Property> properties ) { events.add(new NodeAdded(key, parentKey, path, filterName(primaryType), filterNameSet(mixinTypes), properties)); }
@Override public void nodeRemoved( NodeKey key, NodeKey parentKey, Path path, Name primaryType, Set<Name> mixinTypes, Name parentPrimaryType, Set<Name> parentMixinTypes ) { events.add(new NodeRemoved(key, parentKey, path, filterName(primaryType), filterNameSet(mixinTypes), parentPrimaryType, parentMixinTypes)); }
@Override public void nodeRenamed( NodeKey key, Path newPath, Segment oldName, Name primaryType, Set<Name> mixinTypes ) { events.add(new NodeRenamed(key, newPath, oldName, filterName(primaryType), filterNameSet(mixinTypes))); }
@Override public void nodeCreated( NodeKey key, NodeKey parentKey, Path path, Name primaryType, Set<Name> mixinTypes, Map<Name, Property> properties ) { events.add(new NodeAdded(key, parentKey, path, filterName(primaryType), filterNameSet(mixinTypes), properties)); }
@Override public void nodeRemoved( NodeKey key, NodeKey parentKey, Path path, Name primaryType, Set<Name> mixinTypes, Name parentPrimaryType, Set<Name> parentMixinTypes ) { events.add(new NodeRemoved(key, parentKey, path, filterName(primaryType), filterNameSet(mixinTypes), parentPrimaryType, parentMixinTypes)); }
@Override public void nodeChanged( NodeKey key, Path path, Name primaryType, Set<Name> mixinTypes ) { events.add(new NodeChanged(key, path, filterName(primaryType), filterNameSet(mixinTypes))); }
@Override public void propertyAdded( NodeKey key, Name nodePrimaryType, Set<Name> nodeMixinTypes, Path nodePath, Property property ) { events.add(new PropertyAdded(key, filterName(nodePrimaryType), filterNameSet(nodeMixinTypes), nodePath, property )); }
@Override public void propertyRemoved( NodeKey key, Name nodePrimaryType, Set<Name> nodeMixinTypes, Path nodePath, Property property ) { events.add(new PropertyRemoved(key, filterName(nodePrimaryType), filterNameSet(nodeMixinTypes), nodePath, property )); }
@Override public void nodeReordered( NodeKey key, Name primaryType, Set<Name> mixinTypes, NodeKey parent, Path newPath, Path oldPath, Path reorderedBeforePath ) { events.add(new NodeReordered(key, filterName(primaryType), filterNameSet(mixinTypes), parent, newPath, oldPath, reorderedBeforePath)); }
@Override public void propertyRemoved( NodeKey key, Name nodePrimaryType, Set<Name> nodeMixinTypes, Path nodePath, Property property ) { events.add(new PropertyRemoved(key, filterName(nodePrimaryType), filterNameSet(nodeMixinTypes), nodePath, property )); }