Examples of update()


Examples of org.apache.nutch.crawl.CrawlDb.update()

        }

        paths.add(p);
      }
       
      cdb.update(od.getCrawlDb(), paths.toArray(new Path[paths.size()]),
        true, true);
    }
    else
    {
      Path[] allSegments = getSegments(od);
View Full Code Here

Examples of org.apache.openejb.core.cmp.CmpContainer.update()

        if (!(container instanceof CmpContainer)) {
            throw new FinderException("Deployment is not connected to a CmpContainer " + beanContext.getDeploymentID());
        }
        CmpContainer cmpContainer = (CmpContainer) container;
       
        cmpContainer.update(beanContext, methodSignature, args);
    }
   
   
    /**
     * The single execution stub for all non-primitive
View Full Code Here

Examples of org.apache.openjpa.jdbc.meta.Discriminator.update()

            mapping.update(sm, store, rowMgr);
        } else {
            // otherwise we need to make sure we update the discriminator too
            Discriminator dsc = mapping.getDiscriminator();
            if (!bufferCustomUpdate(dsc, sm, store, customs))
                dsc.update(sm, store, rowMgr);
        }
    }

    /**
     * @see #bufferCustomInsert
View Full Code Here

Examples of org.apache.openjpa.jdbc.meta.FieldMapping.update()

        FieldMapping[] fields = mapping.getDefinedFieldMappings();
        for (int i = 0; i < fields.length; i++) {
            FieldMapping field = fields[i];
            if (dirty.get(field.getIndex())
                && !bufferCustomUpdate(field, sm, store, customs)) {
                field.update(sm, store, rowMgr);
                if (!updateIndicators) {
                    FieldMapping[] inverseFieldMappings =
                        field.getInverseMappings();
                    if (inverseFieldMappings.length == 0) {
                        updateIndicators = true;
View Full Code Here

Examples of org.apache.openjpa.jdbc.meta.Version.update()

        while (mapping.getJoinablePCSuperclassMapping() != null)
            mapping = mapping.getJoinablePCSuperclassMapping();

        Version vers = mapping.getVersion();
        if (!bufferCustomUpdate(vers, sm, store, customs))
            vers.update(sm, store, rowMgr);

        if (versionUpdateOnly) {
            // if we are only updating the version column, we need to add
            // in the primary key select
            mapping.update(sm, store, rowMgr);
View Full Code Here

Examples of org.apache.openmeetings.data.chat.ChatDao.update()

        ChatDao dao = Application.getBean(ChatDao.class);
        ChatMessage m = new ChatMessage();
        m.setMessage(message);
        m.setSent(new Date());
        m.setFromUser(Application.getBean(UsersDao.class).get(WebSession.getUserId()));
        dao.update(m);
        IWebSocketConnectionRegistry reg = IWebSocketSettings.Holder.get(getApplication()).getConnectionRegistry();
        for (IWebSocketConnection c : reg.getConnections(getApplication())) {
          try {
            c.sendMessage(getMessage(m).toString());
          } catch(Exception e) {
View Full Code Here

Examples of org.apache.openmeetings.data.user.dao.UsersDao.update()

          }
          if (!found) {
            Organisation_Users orgUser = new Organisation_Users(organisation);
            orgUser.setDeleted(false);
            orgUsers.add(orgUser);
            userDao.update(u, WebSession.getUserId());
          }
        }
        target.appendJavaScript("$('#addUsers').dialog('close');");
        groupForm.updateView(target);
      }
View Full Code Here

Examples of org.apache.openmeetings.db.dao.basic.ChatDao.update()

            ChatDao dao = getBean(ChatDao.class);
            ChatMessage m = new ChatMessage();
            m.setMessage(unescapeXml(chatMessage.getDefaultModelObjectAsString()));
            m.setSent(new Date());
            m.setFromUser(getBean(UserDao.class).get(getUserId()));
            dao.update(m);
            IWebSocketConnectionRegistry reg = IWebSocketSettings.Holder.get(getApplication()).getConnectionRegistry();
            for (IWebSocketConnection c : reg.getConnections(getApplication())) {
              try {
                c.sendMessage(getMessage(m).toString());
              } catch(Exception e) {
View Full Code Here

Examples of org.apache.openmeetings.db.dao.calendar.AppointmentDao.update()

       
        cal.setTime(a.getEnd());
        cal.add(java.util.Calendar.MILLISECOND, (int)delta); //FIXME?
        a.setEnd(cal.getTime());
       
        dao.update(a, getUserId());
        //FIXME add feedback info
      }

      @Override
      public void onEventResize(AjaxRequestTarget target, int eventId, long delta) {
View Full Code Here

Examples of org.apache.openmeetings.db.dao.server.OAuth2Dao.update()

  }

  @Override
  protected void onSaveSubmit(AjaxRequestTarget target, Form<?> form) {
    OAuth2Dao oAuth2Dao = Application.getBean(OAuth2Dao.class);
    oAuth2Dao.update(getModelObject(), WebSession.getUserId());
    OAuthServer oauthServer = oAuth2Dao.get(getModelObject().getId());
    this.setModelObject(oauthServer);
    hideNewRecord();
    target.add(this);
    target.add(listContainer);
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.