use of org.apache.jackrabbit.jcr2spi.hierarchy.HierarchyEntry in project jackrabbit by apache.
the class RemoveActivity method persisted.
/**
* Invalidates the <code>NodeState</code> that has been updated and all
* its descendants. Second, the parent state gets invalidated.
*
* @see org.apache.jackrabbit.jcr2spi.operation.Operation#persisted()
*/
public void persisted() {
assert status == STATUS_PENDING;
status = STATUS_PERSISTED;
// invalidate all references to the removed activity
while (refs.hasNext()) {
HierarchyEntry entry = hMgr.lookup(refs.next());
if (entry != null) {
entry.invalidate(false);
}
}
// invalidate the activities parent
parent.getNodeEntry().invalidate(false);
}
Aggregations