Package ecar.pojo

Examples of ecar.pojo.AcompRelatorioArel


                 */
               
                if(getAcompReferenciaItem() != null && getAcompReferenciaItem().getAcompRelatorioArels() != null && !getAcompReferenciaItem().getAcompRelatorioArels().isEmpty()){
               
                  //Descobrindo o Arel da Funcao
                  AcompRelatorioArel arel = null;
                  for(Iterator itArel = getAcompReferenciaItem().getAcompRelatorioArels().iterator(); itArel.hasNext();){
                    AcompRelatorioArel auxArel = (AcompRelatorioArel) itArel.next();
                    if(auxArel.getTipoFuncAcompTpfa().equals(tipoFuncaoAcomp)){
                      arel = auxArel;
                      break;
                    }
                  }
                 
View Full Code Here


     
      long codIett = -1;
      int indice = 0;
      Set ascendentes = new HashSet();
      while(it.hasNext()){
        AcompRelatorioArel arel = (AcompRelatorioArel) it.next();

        String siglaOrg = "";
       
        if(arel.getAcompReferenciaItemAri().getItemEstruturaIett().getOrgaoOrgByCodOrgaoResponsavel1Iett() != null){
          siglaOrg = arel.getAcompReferenciaItemAri().getItemEstruturaIett().getOrgaoOrgByCodOrgaoResponsavel1Iett().getSiglaOrg();
        }
        else {
          siglaOrg = "�rg�o n�o informado";
        }

        String siglaOrgItem = "";
        if(MODELO_ESTRUTURA.equals(modelo)){
          if(arel.getAcompReferenciaItemAri().getItemEstruturaIett().getOrgaoOrgByCodOrgaoResponsavel1Iett() != null){
            siglaOrgItem = arel.getAcompReferenciaItemAri().getItemEstruturaIett().getOrgaoOrgByCodOrgaoResponsavel1Iett().getSiglaOrg();
          }
          else {
            siglaOrgItem = "�rg�o n�o informado";
          }
        }
       
        if(!siglaOrgaoImpresso.equals(siglaOrg)){
          siglaOrgaoImpresso = siglaOrg;
          if(!primeiroItem){
            builder.closeNode("itens");
          }
         
          String exibirOrgao = "S";
          String quebrarPaginaItens = "S";
          if(MODELO_ESTRUTURA.equals(modelo)){
            exibirOrgao = "N";
            quebrarPaginaItens = "N";
          }
          builder.addNode("itens", "orgao=\"" + builder.normalize(siglaOrgaoImpresso) + "\" exibirOrgao=\"" + builder.normalize(exibirOrgao) + "\" quebrarPaginaItens=\"" + builder.normalize(quebrarPaginaItens) + "\"");
        }
       
       
        if(codIett != arel.getAcompReferenciaItemAri().getItemEstruturaIett().getCodIett().longValue()){
          boolean geraHierarquia = primeiroItem || (ascendentes != null && !ascendentes.containsAll(itemEstruturaDao.getAscendentes(arel.getAcompReferenciaItemAri().getItemEstruturaIett())));
          codIett = arel.getAcompReferenciaItemAri().getItemEstruturaIett().getCodIett().longValue();
          ascendentes.addAll(geraXmlItens(builder, arel, estAtribDao.getDescricaoItemByAtributo(arel.getAcompReferenciaItemAri().getItemEstruturaIett(), arel.getAcompReferenciaItemAri().getAcompReferenciaAref().getTipoAcompanhamentoTa()), false, geraHierarquia, siglaOrgItem, primeiroItem));
         
        }
        else {
          boolean exibirComplemento = false;
          if((indice + 1) < arels.size() || (indice == arels.size() - 1)){
            int proximo = indice + 1;
           
            try{
              AcompRelatorioArel proximoArel = (AcompRelatorioArel) arels.get(proximo);
              exibirComplemento = !arel.getAcompReferenciaItemAri().equals(proximoArel.getAcompReferenciaItemAri());
            }
            catch (IndexOutOfBoundsException e) {
              //N�o tem mais itens na lista, exibe o complemento.
              exibirComplemento = true;
            }
View Full Code Here

    ItemEstUsutpfuacDao itemFuacDao = new ItemEstUsutpfuacDao(null);
    ItemEstUsutpfuacIettutfa itemFuac;
      AcompRelatorioDao acompArelDao = new AcompRelatorioDao(null);
      CorDao corDao = new CorDao(null);
      AcompRelatorioArel acompArel;
      List lItemFuac;
        StringBuffer sb = new StringBuffer();       
   
    try {
        /* lista de fuac ordenada */
        lItemFuac = itemFuacDao.getFuacEmitePosicaoOrderByFuncAcomp(getAcompReferenciaItem().getItemEstruturaIett());
        UsuarioDao usuDao = new UsuarioDao(null);
       
            StatusRelatorioSrl statusLiberado = (StatusRelatorioSrl) acompArelDao.
                                            buscar(StatusRelatorioSrl.class, Long.valueOf(AcompReferenciaItemDao.STATUS_LIBERADO));
                   
        Iterator it = lItemFuac.iterator();
        sb.append("<table border=\"0\" class=\"texto\" cellpadding=\"0\" cellspacing=\"0\">");
        while (it.hasNext()) {     
            itemFuac = (ItemEstUsutpfuacIettutfa) it.next();
            acompArel = acompArelDao.getAcompRelatorio(itemFuac.getTipoFuncAcompTpfa(), getAcompReferenciaItem());
            
                               
            sb.append("<tr valign=\"middle\">");
                           
            // if adicionado devido ao BUG 3490
            if(acompArel == null) {
                    sb.append("<td>&nbsp;</td>");
            }
            else if(!"S".equals(acompArel.getIndLiberadoArel())){
                    sb.append("<td>N/L&nbsp;</td>");
            }else if(getAcompReferenciaItem().getStatusRelatorioSrl() != null &&
                        getAcompReferenciaItem().getStatusRelatorioSrl().equals(statusLiberado)){
                    if (acompArel.getCor() != null) {
                        String sinal = corDao.getImagemSinal(acompArel.getCor(), itemFuac.getTipoFuncAcompTpfa());
                        sb.append("<td><img src=\"").append(caminho).append("/images/").append(sinal).append("\"></td>");
                    } else {                   
                        sb.append("<td>N/I&nbsp;</td>");
                    }                                            
                } else {
                    /* Se acompanhamento n�o estiver sido liberado */
                    sb.append("<td>N/L&nbsp;</td>");
                }
               
            String titulo = "";
            String telefone = "";
            String atribuidoPor = "";
            String posicao = "1";
        String imagem_inativa = "";
           
            if (itemFuac.getUsuarioUsu() != null){
              if(itemFuac.getUsuarioUsu().getComercDddUsu() != null && !"".equals(itemFuac.getUsuarioUsu().getComercDddUsu())){
                telefone += itemFuac.getUsuarioUsu().getComercDddUsu();
              }
             
              if(itemFuac.getUsuarioUsu().getComercTelefoneUsu() != null && !"".equals(itemFuac.getUsuarioUsu().getComercTelefoneUsu())){
                if(!"".equals(telefone)){
                  telefone += " ";
                }
                telefone += itemFuac.getUsuarioUsu().getComercTelefoneUsu();
              }
             
              titulo += telefone;
             
              if (usuDao.getCelularByUsuario(itemFuac.getUsuarioUsu()) != null && !"".equals(usuDao.getCelularByUsuario(itemFuac.getUsuarioUsu()))){
                titulo += " <br> ";
                titulo += usuDao.getCelularByUsuario(itemFuac.getUsuarioUsu());
              }
             
              if(itemFuac.getUsuarioUsu().getEmail1UsuSent() != null && !"".equals(itemFuac.getUsuarioUsu().getEmail1UsuSent())){
                if(!"".equals(titulo)){
                  titulo += " <br> ";
                }
                titulo += itemFuac.getUsuarioUsu().getEmail1UsuSent();
              }
            
              atribuidoPor = itemFuac.getUsuarioUsu().getNomeUsuSent();
             
          imagem_inativa = "";
         
          if (!"S".equals(itemFuac.getUsuarioUsu().getIndAtivoUsu())){
            imagem_inativa="<img src=\"../images/icon_usuario_inativo.png\" title=\"Usu�rio Inativo\">";
          }
                  //sb.append("<td>" + itemFuac.getTipoFuncAcompTpfa().getLabelTpfa() + " atual:&nbsp;");
               
             
             
            } else if (itemFuac.getSisAtributoSatb() != null){
              atribuidoPor = itemFuac.getSisAtributoSatb().getDescricaoSatb();
             
            }
           
        if (acompArel != null){
          sb.append("<td class=\"item_InfoUsu_td\" onMouseOver=\"javascript:showInfoUsu(" + acompArel.getCodArel().toString() + ",'" + atribuidoPor + "','" + posicao + "')\" onMouseOut=\"javascript:hideInfoUsu(" + acompArel.getCodArel().toString() + ",'" + atribuidoPor + "','" + posicao + "')\" >").append(itemFuac.getTipoFuncAcompTpfa().getLabelTpfa()).append(":&nbsp;");
                  sb.append("<b>").append(atribuidoPor).append("</b>");
        } else
          sb.append("<td>&nbsp;</td>");
       
            // if alterado devido ao BUG 3490
                if (acompArel != null && acompArel.getUsuarioUsuUltimaManutencao() != null && itemFuac.getUsuarioUsu() != null &&
                    acompArel.getUsuarioUsuUltimaManutencao().getCodUsu() != itemFuac.getUsuarioUsu().getCodUsu()){
                    sb.append("<br>").append(itemFuac.getTipoFuncAcompTpfa().getLabelPosicaoTpfa()).append(" atribu�do por:&nbsp;").append(acompArel.getUsuarioUsuUltimaManutencao().getNomeUsuSent());
                }                  
                if(acompArel != null)
                  sb.append(" <span id=\"spanInfoUsu"+acompArel.getCodArel().toString()+"_"+atribuidoPor+"_"+posicao+"\" class=\"item_InfoUsu_span\" >"+titulo+"</span>");
                sb.append(imagem_inativa + "</td></tr>");
               
          
        }
        sb.append("</table>");
View Full Code Here

     
        SegurancaECAR seguranca = (SegurancaECAR) request.getSession().getAttribute("seguranca");
        ValidaPermissao validaPermissao = new ValidaPermissao();
       
      while(it.hasNext()){
        AcompRelatorioArel arel = (AcompRelatorioArel) it.next();
       
          List listaPermissaoTpfa = validaPermissao.permissaoVisualizarPareceres(arel.getAcompReferenciaItemAri().getAcompReferenciaAref().getTipoAcompanhamentoTa(),seguranca.getGruposAcesso());
        if(listaPermissaoTpfa.contains(arel.getTipoFuncAcompTpfa())
            && validaPermissao.permissaoLeituraAcompanhamento(arel.getAcompReferenciaItemAri(), seguranca.getUsuario(), seguranca.getGruposAcesso())){
             
          // Teste ref. Mantis 10848
//          if("S".equals(this.exigeLiberarAcompanhamento) && !"S".equals(arel.getIndLiberadoArel())){
//            continue;
//          }
          if ("N".equals(this.exigeLiberarAcompanhamento) || arel.getAcompReferenciaItemAri().getStatusRelatorioSrl().equals(statusLiberado)){
           
            if( (Dominios.SIM).equals(arel.getIndLiberadoArel()) ){
           
              String nomeSiglaOrg = getNomeSiglaOrgao(arel, orgao);
                       
              String siglaOrgItem = "";
              if(MODELO_ESTRUTURA.equals(modelo)){
             
                if(ehSeparadoPorOrgao && arel.getAcompReferenciaItemAri().getAcompReferenciaAref().getOrgaoOrg() != null){
                  siglaOrgItem = arel.getAcompReferenciaItemAri().getAcompReferenciaAref().getOrgaoOrg() .getSiglaOrg();
                } else if (!ehSeparadoPorOrgao && arel.getAcompReferenciaItemAri().getItemEstruturaIett().getOrgaoOrgByCodOrgaoResponsavel1Iett() != null) {
                  siglaOrgItem = arel.getAcompReferenciaItemAri().getItemEstruturaIett().getOrgaoOrgByCodOrgaoResponsavel1Iett().getSiglaOrg();
                }
                else {
                  siglaOrgItem = config.getLabelAgrupamentoItensSemOrgao();
                }
              }
             
              if(!nomeSiglaOrgaoImpresso.equals(nomeSiglaOrg)){
                nomeSiglaOrgaoImpresso = nomeSiglaOrg;
                if(!primeiroItem){
                  builder.closeNode("itens");
                }
               
                String exibirOrgao = "S";
                String quebrarPaginaItens = "S";
                if(MODELO_ESTRUTURA.equals(modelo)){
                  exibirOrgao = "N";
                  quebrarPaginaItens = "N";
                }
                temItens = true;
               
               
                builder.addNode("itens", "orgao=\"" + builder.normalize(nomeSiglaOrgaoImpresso) + "\" exibirOrgao=\"" + builder.normalize(exibirOrgao) + "\" quebrarPaginaItens=\"" + builder.normalize(quebrarPaginaItens) + "\"");
              }
             
             
              if(codIett != arel.getAcompReferenciaItemAri().getItemEstruturaIett().getCodIett().longValue()){
                boolean geraHierarquia = primeiroItem || (ascendentes != null && !ascendentes.containsAll(itemEstruturaDao.getAscendentes(arel.getAcompReferenciaItemAri().getItemEstruturaIett())));
                codIett = arel.getAcompReferenciaItemAri().getItemEstruturaIett().getCodIett().longValue();
                //ascendentes.addAll(geraXmlItens(builder, arel, estAtribDao.getDescricaoItemByAtributo(arel.getAcompReferenciaItemAri().getItemEstruturaIett(), arel.getAcompReferenciaItemAri().getAcompReferenciaAref().getTipoAcompanhamentoTa()), false, geraHierarquia, siglaOrgItem, primeiroItem));
               
                String exibirEncaminhamentos = "S";
                if((indice + 1) < arels.size() || (indice == arels.size() - 1)){
                  int proximo = indice + 1;
                 
                  try{
                    AcompRelatorioArel proximoArel = (AcompRelatorioArel) arels.get(proximo);
                    if(codIett == proximoArel.getAcompReferenciaItemAri().getItemEstruturaIett().getCodIett().longValue())
                      exibirEncaminhamentos = "N";
                  }
                  catch (IndexOutOfBoundsException e) {
                    //N�o tem mais itens na lista, exibe o complemento.
                    exibirEncaminhamentos = "S";
                  }
                }
               
               
                ascendentes.addAll(geraXmlItens(builder, arel, estAtribDao.getDescricaoItemByAtributo(arel.getAcompReferenciaItemAri().getItemEstruturaIett(), arel.getAcompReferenciaItemAri().getAcompReferenciaAref().getTipoAcompanhamentoTa()), true, geraHierarquia, nomeSiglaOrgaoImpresso, primeiroItem, exibirEncaminhamentos));
              }
              else {
                boolean exibirComplemento = false;
                String exibirEncaminhamentos = "S";
                if((indice + 1) < arels.size() || (indice == arels.size() - 1)){
                  int proximo = indice + 1;
                 
                  try{
                    AcompRelatorioArel proximoArel = (AcompRelatorioArel) arels.get(proximo);
                    exibirComplemento = !arel.getAcompReferenciaItemAri().equals(proximoArel.getAcompReferenciaItemAri());
                  }
                  catch (IndexOutOfBoundsException e) {
                    //N�o tem mais itens na lista, exibe o complemento.
                    exibirComplemento = true;
                    exibirEncaminhamentos = "S";
View Full Code Here

     
      // Verificar, para cada arel, a permissao para visualizar o parecer
      Iterator<AcompRelatorioArel> arelsIt = arels.iterator();
      while(arelsIt.hasNext()){                       
       
        AcompRelatorioArel relatorio = (AcompRelatorioArel) arelsIt.next();
        if(listaPermissaoTpfa.contains(relatorio.getTipoFuncAcompTpfa())
            && validaPermissao.permissaoLeituraAcompanhamento(relatorio.getAcompReferenciaItemAri(), seguranca.getUsuario(), seguranca.getGruposAcesso())) { 
          retorno.add(relatorio);
       
      }
             
    }
View Full Code Here

        }
        Iterator itRelatorios = relatorios.iterator();
       
       
        while(itRelatorios.hasNext()){
          AcompRelatorioArel relatorio = (AcompRelatorioArel) itRelatorios.next();
          ItemEstUsutpfuacIettutfa itemEstUsu = null;
          try{
            itemEstUsu = itemEstUsuDao.buscar(itemEstrutura.getCodIett(), relatorio.getTipoFuncAcompTpfa().getCodTpfa());
          } catch(ECARException ecarex) {
            Logger.getLogger(this.getClass()).error(ecarex);
            //ecarex.printStackTrace();
          }
         
View Full Code Here

            ValidaPermissao validaPermissao = new ValidaPermissao();
           
            List listaPermissaoTpfa = validaPermissao.permissaoVisualizarPareceres(tipoAcompanhamento,seguranca.getGruposAcesso());
           
            while(itRelatorios.hasNext()){                       
              AcompRelatorioArel relatorio = (AcompRelatorioArel) itRelatorios.next();
             
              if(listaPermissaoTpfa.contains(relatorio.getTipoFuncAcompTpfa())
                  && validaPermissao.permissaoLeituraAcompanhamento(relatorio.getAcompReferenciaItemAri(), seguranca.getUsuario(), seguranca.getGruposAcesso())){
               
                UsuarioUsu usuarioImagem = null
                      String hashNomeArquivo = null;
               
                boolean imageError = false;
                if( (Dominios.SIM).equals(relatorio.getIndLiberadoArel()) ) {
                  Cor cor = ( relatorio.getCor()!=null ? relatorio.getCor() : null );
                  TipoFuncAcompTpfa tpfa = ( relatorio.getTipoFuncAcompTpfa() != null ? relatorio.getTipoFuncAcompTpfa() : null );
                                             
                  imagePath = corDao.getImagemPersonalizada(cor, tpfa, "L");
                 
                  if( imagePath != null ) {
                   
                    usuarioImagem = ((ecar.login.SegurancaECAR)request.getSession().getAttribute("seguranca")).getUsuario();
                      hashNomeArquivo = Util.calcularHashNomeArquivo(pathRaiz, imagePath);
                      Util.adicionarMapArquivosAtuaisUsuarios(usuarioImagem, hashNomeArquivo, pathRaiz, imagePath);
                   
                      aval += "<img border=\"0\" src=\"" + request.getContextPath() + "/DownloadFile?tipo=open&RemoteFile=";
                      aval += hashNomeArquivo + "\" style=\"width: 23px; height: 23px;\" title=\"" + relatorio.getTipoFuncAcompTpfa().getLabelTpfa() + "\">";
                  } else {
                    if( relatorio.getCor() != null && relatorio.getCor().getCodCor() != null ) {
                      aval += "<img border=\"0\" src=\"" + getPathEcar() + "/images/relAcomp/";
                      aval += corDao.getImagemRelatorio(relatorio.getCor(), relatorio.getTipoFuncAcompTpfa()) + "\" title=\"";
                      aval += relatorio.getTipoFuncAcompTpfa().getLabelTpfa() + "\" >";
                    } else {
                      imageError = true;
                    }
                  }
                } else {
                  imageError = true;
                }
                                           
                // Verifica se o parecer � obrigatorio ou opcional
                List<TipoAcompFuncAcompTafc> listTipoAcompFuncAcomp = new ArrayList<TipoAcompFuncAcompTafc>(acompReferencia.getTipoAcompanhamentoTa().getTipoAcompFuncAcompTafcs());
                boolean ehObrigatorio = true;
                if(listTipoAcompFuncAcomp != null) {
                  Iterator<TipoAcompFuncAcompTafc> tipoFuncAcompIt = listTipoAcompFuncAcomp.iterator();
                  while(tipoFuncAcompIt.hasNext()) {
                    TipoAcompFuncAcompTafc tipoAcompFuncAcompTafc = (TipoAcompFuncAcompTafc)tipoFuncAcompIt.next();
                    ifrelatorio.getTipoFuncAcompTpfa().getCodTpfa().equals(tipoAcompFuncAcompTafc.getTipoFuncAcompTpfa().getCodTpfa())
                      && tipoAcompFuncAcompTafc.getIndRegistroPosicaoTafc() != null
                      && tipoAcompFuncAcompTafc.getIndRegistroPosicaoTafc().equals(Dominios.OPCIONAL)) {
                      ehObrigatorio = false;
                    }
                  }
                }
               
                if( imageError && ehObrigatorio) {
                  aval += "<img border=\"0\" src=\"" + getPathEcar() + "/images/relAcomp/";
                  aval += corDao.getImagemRelatorio(null, relatorio.getTipoFuncAcompTpfa()) + "\" title=\"";
                  aval += relatorio.getTipoFuncAcompTpfa().getLabelTpfa() + "\" >";
                }
             
              }
            }
           
View Full Code Here

            AcompRealFisicoArf arf = (AcompRealFisicoArf) new ArrayList(situacao.getAcompRealFisicoArfs()).get(0);
          throw new ECARException("situacao.exclusao.erro.acompRealFisicoArfs", null, null);
        }                  
        if(contar(situacao.getAcompRelatorioArels()) > 0){
            excluir = false;
            AcompRelatorioArel arel = (AcompRelatorioArel) new ArrayList(situacao.getAcompRelatorioArels()).get(0);
            throw new ECARException("situacao.exclusao.erro.acompRelatorioArels", null, null);            
      }
//        if(contar(situacao.getEstruturaSituacaoEtts()) > 0){
//          excluir = false;
//          EstruturaEtt ett = (EstruturaEtt) new ArrayList(situacao.getEstruturaSituacaoEtts()).get(0);
View Full Code Here

          ecarex.printStackTrace();
        }
        Iterator itRelatorios = relatorios.iterator();
       
        while(itRelatorios.hasNext()){                       
          AcompRelatorioArel relatorio = (AcompRelatorioArel) itRelatorios.next();                   
          ItemEstUsutpfuacIettutfa itemEstUsu = null;
          try{
            itemEstUsu = itemEstUsuDao.buscar(itemEstrutura.getCodIett(), relatorio.getTipoFuncAcompTpfa().getCodTpfa());
          } catch(ECARException ecarex) {
            Logger.getLogger(this.getClass()).error(ecarex);
            ecarex.printStackTrace();
          }
          
View Full Code Here

            Iterator<AcompRelatorioArel> itRelatorios = relatorios.iterator();
 
            String imagePath = "";
            String aval = "";
            while(itRelatorios.hasNext()){                       
              AcompRelatorioArel relatorio = (AcompRelatorioArel) itRelatorios.next();                                                                                         
              boolean imageError = false;
              if( (Dominios.SIM).equals(relatorio.getIndLiberadoArel()) ) {
                Cor cor = ( relatorio.getCor()!=null ? relatorio.getCor() : null );
                TipoFuncAcompTpfa tpfa = ( relatorio.getTipoFuncAcompTpfa() != null ? relatorio.getTipoFuncAcompTpfa() : null );
                                           
                imagePath = corDao.getImagemPersonalizada(cor, tpfa, "L");
               
                if( imagePath != null ) {
                    aval += "<img border=\"0\" src=\"" + request.getContextPath() + "/DownloadFile?tipo=open&RemoteFile=";
                    aval += imagePath + "\" style=\"width: 23px; height: 23px;\" title=\"" + relatorio.getTipoFuncAcompTpfa().getLabelTpfa() + "\">";
                } else {
                  if( relatorio.getCor() != null && relatorio.getCor().getCodCor() != null ) {
                    aval += "<img border=\"0\" src=\"" + getPathEcar() + "/images/relAcomp/";
                    aval += corDao.getImagemRelatorio(relatorio.getCor(), relatorio.getTipoFuncAcompTpfa()) + "\" title=\"";
                    aval += relatorio.getTipoFuncAcompTpfa().getLabelTpfa() + "\" >";
                  } else {
                    imageError = true;
                  }
                }
              } else {
                imageError = true;
              }
                                         
              // Verifica se o parecer � obrigatorio ou opcional
              List<TipoAcompFuncAcompTafc> listTipoAcompFuncAcomp = new ArrayList<TipoAcompFuncAcompTafc>(acompReferencia.getTipoAcompanhamentoTa().getTipoAcompFuncAcompTafcs());
              boolean ehObrigatorio = true;
              if(listTipoAcompFuncAcomp != null) {
                Iterator<TipoAcompFuncAcompTafc> tipoFuncAcompIt = listTipoAcompFuncAcomp.iterator();
                while(tipoFuncAcompIt.hasNext()) {
                  TipoAcompFuncAcompTafc tipoAcompFuncAcompTafc = (TipoAcompFuncAcompTafc)tipoFuncAcompIt.next();
                  ifrelatorio.getTipoFuncAcompTpfa().getCodTpfa().equals(tipoAcompFuncAcompTafc.getTipoFuncAcompTpfa().getCodTpfa())
                    && tipoAcompFuncAcompTafc.getIndRegistroPosicaoTafc() != null
                    && tipoAcompFuncAcompTafc.getIndRegistroPosicaoTafc().equals(Dominios.OPCIONAL)) {
                    ehObrigatorio = false;
                  }
                }
              }
             
              if( imageError && ehObrigatorio) {
                aval += "<img border=\"0\" src=\"" + getPathEcar() + "/images/relAcomp/";
                aval += corDao.getImagemRelatorio(null, relatorio.getTipoFuncAcompTpfa()) + "\" title=\"";
                aval += relatorio.getTipoFuncAcompTpfa().getLabelTpfa() + "\" >";
              }
            }
           
            retorno.append(aval);
                                     
View Full Code Here

TOP

Related Classes of ecar.pojo.AcompRelatorioArel

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.