Package org.openntf.domino.types

Examples of org.openntf.domino.types.DatabaseDescendant


  public void commit() {
    // System.out.println("Committing transaction with update size " + getUpdateQueue().size());
    isCommitting_ = true;
    Queue<DatabaseDescendant> uq = getUpdateQueue();
    //    synchronized (uq) {
    DatabaseDescendant next = uq.poll();
    while (next != null) {
      if (next instanceof Document) {
        boolean result = ((Document) next).save();
        if (!result) {
          // System.out.println("Transaction document save failed.");
View Full Code Here


  public void rollback() {
    // TODO - NTF release locks
    Queue<DatabaseDescendant> uq = getUpdateQueue();
    //    synchronized (uq) {
    DatabaseDescendant next = uq.poll();
    while (next != null) {
      if (next instanceof org.openntf.domino.Document) {
        org.openntf.domino.Document doc = (org.openntf.domino.Document) next;
        doc.rollback();
        if (isDocLock(doc)) {
View Full Code Here

TOP

Related Classes of org.openntf.domino.types.DatabaseDescendant

Copyright © 2018 www.massapicom. 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.