Examples of update()


Examples of com.sonymobile.backlogtool.dbupdate.DbUpdater.update()

            }
            //Attempt to run all updates in order
            Collections.sort(updateList);
            for (DbUpdater updater : updateList) {
                if (updater.getFromVersion() == schemaVersion.getVersion()) {
                    boolean success = updater.update(sessionFactory);
                    String updateName = updater.getClass().getSimpleName();
                    if (success) {
                        System.out.println("Ran schema update " + updateName);
                        System.out.println("New schema version " + updater.getToVersion());
                        schemaVersion.setVersion(updater.getToVersion());
View Full Code Here

Examples of com.starbase.starteam.Folder.update()

        if (file.isDirectory()) {
            log("Adding new folder to repository: " + file.getAbsolutePath(),
                    Project.MSG_INFO);
            Folder newFolder = new Folder(parentFolder);
            newFolder.setName(file.getName());
            newFolder.update();

            // now visit this new folder to take care of adding any files
            // or subfolders within it.
            if (isRecursive()) {
                visit(newFolder, file);
View Full Code Here

Examples of com.starbase.starteam.Item.update()

            if (this.isActive()) {
                Enumeration e = this.keys();
                while (e.hasMoreElements()) {
                    java.io.File local = (java.io.File) e.nextElement();
                    Item remoteItem = (Item) this.get(local);
                    remoteItem.update();

                    // once we find a folder that isn't in the repository,
                    // we know we can add it.
                    if (local.isDirectory()) {
                        Folder folder = (Folder) remoteItem;
View Full Code Here

Examples of com.stripe.model.Customer.update()

  @Test(expected=InvalidRequestException.class)
  public void testCustomerUpdateToBlank() throws StripeException {
    Customer createdCustomer = Customer.create(defaultCustomerParams);
    Map<String, Object> updateParams = new HashMap<String, Object>();
    updateParams.put("description", "");
    createdCustomer.update(updateParams);
  }

  @Test
  public void testCustomerUpdateToNull() throws StripeException {
    Customer createdCustomer = Customer.create(defaultCustomerParams);
View Full Code Here

Examples of com.stripe.model.Refund.update()

    Map<String, String> metadata = new HashMap<String, String>();
    metadata.put("foo", "bar");

    Map<String, Object> updateParams = new HashMap<String, Object>();
    updateParams.put("metadata", metadata);
    refund = refund.update(updateParams, Stripe.apiKey);

    assertEquals("bar", refund.getMetadata().get("foo"));
  }

  @Test
View Full Code Here

Examples of com.structis.fichesst.client.service.ClientFicheStServiceAsync.update()

        model.setPenalties(getPenaltySaved());
       
        ClientFicheStServiceAsync clientFicheStService = ClientFicheStServiceAsync.Util.getInstance();
       
        if (ficheStId != null && ficheStId > 0) {
          clientFicheStService.update(model, callback);
        } else {
          clientFicheStService.save(model, callback);
        }
      }
    });
View Full Code Here

Examples of com.subgraph.orchid.crypto.TorMessageDigest.update()

  private void doFirstSignature() {
    seenFirstSignature = true;
    fieldParser.endSignedEntity();
    final TorMessageDigest messageDigest = fieldParser.getSignatureMessageDigest();
    messageDigest.update("directory-signature ");
    document.setSigningHash(messageDigest.getHexDigest());
   
    TorMessageDigest messageDigest256 = fieldParser.getSignatureMessageDigest256();
    messageDigest256.update("directory-signature ");
    document.setSigningHash256(messageDigest256.getHexDigest());
View Full Code Here

Examples of com.subhajit.processmanager.api.IHeartbeatRepository.update()

                .forName(heartbeatRepositoryClassName)
                .getConstructor(String.class).newInstance(uid);
            final IHeartbeat heartbeat = new Heartbeat(System
                .currentTimeMillis(), uid, jmxUrl0);
            while (true) {
              repository.update(heartbeat);
              Thread.sleep(IHeartbeat.INTERVAL);
            }
          } catch (InterruptedException exc) {
            Thread.currentThread().interrupt();
            return;
View Full Code Here

Examples of com.sun.codemodel.JForLoop.update()

      JConditional _ifListIsTooSmall = body._if(list.invoke("size").lte(index));
      JBlock _ifListIsTooSmallThen = _ifListIsTooSmall._then();
      JForLoop _for = _ifListIsTooSmallThen._for();
      JVar i = _for.init(INT, "i", list.invoke("size"));
      _for.test(i.lte(index));
      _for.update(i.incr());
      _for.body().invoke(list, "add").arg(JExpr._null());

      JVar element = body.decl(elementClass, "value", list.invoke("get").arg(index));
      JConditional _ifElementIsNull = body._if(element.eq(JExpr._null()));
      JBlock _ifElementIsNullThen = _ifElementIsNull._then();
View Full Code Here

Examples of com.sun.codemodel.internal.JForLoop.update()

                    $len)));

        JForLoop _for = $setAll.body()._for();
        JVar $i = _for.init( codeModel.INT, "i", JExpr.lit(0) );
        _for.test( JOp.lt($i,$len) );
        _for.update( $i.incr() );
        _for.body().assign(acc.ref(true).component($i), castToImplType(acc.box($value.component($i))));

        writer.javadoc().addParam($value)
            .append("allowed objects are\n")
            .append(returnTypes);
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.