@Override public void nodeSequenced( NodeKey sequencedNodeKey, Path sequencedNodePath, Name sequencedNodePrimaryType, Set<Name> sequencedNodeMixinTypes, NodeKey outputNodeKey, Path outputNodePath, String outputPath, String userId, String selectedPath, String sequencerName ) { events.add(new NodeSequenced(sequencedNodeKey, sequencedNodePath, filterName(sequencedNodePrimaryType), filterNameSet(sequencedNodeMixinTypes), outputNodeKey, outputNodePath, outputPath, userId, selectedPath, sequencerName)); }
firePropertyChanges(lastKey, lastPrimaryType, lastMixinTypes, propChanges); NodeSequenced s = (NodeSequenced) change; sequenced(workspaceName, s.getKey(), s.getPath(), s.getPrimaryType(), s.getMixinTypes(), s.getOutputNodeKey(), s.getOutputNodePath(), s.getOutputPath(), s.getUserId(), s.getSelectedPath(), s.getSequencerName()); } else if (change instanceof NodeSequencingFailure) { firePropertyChanges(lastKey, lastPrimaryType, lastMixinTypes, propChanges);
events.add(new JcrEvent(bundle, NODE_SEQUENCED, stringFor(sequencedChange.getOutputNodePath()), nodeIdentifier(sequencedChange.getOutputNodeKey()), infoMap, primaryType, mixinTypes)); } else if (nodeChange instanceof NodeSequencingFailure && eventListenedFor(NODE_SEQUENCING_FAILURE)) {
firePropertyChanges(lastKey, lastPrimaryType, lastMixinTypes, propChanges); NodeSequenced s = (NodeSequenced) change; sequenced(workspaceName, s.getKey(), s.getPath(), s.getPrimaryType(), s.getMixinTypes(), s.getOutputNodeKey(), s.getOutputNodePath(), s.getOutputPath(), s.getUserId(), s.getSelectedPath(), s.getSequencerName()); } else if (change instanceof NodeSequencingFailure) { firePropertyChanges(lastKey, lastPrimaryType, lastMixinTypes, propChanges);
events.add(new JcrEvent(bundle, NODE_SEQUENCED, stringFor(sequencedChange.getOutputNodePath()), nodeIdentifier(sequencedChange.getOutputNodeKey()), infoMap, primaryType, mixinTypes)); } else if (nodeChange instanceof NodeSequencingFailure && eventListenedFor(NODE_SEQUENCING_FAILURE)) {
@Override public void nodeSequenced( NodeKey sequencedNodeKey, Path sequencedNodePath, Name sequencedNodePrimaryType, Set<Name> sequencedNodeMixinTypes, NodeKey outputNodeKey, Path outputNodePath, String outputPath, String userId, String selectedPath, String sequencerName ) { events.add(new NodeSequenced(sequencedNodeKey, sequencedNodePath, filterName(sequencedNodePrimaryType), filterNameSet(sequencedNodeMixinTypes), outputNodeKey, outputNodePath, outputPath, userId, selectedPath, sequencerName)); }