Examples of update()


Examples of org.xmldb.api.modules.CollectionManagementService.update()

                    } else if ("update".equals(operation)) {
                        try {
                            XUpdateQueryService service =
                                    (XUpdateQueryService) collection.getService("XUpdateQueryService", "1.0");
                            long count = (this.key == null)?
                                    service.update(document) : service.updateResource(this.key, document);
                            message = count + " entries updated.";
                            result = "success";
                        } catch (XMLDBException e) {
                            message = "Failed to update resource " + key + ": " + e.errorCode;
                            getLogger().debug(message, e);
View Full Code Here

Examples of org.xmldb.api.modules.XUpdateQueryService.update()

                } else if("update".equals(operation)) {
                    try {
                        XUpdateQueryService service =
                                (XUpdateQueryService) collection.getService("XUpdateQueryService", "1.0");
                        long count = (this.key == null)?
                                service.update(document) : service.updateResource(this.key, document);
                        message = count + " entries updated.";
                        result = "success";
                    } catch (XMLDBException e) {
                        message = "Failed to update resource " + key + ": " + e.errorCode;
                        getLogger().debug(message, e);
View Full Code Here

Examples of org.zkoss.zss.ui.impl.MergeMatrixHelper.update()

    int fzc = getColumnfreeze();
    if(mmhelper==null){
      mmhelper = new MergeMatrixHelper(sheet.getMergeRanges(),fzr,fzc);
      setAttribute(MERGE_MATRIX_KEY, mmhelper);
    }else{
      mmhelper.update(fzr, fzc);
    }
    return mmhelper;
  }
 
  private HeaderPositionHelper getRowPositionHelper(Sheet sheet){
View Full Code Here

Examples of penny.recmd5.MD5MessageDigest.update()

            MD5MessageDigest md5 = new MD5MessageDigest();
            in = new FileInputStream(file);
            byte[] buffer = new byte[10240];
            int read = in.read(buffer);
            while (read != -1) {
                md5.update(buffer, 0, read);
                read = in.read(buffer);
            }
            md5.digest();
            return md5.getState();
        } catch (FileNotFoundException ex) {
View Full Code Here

Examples of pivot.collections.Sequence.Tree.Path.update()

                if (!Sequence.Tree.isDescendant(basePath, affectedPath)) {
                    // All paths from here forward are guaranteed to be unaffected
                    break;
                }

                affectedPath.update(depth, affectedPath.get(depth) + 1);
            }
        }

        /**
         * Updates the paths within the specified sequence in response to items
View Full Code Here

Examples of pivot.wtk.effects.Decorator.update()

                componentGraphics.dispose();

                // Update the decorators
                for (int i = 0; i < n; i++) {
                    Decorator decorator = decorators.get(i);
                    decorator.update();
                }
            }
        }
    }
View Full Code Here

Examples of pl.balon.gwt.diagrams.client.connection.Connection.update()

   * @see pl.balon.gwt.diagrams.client.connector.Connector#update()
   */
  public void update() {
    for (Iterator i = connections.iterator(); i.hasNext();) {
      Connection c = (Connection) i.next();
      c.update();
    }
  }

  public Collection/*<Connection>*/ getConnections(){
    return connections;
View Full Code Here

Examples of pl.icedev.rmi.RMIServer.update()

        new Thread(new Runnable() {
            public void run() {
                try {
                    System.out.println("Listening.");
                    while (true) {
                        serv.update(-1);
                    }
                } catch (IOException e) {
                    e.printStackTrace();
                }
            }
View Full Code Here

Examples of pl.icedev.rpc.server.NIOServer.update()

        JSONRPCHandler handler = new JSONRPCHandler(service, "test");
        NIOServer nios = new NIOServer("localhost", 6949, handler);

        System.out.println("Server running...");
        while (true) {
            nios.update(-1);
        }
    }

}
View Full Code Here

Examples of pl.zgora.uz.wmie.fe.sps.business.service.AcademyService.update()

      academy.setRegistrationDate(new Date());
      academy.setUserLogin(academyLogin);
      academy.setUserPassword(academyPassword);

      try {
        academyService.update(academy);
      } catch (Exception e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
      }
      req.setAttribute("refreshTableFunction", "refreshAcademyTable");
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.