Examples of update()


Examples of DAO.ParametrosDao.update()

    public void buscarParametros() {
        parametros = parDao.consultarPorId();
    }
    public void atualizarParametro(){
        ParametrosDao obj = new ParametrosDao();
        obj.update(this.parametros);
        FacesMessage msg = new FacesMessage("Os Parâmetros foram alterados com sucesso!", "");
        FacesContext.getCurrentInstance().addMessage("", msg);
    }
}
View Full Code Here

Examples of Express.services.interfaces.IBusinessMgr.update()

                for (BusinessQuery f : qq_localVector) {
                    mgrIndex = query.getForeignAttrMgr(f.getParentAttr());
                    if (mgrIndex > 0) {
                        mgr = this.getForeignMgrs().get(mgrIndex-1);
                        if (!(mgr.getReadOnly())) {
                            mgr.update(f);
                        }
                    }
                }
            }
        }
View Full Code Here

Examples of FileBugManager.BugUpdater.update()

                SwingWorker worker = new SwingWorker() {

                    @Override
                    protected String doInBackground() throws InterruptedException {
                        BugUpdater bugUpdater = new BugUpdater();
                        bugUpdater.update(true);
                        return null;
                    }

                    @Override
                    protected void done() {
View Full Code Here

Examples of Models.AuthorModel.update()

      
        author.setLocation(txtAuthorLocation.getText());
        author.setDetails(txtAuthorDetails.getText());
       
        AuthorModel authorModel = new AuthorModel();
        int update_flag = authorModel.update(author);
        if(update_flag == 1){
            //tableModel.fireTableRowsUpdated(row-1, row+1);
            tableModel.fireTableDataChanged();
            jDialog1.dispose();
            JOptionPane.showMessageDialog(this, "Author "+author.getFull_name()+" updated!", "Success!", JOptionPane.INFORMATION_MESSAGE);
View Full Code Here

Examples of View.GUI.update()

    GUI gui = GUI.getInstance();

    /* Boucle de jeu */
    while (!game.isFinished()) {
      game.step();
      gui.update();
    }
    JFrame fin;
    fin = new JFrame();
    fin.setResizable(false);
    fin.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
View Full Code Here

Examples of acme.dataapp.Flights.update()

        String flight = (String) o.get("flight");
        String depart = (String) o.get("depart");
        String arrive = (String) o.get("arrive");
        String time = (String) o.get("time");
        String flightTime = (String) o.get("flighttime");
        fs.update(flight, depart, arrive, time, flightTime);

      }

      else if (path.contains("/api/fc/")) {
        // Creates a new flight status
View Full Code Here

Examples of aitgame.tilegame.sprites.Creature.update()

      if(!checkPeopleCollision(person, elapsedTime, collisionAndUpdate.iterator(),
          iOnlyCollision.iterator())){
        checkTileCollision(person, elapsedTime);
      }

      person.update(elapsedTime);
     
      //Looks for people and objects that can be contacted.
      person.removeContacts();
      checkContactCollision(person, elapsedTime, collisionAndUpdate.iterator(),
          iOnlyCollision.iterator(), itemSprites.iterator());
View Full Code Here

Examples of au.org.intersect.samifier.domain.ProteinLocation.update()

        for (ProteinLocation location : locations) {
            ProteinLocation loc = proteinMap.get(location.getStartIndex());
            if (loc == null) {
                proteinMap.put(location.getStartIndex(), location);
            } else {
               loc.update(location);
            }
        }
        ArrayList<ProteinLocation> proteinList = new ArrayList<ProteinLocation>(proteinMap.values());
        return proteinList;
    }
View Full Code Here

Examples of beans.discount.card.DiscountCardBeanRemote.update()

            for (int i = 0; i < list.size(); i++) {
                DiscountCard discountCard = (DiscountCard) list.get(i);
                cardBeanRemote.initByID(discountCard.getId(), getSessionId());
                DiscountCardDetails details = (DiscountCardDetails) cardBeanRemote.getDetails();
                details.collaboratorBlockerID = getCollaboratorId();
                cardBeanRemote.update(details);
            }
        } catch (ClipsServerException ex) {
            throw new ENotMoveToTrash("Ошибка при блокировке диск. карты", ex);
        }
       
View Full Code Here

Examples of beans.doctor.diagnosis.DiagnosisBeanRemote.update()

            } else {
                d.stage = 0;
            }
            d.complicationID = dc.complicationID;
            d.traumaTypeID = dc.trawmaTypeID;
            ModificationInfo info = bean.update(d);
            int id = info.getId();
            auditDetailsList.addAll(info.getAudit());
            manager.flush();
            if (dc.diagTypeID != 0) {
                if (mainDiagId != 0) {
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.