document.reload();
if (version.getCounter() > -1 && document.getRecordVersion().compareTo(version) != 0) // check for record version errors
if (OFastConcurrentModificationException.enabled())
throw OFastConcurrentModificationException.instance();
else
throw new OConcurrentModificationException(document.getIdentity(), document.getRecordVersion(), version,
ORecordOperation.DELETED);
}
final ODocumentFieldWalker documentFieldWalker = new ODocumentFieldWalker();
final RidBagDeleter ridBagDeleter = new RidBagDeleter();