protected boolean containsChangesWithExternalDependencies ( AtomicReference < Set < NodeKey > > affectedNodeKeys ) throws RepositoryException { Set < NodeKey > allChanges = sessionCache ( ) . getChangedNodeKeys ( ) ; Set < NodeKey > changesAtOrBelowThis = sessionCache ( ) . getChangedNodeKeysAtOrBelow ( this . node ( ) ) ; removeReferrerChanges ( allChanges , changesAtOrBelowThis ) ; if ( affectedNodeKeys != null ) affectedNodeKeys . set ( changesAtOrBelowThis ) ; return ! changesAtOrBelowThis . containsAll ( allChanges ) ; }
Determines whether this node or any nodes below it contain changes that depend on nodes that are outside of this node s hierarchy .