Package ecar.dao

Examples of ecar.dao.TfuncacompConfigmailTfacfgmDAO.buscar()


            ItemEstUsutpfuacIettutfa itemEstUsutpfacIetutfa = (ItemEstUsutpfuacIettutfa) itList.next();
            TipoFuncAcompTpfa tipoFuncao = itemEstUsutpfacIetutfa.getTipoFuncAcompTpfa();
            TfuncacompConfigmailTfacfgmPK tfcfgmPK = new TfuncacompConfigmailTfacfgmPK();
            tfcfgmPK.setCodCfgm(configMailCfgm.getCodCfgm());
            tfcfgmPK.setCodTpfa(tipoFuncao.getCodTpfa());
            TfuncacompConfigmailTfacfgm tfcfm = (TfuncacompConfigmailTfacfgm) tfuncacompConfigmailTfacfgmDAO.buscar(TfuncacompConfigmailTfacfgm.class, tfcfgmPK);
 
            //Verificando se j� existe posi��o liberada
            //Caso j� exista (indLiberadoArel) , n�o precisa mandar e-mail
            AcompRelatorioArel acompRelatorio = acompRelatorioDao.getAcompRelatorio(tipoFuncao, ari);
            if ( acompRelatorio != null && !"S".equals(acompRelatorio.getIndLiberadoArel()) ) {
View Full Code Here


            ItemEstUsutpfuacIettutfa itemEstUsutpfacIetutfa = (ItemEstUsutpfuacIettutfa) itList.next();
            TfuncacompConfigmailTfacfgmPK tfcfgmPK = new TfuncacompConfigmailTfacfgmPK();
            tfcfgmPK.setCodCfgm(configMailCfgm.getCodCfgm());
            tfcfgmPK.setCodTpfa(itemEstUsutpfacIetutfa.getTipoFuncAcompTpfa().getCodTpfa());
           
            TfuncacompConfigmailTfacfgm tfcfm = (TfuncacompConfigmailTfacfgm) tfuncacompConfigmailTfacfgmDAO.buscar(TfuncacompConfigmailTfacfgm.class, tfcfgmPK);
 
            List acompRealFisicoList = acompRealFisicoDao.getIndResulByAcompRefItemBySituacao(ari, Dominios.TODOS, false);
            Iterator itArf = acompRealFisicoList.iterator();
            boolean faltaArf = false;
            while (itArf.hasNext())
View Full Code Here

                tfcfgmPK.setCodTpfa(itemEstUsutpfacIetutfa.getTipoFuncAcompTpfa().getCodTpfa());
             
              TfuncacompConfigmailTfacfgm tfcfm = null;
             
              try {
                tfcfm = (TfuncacompConfigmailTfacfgm) tfuncacompConfigmailTfacfgmDAO.buscar(TfuncacompConfigmailTfacfgm.class, tfcfgmPK);
              catch(Exception e) {
                tfcfm = null;
              }
               
              if (tfcfm != null && "S".equals(tfcfm.getEnviaMailTfacfgm())) {
View Full Code Here

         
          TfuncacompConfigmailTfacfgmPK tfcfgmPK = new TfuncacompConfigmailTfacfgmPK();
          tfcfgmPK.setCodCfgm(configMailCfgm.getCodCfgm());
          tfcfgmPK.setCodTpfa(itemEstUsutpfacIetutfa.getTipoFuncAcompTpfa().getCodTpfa());
         
          TfuncacompConfigmailTfacfgm tfcfm = (TfuncacompConfigmailTfacfgm) tfuncacompConfigmailTfacfgmDAO.
                buscar(TfuncacompConfigmailTfacfgm.class, tfcfgmPK);
         
          // se a funcao de acompanhamento estiver configurada para receber email (configura��o estrutura/funcao acompanhamento)
          if ("S".equals(tfcfm.getEnviaMailTfacfgm())) {
           
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.