7475767778798081828384
root.removeBinaryResource(tx.tx, tx.broker, doc); } else { root.removeXMLResource(tx.tx, tx.broker, doc.getFileURI()); } } tx.commit(); } finally { tx.abortIfIncomplete(); } }