Package ecar.dao

Examples of ecar.dao.ConfiguracaoDao


                                    .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


      StringBuffer itemText = new StringBuffer();
      StringBuffer divs = new StringBuffer();
      StringBuffer fechaMenu = new StringBuffer();
      StringBuffer funcoes = new StringBuffer();
      try {
        ConfiguracaoCfg configuracaoMenu = new ConfiguracaoDao(null).getConfiguracao();
       
        int nivel = 0, auxNivel = 0;
       
        Iterator it = lista.iterator();
        while (it.hasNext()) {
View Full Code Here

//             
//            }
//          }
         
         
          SisGrupoAtributoSga sisGrupoPtc = new ConfiguracaoDao(request).getConfiguracao().getSisGrupoAtributoSgaTipoPontoCritico();
        if (sisGrupoPtc != null){
          s.append("  <tr>");
          s.append("    <td class=\"label\"> " +sisGrupoPtc.getDescricaoSga()+ "</td>");
          s.append("    <td>");
         
View Full Code Here

    Util.liberarImagem();
   
    acompReferenciaDao = new AcompReferenciaDao(request);
    acompReferenciaItemDao = new AcompReferenciaItemDao(request);
    acompRealFisicoDao = new AcompRealFisicoDao(request);
    configDao = new ConfiguracaoDao(request);
    corDao = new CorDao(request);
    configRelDao = new ConfigRelatorioCfgrelDAO(request);
    estAtribDao = new EstruturaAtributoDao(request);
    estFuncDao = new EstruturaFuncaoDao(request);
    itemEstruturaDao = new ItemEstruturaDao(request);
View Full Code Here

    String caminhoImagem = pathEcar + "/images/relAcomp/" + corDao.getImagemRelatorio(arel.getCor(), arel.getTipoFuncAcompTpfa());
    String descricao = Util.normalizaCaracterMarcador(arel.getDescricaoArel());
    String observacoes = Util.normalizaCaracterMarcador(arel.getComplementoArel());
   
    String ocultarObservacoesParecer = new ConfiguracaoDao(request).getConfiguracao().getIndOcultarObservacoesParecer();
   
    if(descricao != null && !"".equals(descricao)){
      if (ocultarObservacoesParecer == null || ocultarObservacoesParecer.equals("N")){
       
        builder.addClosedNode("parecer",
View Full Code Here

          writer = this.page.getOut();
      }
        StringBuffer s = new StringBuffer();
        Input tagInput = (Input) getParent();
        try {
            ConfiguracaoCfg configuracao = new ConfiguracaoDao(null).getConfiguracao();

            if (opcaoVazia) {
                if (tagInput.getTipo() == LISTBOX) {
                    s.append("<option value=\"\"></option>");
                }
View Full Code Here

     */
    public void addOpcaoCheckBox(String sValue, String sLabel, Object obj,
            StringBuffer s, int countOptions) {
        try{
        Input tagInput = (Input) getParent();
          ConfiguracaoDao configuracaoDao = new ConfiguracaoDao(null);
          SisGrupoAtributoSga sgaNvPl = configuracaoDao.getConfiguracao().getSisGrupoAtributoSgaByCodSgaGrAtrNvPlan();
         
          SisAtributoSatb satb = (SisAtributoSatb) obj;
          if(sgaNvPl != null && satb.getSisGrupoAtributoSga().equals(sgaNvPl) ){
            s.append("<img src=\"").append(getImagem() + satb.getAtribInfCompSatb()).append("\">");           
          }
View Full Code Here

    public void addOpcaoRadioButton(String sValue, String sLabel, Object obj,
            StringBuffer s, int countOptions) {
       
        try{
          Input tagInput = (Input) getParent();
          ConfiguracaoDao configuracaoDao = new ConfiguracaoDao(null);
          SisGrupoAtributoSga sgaNvPl = configuracaoDao.getConfiguracao().getSisGrupoAtributoSgaByCodSgaGrAtrNvPlan();
         
          SisAtributoSatb satb = (SisAtributoSatb) obj;
          if(sgaNvPl != null && satb.getSisGrupoAtributoSga().equals(sgaNvPl) ){
            s.append("<img src=\"").append(getImagem() + satb.getAtribInfCompSatb()).append("\">");
          }
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 da Estrutura do " + titulo;
       
       
View Full Code Here

            .add(new String[] {
                prd.getCodPrdc().toString(),
                Util.invocaGet(prd, atributo.iGetNomeFk())
                    .toString() });
      }
      PeriodicidadePrdc perConfig = new ConfiguracaoDao(null)
          .getConfiguracao().getPeriodicidadePrdc();
      if ((getItemEstrutura() == null || getItemEstrutura().getCodIett() == null)
          && perConfig != null) {
        if (transformarComboBoxListaChecks.booleanValue()) {
          criaListaChecksApartirSelect(codEstrutura + "_periodicidadePrdc", atributo
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.