Examples of save()


Examples of br.gov.serpro.ouvidoria.controller.aprendizado.HistoricoEnvioCtrl.save()

      if (Utilitario.enviarEmail(boletimCtrl.getParametrosGerais()
          .getServidorSMTP(), this.getOrgao(request)
          .getConfiguracoes().getRemetenteEmail(), this.getOrgao(
          request).getConfiguracoes().getRemetenteEmail(), "",
          listaBCC, "Boletim: " + boletim.getNome(), htmlText)) {
        defaultCtrl.save(itemHistorico);
      } else {
        request.setAttribute("erro", "true");
      }

    } catch (Exception e) {
View Full Code Here

Examples of br.gov.serpro.ouvidoria.controller.gerencial.administracao.ParametrosGeraisCtrl.save()

                    param.setLimiteColunaIndicadores(new Integer(lLimColunas));
                    param.setLimiteFalhasLogin(new Integer(lLimiteFalhasLogin));
                    param.setTempoBloqueioLogin(new Integer(lTempoBloqueioLogin));

                    // Salva o script
                    paramCtrl.save(param);

                    // Mensagem de alteração OK
                    Msgs.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage(
                            "alterar.parametros.sucesso"));
                    saveMessages(request, Msgs);
View Full Code Here

Examples of br.gov.serpro.ouvidoria.controller.gerencial.administracao.ScriptCtrl.save()

                    script.setAssunto(assunto);
                    script.setEstado(EstadoScript.PENDENTE);

                    // Salva o script
                    ctrlScript.save(script);

                    // Mensagem de alteração OK
                    Msgs.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage(
                            "alterar.script.sucesso"));
                    saveMessages(request, Msgs);
View Full Code Here

Examples of business.ShoppingCartEntry.save()

        ShoppingCartEntry entry = new ShoppingCartEntry();
        entry.init( bzb.getDriver() );
        entry.setListId( RequestHelper.getInt( "listId", request ) );
        entry.setUserId( bzb.getAuthenticatedUser( request ).getUserId() );

        return entry.save();
    }

    private boolean removeFromCart( HttpServletRequest request ) {
        ShoppingCartEntry entry;
        String where = "listId = " + RequestHelper.getInt( "listId", request );
View Full Code Here

Examples of business.User.save()

        }
        if( !RequestHelper.getString( "newPassword", request ).isEmpty() ) {
            authUser.setPassword( DigestHelper.md5( RequestHelper.getString( "newPassword", request ) ) );
        }

        authUser.save();

        return authUser;
    }

    private boolean isEmailRegistered( String email ) {
View Full Code Here

Examples of ca.nengo.io.FileManager.save()

   *             if model cannot be saved to file
   */
  public void saveModel(File file) throws IOException {
    FileManager fm = new FileManager();

    fm.save(this.getModel(), file);
    new TransientStatusMessage(this.getFullName() + " was saved to " + file.toString(), 2500);
  }
 
  public void generateScript(File file) throws IOException {
    FileManager fm = new FileManager();
View Full Code Here

Examples of cat.quickdb.binding.model.BindingObject.save()

        BindingObject bind = new BindingObject();
        bind.setBirth(new java.sql.Date(104, 4, 20));
        bind.setName("quickdb");
        bind.setSalary(3000.50);

        Assert.assertTrue(bind.save());
    }

    @Test
    public void testSaveGetIndex(){
        BindingObject bind = new BindingObject();
View Full Code Here

Examples of cat.quickdb.date200912.model.Bind.save()

        Bind2 b2 = new Bind2();

        b.setDescription("description");
        b2.setName("name binding2");

        Assert.assertTrue(b.save());
        Assert.assertTrue(b2.save());

        Bind bind = new Bind();
        admin.obtain(bind, "description = 'description'");
        Assert.assertEquals("description", bind.getDescription());
View Full Code Here

Examples of cat.quickdb.date200912.model.Bind2.save()

        b.setDescription("description");
        b2.setName("name binding2");

        Assert.assertTrue(b.save());
        Assert.assertTrue(b2.save());

        Bind bind = new Bind();
        admin.obtain(bind, "description = 'description'");
        Assert.assertEquals("description", bind.getDescription());
        Bind2 bind2 = new Bind2();
View Full Code Here

Examples of center.task.prm.Saved.save()

    }
    for (i = 0; i < saves.size(); i++)
      try {
        s = saves.get(i);
        //System.out.println("=======SAVE===== " + ((IDependentParam)s).getGLName());
        s.save(cntx);
      } catch (SysException ex) {
        ex.printStackTrace();
      }
  }
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.