Examples of update()


Examples of org.opencustomer.db.dao.system.UsergroupDAO.update()

            }
            else
            {
                if (log.isDebugEnabled())
                    log.debug("save usergroup (ID:" + usergroup.getId() + ")");
                dao.update(usergroup, activeUser);
            }
        }
        catch (HibernateException e)
        {
            log.error("problems saving usergroup", e);
View Full Code Here

Examples of org.opencustomer.webapp.module.calendar.util.CalendarView.update()

            panel.setAttribute("reference_day", cal.getTime());
        }
        else if (update)
        {
            calendarView.update();
        }
       
        if(!errors.isEmpty())
            saveErrors(request, errors);
    }
View Full Code Here

Examples of org.openeai.moa.jmsobjects.JmsEnterpriseObject.update()

      LogService.log(LogService.INFO, "[GeneralUpdateHandler] built " + messageObjectName + " from form data, performing Update...");

      // todo - use producer pool
      // todo - map producer name based on message object since different message
      // objects may be going against different sources.
      newJeo.update((PointToPointProducer)getAppConfig().getObject(producerName));
      LogService.log(LogService.INFO, "[GeneralUpdateHandler] " + messageObjectName + " update is done.");

      xml = INITIAL_XML;
      xml += newJeo.getXmlEnterpriseObject().toXmlString();
    }
View Full Code Here

Examples of org.openengsb.core.edb.api.EDBCommit.update()

        EDBObject obj = edbService.getObject("newtestobject2");
        obj.putEDBObjectEntry(EDBConstants.MODEL_VERSION, Integer.valueOf(0));
        obj.putEDBObjectEntry("test", "test");

        commit.update(obj);
        edbService.commit(commit);
    }

    @Test
    public void testFileSaving_shouldWork() throws Exception {
View Full Code Here

Examples of org.opennebula.client.datastore.Datastore.update()

        res = Host.allocate(client, "host_B",
                            "dummy", "dummy", "dummy");
        hid_B = Integer.parseInt( res.getMessage() );

        Datastore systemDs = new Datastore(0, client);
        systemDs.update("TM_MAD = dummy");
    }

    /**
     * @throws java.lang.Exception
     */
 
View Full Code Here

Examples of org.openoffice.gdocs.util.Wrapper.update()

                        if (fi.getLength()!=file.length()) update = true;
                        if (update) {
                            log.add("need to update file "+fi.getfName()+" with docID="+fi.getDocumentLink()+" with mimeType="+fi.getFormat().getMimeType());
                            needToUpdateList=true;
                            try {
                                wrapper.update(fi.getfName(),fi.getDocumentLink(),fi.getFormat().getMimeType());
                                fi.setLastModified(file.lastModified());
                                fi.setLength(file.length());
                                log.add("updated!");
                            } catch (Exception e) {
                                log(e);
View Full Code Here

Examples of org.openstreetmap.josm.data.projection.CustomProjection.update()

                @Override
                public final boolean isValid() {
                    try {
                        CustomProjection test = new CustomProjection();
                        test.update(input.getText());
                    } catch (ProjectionConfigurationException ex) {
                        error = ex.getMessage();
                        valStatus.setIcon(ImageProvider.get("data", "error.png"));
                        valStatus.setVisible(true);
                        errorsPanel.setText(error);
View Full Code Here

Examples of org.openstreetmap.osmosis.replicationhttp.v0_6.impl.SequenceServer.update()

    // Configure a listener to send sequence number events from the
    // client to the server.
    SequenceNumberClientListener numberListener = new SequenceNumberClientListener() {
      @Override
      public void notifySequenceNumber(long sequenceNumber) {
        server.update(sequenceNumber);
      }
    };

    // Create a sequence client restart manager so that our sequence
    // client continues processing in the face of temporary connectivity
View Full Code Here

Examples of org.opentripplanner.routing.edgetype.Timetable.update()

        tripUpdateBuilder.setTrip(tripDescriptorBuilder);
        tripUpdateBuilder.addStopTimeUpdate(0, stopTimeUpdateBuilder);

        TripUpdate tripUpdate = tripUpdateBuilder.build();

        assertTrue(timetable.update(tripUpdate, timeZone, serviceDate));
    }

    public void testStopToStopTransfer() throws Exception {
        // Replace the transfer table with an empty table
        TransferTable table = new TransferTable();
View Full Code Here

Examples of org.osgi.framework.Bundle.update()

    boolean restart = opts.get("-r") != null;

      Bundle sysBundle = bc.getBundle(0);
      if (restart) {
        try {
          sysBundle.update(); // restart the framework
        } catch (Exception e) {
          out.println("Failed to restart the framework " + e);
          return 1;
        }
      } else {
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.