if (keep) {
// if the page is to be kept, store it
newPageDB.addPage(page);
} else {
// otherwise announce it to the modules so they can take appropiate action
CommandWithDoc cmd = new CommandWithDoc("delete", doc);
modules.applyCommand(cmd);
}
} else { // the page could be fetched.