public synchronized void delete(ResourceIdentifier identifier, User user) throws org.dbwiki.exception.WikiException {
Connection con = _connector.getConnection();
DatabaseNode node = DatabaseReader.get(con, this, (NodeIdentifier)identifier);
Version version = _versionIndex.getNextVersion(new ProvenanceDelete(user, identifier));
try {
con.setAutoCommit(false);
try {
deleteNode(con, node, version);