Examples of update()


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

          user = userDao.update(user, null);

          soapLogin.setUsed(true);
          soapLogin.setUseDate(new Date());
          //soapLogin.setClientURL(clientURL); //FIXME
          soapDao.update(soapLogin);

          sessionDao.updateUser(SID, user.getUser_id());
          setUser(user);
          recordingId = soapLogin.getRoomRecordingId();
          return true;
View Full Code Here

Examples of org.apache.openmeetings.db.dao.user.AdminUserDao.update()

          } else {
            user.setFirstname(remoteUser.getFirstname());
            user.setLastname(remoteUser.getLastname());
            user.setPictureuri(remoteUser.getPictureUrl());
          }
          user = userDao.update(user, null);

          soapLogin.setUsed(true);
          soapLogin.setUseDate(new Date());
          //soapLogin.setClientURL(clientURL); //FIXME
          soapDao.update(soapLogin);
View Full Code Here

Examples of org.apache.openmeetings.db.dao.user.PrivateMessagesDao.update()

      }
      //to send
      p = new PrivateMessage(p);
      p.setTo(to);
      p.setFolderId(SENT_FOLDER_ID);
      msgDao.update(p, getUserId());
      //to inbox
      p = new PrivateMessage(p);
      p.setOwner(to);
      p.setFolderId(INBOX_FOLDER_ID);
      msgDao.update(p, getUserId());
View Full Code Here

Examples of org.apache.openmeetings.db.dao.user.UserDao.update()

    }
    PrivateMessagesDao msgDao = getBean(PrivateMessagesDao.class);
    for (User to : modelTo.getObject()) {
      UserDao userDao = getBean(UserDao.class);
      if (to.getUser_id() == null) {
        userDao.update(to, getUserId());
      }
      //to send
      p = new PrivateMessage(p);
      p.setTo(to);
      p.setFolderId(SENT_FOLDER_ID);
View Full Code Here

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

            if (start < 0) {
                start = -(start + 1);
            }

            // Find the index of the last path to clear (exclusive)
            testPath.update(depth, index + count);

            int end = ArrayList.binarySearch(paths, testPath, PATH_COMPARATOR);
            if (end < 0) {
                end = -(end + 1);
            }
View Full Code Here

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

                RenderingHints.VALUE_RENDER_SPEED);
            display.paint(graphics);

            for (int i = 0; i < n; i++) {
                Decorator decorator = decorators.get(i);
                decorator.update();
            }

            // Paint the drag visual
            if (dragDescendant != null) {
                DragSource dragSource = dragDescendant.getDragSource();
View Full Code Here

Examples of org.apache.rahas.TokenStorage.update()

        Token token = tokenStore.getToken(tokenId);
        if (token == null) {
            throw new TrustException("tokenNotFound", new String[]{tokenId});
        }
        token.setState(Token.CANCELLED);
        tokenStore.update(token);

        // Create the response SOAP Envelope
        SOAPEnvelope responseEnv =
                TrustUtil.
                        createSOAPEnvelope(inMsgCtx.getEnvelope().getNamespace().getNamespaceURI());
View Full Code Here

Examples of org.apache.s4.util.clock.EventClock.update()

            EventWrapper eventWrapper = null;
            try {
                eventWrapper = workQueue.take();
                if (clock instanceof EventClock) {
                    EventClock eventClock = (EventClock) clock;
                    eventClock.update(eventWrapper);
                    // To what time to update the clock
                }
                if (trackByKey) {
                    boolean foundOne = false;
                    for (CompoundKeyInfo compoundKeyInfo : eventWrapper.getCompoundKeys()) {
View Full Code Here

Examples of org.apache.samza.metrics.Timer.update()

    gauge3.set("7");
    gauge4.set("8");

    timer1.update(1L);
    timer2.update(2L);
    timer3.update(3L);

    assertEquals(1, counter1.getCount());
    assertEquals(2, counter2.getCount());
    assertEquals(4, counter3.getCount());
    assertEquals("5", gauge1.getValue());
View Full Code Here

Examples of org.apache.sandesha2.storage.beanmanagers.CreateSeqBeanMgr.update()

      log.debug(message);
      throw new SandeshaException(message);
    }
   
    createSeqBean.setSequenceID(newOutSequenceId);
    createSeqMgr.update(createSeqBean);

    //deleting the create sequence entry.
    retransmitterMgr.delete(createSeqMsgId);

    //storing new out sequence id
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.