it = removedDE.iterator();
while (it.hasNext()) {
Entity e = (Entity) it.next();
entityEvent.setEntity(e);
entityEvent.setId(MapEvent.REMOVE);
mediator.fireDbEntityEvent(entityEvent);
}
// queries
Collection addedQueries = CollectionUtils.subtract(newQueries, originalQueries);
it = addedQueries.iterator();