Examples of update()


Examples of nz.co.abrahams.asithappens.uiutil.SetDisplayDAO.update()

                statement.setInt(1, graphOptionsID);
                statement.setInt(2, set);
                results = statement.executeQuery();
                results.next();
                logger.info("SetDisplayID: " + results.getInt(1));
                displayDAO.update(results.getInt(1), options.getSetDisplay(set));
                results.close();
                statement.close();
            }
            displayDAO.closeConnection();
           
View Full Code Here

Examples of org.aavso.tools.vstar.util.property.ApplicationProperties.update()

      // systems. The frame stored within appProps cannot be GC'd
      // until appProps is, so its state will still be valid at the
      // time run() is invoked.
      Runnable shutdownTask = new Runnable() {
        public void run() {
          appProps.update();
        }
      };

      Runtime.getRuntime().addShutdownHook(
          new Thread(shutdownTask, "Application shutdown task"));
View Full Code Here

Examples of org.activiti.engine.impl.db.DbSqlSession.update()

        for (Execution execution : executions) {
            if (execution instanceof ExecutionEntity) {
                ((ExecutionEntity) execution)
                        .setProcessDefinitionId(processDefinitionId);
                dbSqlSession.update((ExecutionEntity) execution);
            }
        }

        // 操作Job表
        List<Job> jobs = new JobQueryImpl(commandContext).processInstanceId(
View Full Code Here

Examples of org.ajax4jsf.model.SerializableDataModel.update()

    ExtendedDataModel dataModel = getExtendedDataModel();
    // If no validation errors, update values for serializable model,
    // restored from view.
    if (dataModel instanceof SerializableDataModel && (!keepSaved(faces))) {
      SerializableDataModel serializableModel = (SerializableDataModel) dataModel;
      serializableModel.update();
    }

  }

  public void processUpdates(FacesContext faces) {
View Full Code Here

Examples of org.alfresco.webservice.repository.RepositoryServiceSoapBindingStub.update()

      cmlDelete.setWhere(predicate);
     
      CML cml = new CML();
      cml.setDelete(new CMLDelete[]{cmlDelete});
     
      repositoryService.update(cml);
     
    } finally {
      AuthenticationUtils.endSession();
    }
  }
View Full Code Here

Examples of org.any_openeai_enterprise.moa.jmsobjects.coreapplication.v1_0.EnterpriseUserPassword.update()

      // todo - use producer pool
      if (doCreate == false) {
        LogService.log(LogService.INFO,
          "[EnterpriseUserPasswordUpdateHandler] built " + messageObjectName +
          " from form data, performing Update...");
        eup.update((PointToPointProducer)getAppConfig().getObject(producerName));
        LogService.log(LogService.INFO,
          "[EnterpriseUserPasswordUpdateHandler] " + messageObjectName +
          " update is done.");
      }
      else {
View Full Code Here

Examples of org.apache.abdera.protocol.client.cache.Cache.update()

              MethodHelper.createMethod(
                method, uri, entity, options);
            client.executeMethod(httpMethod);
            ClientResponse response = new CommonsResponse(abdera,httpMethod);
            return (options.getUseLocalCache()) ?
              response = cache.update(options, response, cached_response) :
              response;
        }
      } catch (Throwable t) {
        throw new ClientException(t);
      }
View Full Code Here

Examples of org.apache.accumulo.core.client.impl.Writer.update()

    t = getMetadataTable(credentials);
    if (zooLock != null)
      putLockID(zooLock, m);
    while (true) {
      try {
        t.update(m);
        return;
      } catch (AccumuloException e) {
        log.error(e, e);
      } catch (AccumuloSecurityException e) {
        log.error(e, e);
View Full Code Here

Examples of org.apache.accumulo.master.state.MergeStats.update()

          TServerInstance server = tls.getServer();
          TabletState state = tls.getState(currentTServers.keySet());
          if (Master.log.isTraceEnabled())
            Master.log.trace("Goal state " + goal + " current " + state);
          stats.update(tableId, state);
          mergeStats.update(tls.extent, state, tls.chopped, !tls.walogs.isEmpty());
          sendChopRequest(mergeStats.getMergeInfo(), state, tls);
          sendSplitRequest(mergeStats.getMergeInfo(), state, tls);
         
          // Always follow through with assignments
          if (state == TabletState.ASSIGNED) {
View Full Code Here

Examples of org.apache.accumulo.server.master.state.MergeStats.update()

 
  private MergeStats scan(MockCurrentState state, MetaDataStateStore metaDataStateStore) {
    MergeStats stats = new MergeStats(state.mergeInfo);
    stats.getMergeInfo().setState(MergeState.WAITING_FOR_OFFLINE);
    for (TabletLocationState tss : metaDataStateStore) {
      stats.update(tss.extent, tss.getState(state.onlineTabletServers()), tss.chopped, false);
    }
    return stats;
  }
}
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.