Package ecar.dao

Examples of ecar.dao.ConfiguracaoDao


   */
  public void geraHTMLNivelPlanejamento() throws ECARException, JspException {

    JspWriter writer = this.page.getOut();

    SisGrupoAtributoSga grupoAtributo = new ConfiguracaoDao(null)
        .getConfiguracao().getSisGrupoAtributoSgaByCodSgaGrAtrNvPlan();

    Input input = new Input(writer);
    input.setRequest(request);
    input.setLabel(grupoAtributo.getDescricaoSga());
View Full Code Here


      imprimirEstrutura = ("S".equals(Pagina.getParamStr(request, "imprimirEstrutura"))) ? true : false;
     
        String datahora = Data.parseDateHour(new Date()).substring(0,16); //este m�todo retorna dd/mm/aaaa hh:mm:ss:ssss. Fa�o Substring para poder pegar s� "dd/mm/aaaa hh:mm"
        String orgao = request.getParameter("codOrgaoSelecionado");
       
        ConfiguracaoCfg config = new ConfiguracaoDao(null).getConfiguracao();
        String titulo = config.getTituloSistema();
        String tituloItens = "";
        String cabecalho = "Rela��o dos Itens da Estrutura do " + titulo;
        String indTipoRelatorio = Pagina.getParamStr(request, "indTipoRelatorio");
       
View Full Code Here

                                    .getSisGrupoAtributoSga()
                                    .getSisTipoExibicGrupoSteg()
                                    .getCodSteg().intValue() != VALIDACAO)) {
                         
                            if(separador == null){
                              separador = new ConfiguracaoDao(request).getConfiguracao().getSeparadorCampoMultivalor();
                            }
                           
                            if(atributoLivre.getSisAtributoSatb() != null) {
                              valor += atributoLivre.getSisAtributoSatb().getDescricaoSatb();
                              pos++;
                            } else {
                              valor += atributoLivre.getInformacao();
                            }
                           
                            if (pos < tam){
                              valor += separador;
                            }

                          } else {
                            valor = atributoLivre.getInformacao();
                          }
                        }
                      }
            
                      valor = valor.trim();
                    } else {
                      if("nivelPlanejamento".equals(estruturaAtributo.iGetNome())){
                          if(item.getItemEstruturaNivelIettns() != null){
                            int tam = item.getItemEstruturaNivelIettns().size();
                            int pos = 1;
                            Iterator niveis = item.getItemEstruturaNivelIettns().iterator();
                            while(niveis.hasNext()){
                              SisAtributoSatb nivel = (SisAtributoSatb) niveis.next();
                             
                              if(separador == null){
                                separador = new ConfiguracaoDao(request).getConfiguracao().getSeparadorCampoMultivalor();
                              }

                              valor += nivel.getDescricaoSatb();
                              pos++;
                             
View Full Code Here

        else {
          estruturaEscolhida = (EstruturaEtt) estruturaDao.buscar(EstruturaEtt.class, Long.valueOf(codEttEscolhida));
        }

        String datahora = Data.parseDateHour(new Date()).substring(0,16); //este m�todo retorna dd/mm/aaaa hh:mm:ss:ssss. Fa�o Substring para poder pegar s� "dd/mm/aaaa hh:mm"
        ConfiguracaoCfg config = new ConfiguracaoDao(null).getConfiguracao();
        String titulo = config.getTituloSistema();//Pagina.getParamStr(request, "titulo_sistema");
        String tituloItens = "";
        String cabecalho = "Itens de Revis�o Das Metas F�sicas da Estrutura do " + titulo;
       
       
View Full Code Here

      TipoFuncAcompDao tipoFuncAcompDao = new TipoFuncAcompDao(getRequest());
      try {

          TipoAcompanhamentoTa tipoAcompanhamento = (TipoAcompanhamentoTa) taDao.buscar(TipoAcompanhamentoTa.class, Long.valueOf(codTipoAcompanhamento));
          String enderecoAbaVisualizacao = abaDao.pesquisaEnderecoAbaRegistro(tipoAcompanhamento, seguranca.getGruposAcesso(), 2, null);
          ConfiguracaoCfg configuracao = new ConfiguracaoDao(request).getConfiguracao();
      String pathRaiz = configuracao.getRaizUpload()
     
          if(codAref != null && !codAref.equals(""))
            acompReferenciaOrgaoAtual = (AcompReferenciaAref) acompReferenciaDao.buscar(AcompReferenciaAref.class, Long.valueOf(codAref));
         
View Full Code Here

   
    /****** historico *****/
        HistoricoIettus historico = new HistoricoIettus(new ItemEstrutUsuarioIettus(),
        HistoricoIettus.excluirPermissoes,
        session,
        new ConfiguracaoDao(request),
        request);
        /****** historico *****/
   
    while(itFuncoesAcompanhamento.hasNext()){
     
 
View Full Code Here

                      /******** Historico *********/
                     
                      HistoricoIettus historico = new HistoricoIettus(ieUsuario,
                                              HistoricoIettus.excluirPermissoes,
                                              session,
                                              new ConfiguracaoDao(request),
                                              request);
                      historico.gerarHistorico();
                     
                    /******** Historico *********/               
               
               
                session.delete(ieUsuario);
              }
              else if(ieUsuario.getCodTpPermIettus().equals(PERMISSAO_GRUPO)
                  && (ieUsuario.getSisAtributoSatb() != null && itemEstrutUsuario.getSisAtributoSatb() != null &&
                      ieUsuario.getSisAtributoSatb().getCodSatb().longValue() == itemEstrutUsuario.getSisAtributoSatb().getCodSatb().longValue())){
               
                ieUsuario.setUsuManutencao(itemEstrutUsuario.getUsuManutencao());
                      /******** Historico *********/
                     
                      HistoricoIettus historico = new HistoricoIettus(ieUsuario,
                                              HistoricoIettus.excluirPermissoes,
                                              session,
                                              new ConfiguracaoDao(request),
                                              request);
                      historico.gerarHistorico();
                     
                    /******** Historico *********/               
               
 
View Full Code Here

                  /******** Historico *********/
                 
                  HistoricoIettus historico = new HistoricoIettus(ieUsuario,
                                          HistoricoIettus.excluirPermissoes,
                                          session,
                                          new ConfiguracaoDao(request),
                                          request);
                  historico.gerarHistorico();
                 
                /******** Historico *********/               
               
 
View Full Code Here

    XmlBuilder builder = new XmlBuilder();
   
    acompReferenciaDao = new AcompReferenciaDao(request);
    acompReferenciaItemDao = new AcompReferenciaItemDao(request);
    acompRealFisicoDao = new AcompRealFisicoDao(request);
    configDao = new ConfiguracaoDao(request);
    corDao = new CorDao(request);
    configRelDao = new ConfigRelatorioCfgrelDAO(request);
    estruturaDao = new EstruturaDao(request);
    estAtribDao = new EstruturaAtributoDao(request);
    estFuncDao = new EstruturaFuncaoDao(request);
View Full Code Here

   
    if(arel.getSituacaoSit() != null){
      situacaoParecer = arel.getSituacaoSit().getDescricaoSit();
    }
   
    String ocultarObservacoesParecer = new ConfiguracaoDao(request).getConfiguracao().getIndOcultarObservacoesParecer();
    String labelSituacaoParecer = new ConfiguracaoDao(request).getConfiguracao().getLabelSituacaoParecer();
   
    if (ocultarObservacoesParecer == null || ocultarObservacoesParecer.equals("N")){
   
      builder.addClosedNode("parecer",
          " caminhoImagem=\"" + builder.normalize(Util.normalizaCaracterMarcador(caminhoImagem)) + "\"" +
View Full Code Here

TOP

Related Classes of ecar.dao.ConfiguracaoDao

Copyright © 2018 www.massapicom. 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.