Examples of ProvenanceDelete


Examples of org.dbwiki.data.provenance.ProvenanceDelete

  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);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.