Examples of commit()


Examples of org.pentaho.reporting.engine.classic.core.layout.process.util.OrphanContext.commit()

  }

  protected void finishBox(final RenderBox box)
  {
    final OrphanContext oldContext = context;
    context = oldContext.commit(box);
    contextPool.free(oldContext);

    if (box.isInvalidWidowOrphanNode())
    {
      invalidNodeFound = true;

Examples of org.pentaho.reporting.engine.classic.core.layout.process.util.WidowContext.commit()

  }

  protected void finishBox(final RenderBox box)
  {
    final WidowContext oldContext = context;
    context = oldContext.commit(box);
    contextPool.free(oldContext);

    if (box.isInvalidWidowOrphanNode())
    {
      invalidNodeFound = true;

Examples of org.pentaho.reporting.engine.classic.core.states.process.ProcessState.commit()

      }

      //progress = state.createStateProgress(progress);
      final ProcessState nextState = state.advance();
      state.setErrorHandler(IgnoreEverythingReportErrorHandler.INSTANCE);
      state = nextState.commit();

      if (errorHandler.isErrorOccured() == true)
      {
        final List childExceptions = Arrays.asList(errorHandler.getErrors());
        errorHandler.clearErrors();

Examples of org.persvr.data.Transaction.commit()

        Persistable customer2 = Persevere.newObject("Customer");
        customer2.set("firstName", "Jim");
        customer2.set("lastName", "Jones");
        customer2.set("age", 33);
      }
      transaction.commit();
    }
    catch (ObjectNotFoundException e){
     
    }
  }

Examples of org.photovault.dbhelper.ODMGXAWrapper.commit()

       
        try {
            OQLQuery query = odmg.newOQLQuery();
            query.create( oql );
            profiles = (List) query.execute();
            txw.commit();
        } catch (Exception e ) {
            log.warn( "Error fetching record: " + e.getMessage() );
            txw.abort();
            return null;
        }

Examples of org.picketlink.identity.federation.core.wstrust.auth.STSIssuingLoginModule.commit()

        final Object token = loginModule.getSharedToken();
        assertNotNull(token);
        assertTrue(token instanceof Element);

        // Simulate Phase 2
        assertTrue(loginModule.commit());

        final Set<SamlCredential> samlCredentials = subject.<SamlCredential> getPublicCredentials(SamlCredential.class);
        assertEquals(1, samlCredentials.size());
    }

Examples of org.picketlink.identity.federation.core.wstrust.auth.STSValidatingLoginModule.commit()

        // Simulate Phase 1
        assertTrue(loginModule.login());

        // Simulate Phase 2
        assertTrue(loginModule.commit());

        final Set<SamlCredential> samlCredentials = subject.<SamlCredential> getPublicCredentials(SamlCredential.class);
        assertEquals(1, samlCredentials.size());
    }

Examples of org.projectodd.stilts.stomp.client.ClientTransaction.commit()

        ClientSubscription subscription = builder.start();

        ClientTransaction tx = client.begin();
        tx.send(StompMessages.createStompMessage(DESTINATION_QUEUE_ONE, "msg1"));
        tx.send(StompMessages.createStompMessage(DESTINATION_QUEUE_ONE, "msg2"));
        tx.commit();

        Assert.assertTrue("No latch timeout", outboundLatch.await(3, TimeUnit.SECONDS));
        Assert.assertTrue("Contains msg1", outbound.contains("msg1"));
        Assert.assertTrue("Contains msg2", outbound.contains("msg2"));

Examples of org.restlet.ext.sip.SipResponse.commit()

        trace();

        // Indicate successful reception
        SipResponse provisionalResponse = new SipResponse(getRequest());
        provisionalResponse.setStatus(SipStatus.INFO_TRYING);
        provisionalResponse.commit();

        sleep();

        // Indicate that the user phone is ringing
        provisionalResponse = new SipResponse(getRequest());

Examples of org.sindice.siren.demo.SimpleIndexer.commit()

        logger.info("Indexing document {}", id);
        indexer.addDocument(id, content);
      }
      LineIterator.closeQuietly(it);
      logger.info("Commiting all pending documents");
      indexer.commit();
    }
    finally {
      logger.info("Closing index");
      indexer.close();
    }
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.