greenLight = confirmSave(deps);
}
if (greenLight) {
collectEntitiesToSave(deps);
collectAllItemsThatWillBeDeleted(deps);
WizardItemDeleteChecker wim = new WizardItemDeleteChecker(allItemsThatWillBeDeleted, deps);
greenLight = wim.isGreenlighted();
if (greenLight) {
orphansToDelete = wim.getOrphansToDelete();
}
}
} finally {
deps.dispose();
}