Examples of update()


Examples of bg.smoc.model.manager.PersonManager.update()

    String login = request.getParameter("login");

    PersonManager personManager = SessionUtil.getInstance().getPersonManager();
    Person person = personManager.getPerson(personId);
    person.getLogins().remove(login);
    personManager.update(person);

    response.sendRedirect("editPerson?personId=" + personId);
  }
}
View Full Code Here

Examples of bg.smoc.model.manager.UserAccountManager.update()

    Vector<UserAccount> users = userAccountManager.getAllUsers();
    for (UserAccount userAccount : users) {
      if (ServletUtil.isCheckboxSelected(request.getParameter(REQUEST_PARAM_PREFIX
          + userAccount.getLogin()))) {
          userAccount.getContestIds().add(contestId);
        userAccountManager.update(userAccount);
                sessionUtil.getContestManager().registerUserForContest(contestId, userAccount.getLogin());
      }
    }
    response.sendRedirect("accounts");
  }
View Full Code Here

Examples of biblioteca.admin.catalogos.Email.update()

    private void jButton3MouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jButton3MouseClicked
        // TODO add your handling code here:
        Email email=new Email();
        email.setId((long)1);
        email.setDireccion(jTextField2.getText());
        email.update();
    }//GEN-LAST:event_jButton3MouseClicked

    /**
     * @param args the command line arguments
     */
 
View Full Code Here

Examples of blackberry.pim.appointment.AppointmentObject.update()

                    break;
            }

            final AppointmentObject ao = c.getAppointmentObject();
            if( ao != null ) {
                ao.update();
            }

            final Event event = c.getEvent();
            final Calendar calendar = c.getCalendar();
View Full Code Here

Examples of blackberry.pim.contact.ContactObject.update()

            final int view = a.getView();
            String viewArg = null;
            final ContactObject co = a.getContactObject();
            if( co != null ) {
                co.update();
            }
            Contact c = a.getContact();

            switch( view ) {
                case AddressBookArgumentsConstructor.VIEW_NEW:
View Full Code Here

Examples of blackberry.pim.memo.MemoObject.update()

        if( arg instanceof MemoArgumentsObject ) {
            final MemoArgumentsObject m = (MemoArgumentsObject) arg;

            final MemoObject mo = m.getMemoObject();
            if( mo != null ) {
                mo.update();
            }

            final BlackBerryMemo bbm = m.getMemo();
            final int view = m.getView();
View Full Code Here

Examples of blackberry.pim.task.TaskObject.update()

        if( arg instanceof TaskArgumentsObject ) {
            final TaskArgumentsObject t = (TaskArgumentsObject) arg;

            final TaskObject to = t.getTaskObject();
            if( to != null ) {
                to.update();
            }

            final ToDo todo = t.getTodo();
            final int view = t.getView();
View Full Code Here

Examples of bm.core.tools.MD5Digest.update()

     */
    public void setPassword( final String password )
    {
        MD5Digest md5 = new MD5Digest();
        final byte[] data = password.getBytes();
        md5.update( data, 0, data.length );
        final byte[] digest = new byte[16];
        md5.doFinal( digest, 0 );
        this.password = digest;
    }

View Full Code Here

Examples of br.com.caelum.vraptor.tasks.TaskStatistics.update()

  }

  public void jobWasExecuted(JobExecutionContext context, JobExecutionException exception) {
    String taskId = getId(context);
    TaskStatistics stats = findStats(context);
    stats.update(context, exception, scheduler);
    executionEvent.fire(new TaskExecution(taskId, stats, exception));
  }
 
  private TaskStatistics findStats(JobExecutionContext context) {
    String taskId = getId(context);
View Full Code Here

Examples of br.gov.serpro.ouvidoria.controller.gerencial.administracao.ConfiguracoesOrgaoCtrl.update()

                return mapping.findForward("error");
            }
           
            Orgao localOrgao = orgaoCtrl.get(new Long(idOrgao));
            if (id != null && id.trim().length() > 0) {
                configuracoesOrgaoCtrl.update(id, localOrgao,
                        permiteMsgDigitalizadaAcionamento,
                        tamanhoMaxArquivoCartaDigitalizada,
                        permiteArquivoAnexoAcionamento, tamanhoMaxArquivoAnexo,
                        atendenteConsultaMsgNoAtendimento,
                        exigeCertificadoDigitalGeral,
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.