Examples of update()


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

        }
      }
    } else {
      try {
        // UPDATE de funcionário existente
        defaultCtrl.update(getOrgao(request), gestor,
            funcionarioForm.getId(), funcionarioForm.getNome(),
            funcionarioForm.getLogin(), funcionarioForm.getSenha(),
            funcionarioForm.getSituacao(),
            funcionarioForm.getMotivo(),
            funcionarioForm.getPerfil(),
View Full Code Here

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

                getDaoFactory());

        try {

            if (id != null && id.trim().length() > 0) {
                localidadeOcorrenciaCtrl.update(subOrgao, id, descricao,
                        vigencia);

                msgs.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage(
                        "message.atualizarLocalidadeOcorrencia.alterar"));
            } else {
View Full Code Here

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

                saveErrors(request, msgs);
                return mapping.findForward("error");
            }

            if (id != null && id.trim().length() > 0) {
                orgaoCtrl.update(id, descricao, gestorResponsavel,
                    codigoPaisTelefoneResponsavel, codigoCidadeTelefoneResponsavel,
                        telefoneContatoGestor, statusOrgao,
                        inicioCadastramento, fimCadastramento, inicioOperacao,
                        fimOperacao, inicioAcionamento, fimAcionamento,
                        inicioConsultaResposta, fimConsultaResposta);
View Full Code Here

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

    SubOrgaoCtrl subOrgaoCtrl = new SubOrgaoCtrl(getDaoFactory());
    try {

      if (id != null && id.trim().length() > 0) {
        subOrgaoCtrl.update(getOrgao(request), id, descricao,
            inicioVigencia, fimVigencia);
        msgs.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage(
            "message.atualizarSubOrgao.alterar"));
      } else {
        subOrgaoCtrl.insert(getOrgao(request), descricao,
View Full Code Here

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

        Instituicao instituicao = instituicaoCtrl.get(new Long(instituicaoId));

        if (id != null && id.trim().length() > 0) {

            defaultCtrl.update(getOrgao(request), instituicao, id, descricao,
                    descricaoDetalhada, prazoInt, prazoExt, vigencia);

            msgs.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage(
                    "message.atualizarTipoAssunto.alterar"));
        } else {
View Full Code Here

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

        TipoAvaliacaoRespostaCtrl defaultCtrl = new TipoAvaliacaoRespostaCtrl(
                getDaoFactory());

        if (id != null && id.trim().length() > 0) {

            defaultCtrl.update(getOrgao(request), id, descricao, vigencia, tipoAvaliacao);

            msgs.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage(
                    "message.atualizarTipoAvaliacaoResposta.alterar"));
        } else {
            defaultCtrl.insert(getOrgao(request), descricao, vigencia, tipoAvaliacao);
View Full Code Here

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

            return mapping.findForward("error");
        }

        if (id != null && id.trim().length() > 0) {

            defaultCtrl.update(getOrgao(request), id, descricao,
                    descricaoDetalhada, prazoInt, prazoExt, vigencia);

            msgs.add(ActionMessages.GLOBAL_MESSAGE, new ActionMessage(
                    "message.atualizarTipoMensagem.alterar"));
        } else {
View Full Code Here

Examples of br.unicamp.ic.example.observer.Observer.update()

  }
 
  public void change_state() {
    for ( Object o : list) {
      Observer obs = (Observer) o;
      obs.update();
    }
  }
}
View Full Code Here

Examples of buildcraft.api.power.IPowerProvider.update()

      bcpower: if(pp != null)
      {
        int mjRequired = energyRequired / energyPerMJ;
        if (mjRequired <= 0) break bcpower;
       
        pp.update(this);
       
        if(pp.useEnergy(0, mjRequired, false) > 0)
        {
          int mjGained = (int)(pp.useEnergy(0, mjRequired, true) * energyPerMJ);
          _energyStored += mjGained;
View Full Code Here

Examples of business.utilities.Ami_Package.update()

   
    if(utilisateurs != null && !utilisateurs.isEmpty()) {
      List<Ami_Package> json = new ArrayList<Ami_Package>();
      for(Utilisateur u : utilisateurs) {
        Ami_Package ap = new Ami_Package();
        ap.update(utilisateur, u);
        json.add(ap);
      }
      out.print(JsonWriter.objectToJson(json));
    }
    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.