Examples of update()


Examples of com.ebspos.model.Organization.update()

  public void save() {
   
    try{
      Organization m=getModel(Organization.class);
      if(m.getLong("id")!=null){
        m.update();
      }else{
        m.save();
      }
      toDwzJson( 200, "保存成功!", navTabId);
    }catch(Exception e){
View Full Code Here

Examples of com.ebspos.model.Partment.update()

  }
  public void save() {
    try{
      Partment m=getModel(Partment.class);
      if(m.getLong("id")!=null){
        m.update();
      }else{
        m.save();
      }
      toDwzJson( 200, "保存成功!", navTabId);
    }catch(Exception e){
View Full Code Here

Examples of com.ebspos.model.Role.update()

  }
  public void save() {
    try{
      Role m=getModel(Role.class);
      if(m.getLong("id")!=null){
        m.update();
      }else{
        m.save();
      }
      toDwzJson( 200, "保存成功!", navTabId);
    }catch(Exception e){
View Full Code Here

Examples of com.echonest.api.v4.CatalogUpdater.update()

        int id = 1;

        for (String name : names) {
            ArtistCatalogItem item = new ArtistCatalogItem("id-" + id);
            item.setArtistName(name);
            updater.update(item);
            id++;
        }
        String ticket = tp.update(updater);
        return tp.waitForUpdates(ticket, 30000);
    }
View Full Code Here

Examples of com.erudika.para.core.App.update()

    return new Inflector<ContainerRequestContext, Response>() {
      public Response apply(ContainerRequestContext ctx) {
        App app = RestUtils.getPrincipalApp();
        if (app != null) {
          app.resetSecret();
          app.update();
          Map<String, String> creds = app.getCredentials();
          creds.put("info", "Save the secret key! It is showed only once!");
          return Response.ok(creds).build();
        }
        return RestUtils.getStatusResponse(Response.Status.NOT_FOUND, "App not found.");
View Full Code Here

Examples of com.espertech.esper.epl.named.NamedWindowConsumerView.update()

                                public void executePreload() {
                                    Collection<EventBean> snapshot = consumerView.snapshotNoLock(preloadFilterSpec, statementContext.getAnnotations());
                                    List<EventBean> eventsInWindow = new ArrayList<EventBean>(snapshot.size());
                                    ExprNodeUtility.applyFilterExpressionsIterable(snapshot, namedSpec.getFilterExpressions(), agentInstanceContext, eventsInWindow);
                                    EventBean[] newEvents = eventsInWindow.toArray(new EventBean[eventsInWindow.size()]);
                                    view.update(newEvents, null);
                                    if (!yesRecoveringResilient && joinPreloadMethod != null && !joinPreloadMethod.isPreloading() && agentInstanceContext.getEpStatementAgentInstanceHandle().getOptionalDispatchable() != null) {
                                        agentInstanceContext.getEpStatementAgentInstanceHandle().getOptionalDispatchable().execute(agentInstanceContext);
                                    }
                                }
                            });
View Full Code Here

Examples of com.espertech.esper.view.View.update()

            isRetainObserverEvents = true// enable retain logic in observer
            try
            {
                for (int viewIndex = 0; viewIndex < views.length; viewIndex++) {
                    View view = views[viewIndex];
                    view.update(newData, oldData);

                    // first-X asymetric view post no insert stream for events that get dropped, remove these
                    if (newDataChildView != null) {
                        for (int i = 0; i < newData.length; i++) {
                            boolean found = false;
View Full Code Here

Examples of com.esri.gpt.catalog.schema.Schema.update()

    throw e;
  }
   
  // update the document
  Document dom = schema.loadTemplate();
  schema.update(dom);
  String sXml = XmlIoUtil.domToString(dom);
  getLogger().finer("Updated template xml:\n"+sXml);
 
  // prepare the publisher
  getSelectablePublishers().setSelectedKey(getOnBehalfOf());
View Full Code Here

Examples of com.esri.ontology.service.catalog.Context.update()

      getResource(categoriesFilePath);
    URL gemetFileUrl = Thread.currentThread().getContextClassLoader().
      getResource(gemetFilePath);

    Context context = new Context();
    context.update(getServletContext());

    ContextInitializer contextInitializer =
      new ContextInitializer(context, categoriesFileUrl.toString(),
      gemetFileUrl.toString());
View Full Code Here

Examples of com.eteks.sweethome3d.j3d.Ground3D.update()

   
    if (listenToHomeUpdates) {
      // Add a listener on ground color and texture properties change
      this.groundColorAndTextureListener = new PropertyChangeListener() {
          public void propertyChange(PropertyChangeEvent ev) {
            ground3D.update();
            clearPrintedImageCache();
          }
        };
      HomeEnvironment homeEnvironment = this.home.getEnvironment();
      homeEnvironment.addPropertyChangeListener(
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.