Package ecar.pojo

Examples of ecar.pojo.UsuarioUsu


          // Referente ao Mantis #7442
          imagePath = cDao.getImagemPersonalizada(cor, null, null);
          if( imagePath != null ) {
           
               String hashNomeArquivo = null;
               UsuarioUsu usuarioImagem = null;
              
               String pathRaiz = new ecar.dao.ConfiguracaoDao(request).getConfiguracao().getRaizUpload();
               imagePath = imagePath.substring(pathRaiz.length());
           
               hashNomeArquivo = Util.calcularHashNomeArquivo(pathRaiz, imagePath);
View Full Code Here


          s.append("<tr>");
          s.append("<td valign=\"middle\"  class=\"form_label\" align=\"center\">");
          imagePath = cDao.getImagemPersonalizada(cor, null, null);
          if (imagePath != null) {
               String hashNomeArquivo = null;
               UsuarioUsu usuarioImagem = null;
              
               String pathRaiz = new ecar.dao.ConfiguracaoDao(request).getConfiguracao().getRaizUpload();
               imagePath = imagePath.substring(pathRaiz.length());
           
               hashNomeArquivo = Util.calcularHashNomeArquivo(pathRaiz, imagePath);
View Full Code Here

        iett.setOrgaoOrgByCodOrgaoResponsavel1Iett(orgao);
       
          /* Setando Usuario para funcao GPS*/
          TipoFuncAcompTpfa funcaoGPS = (TipoFuncAcompTpfa) new TipoFuncAcompDao(request).buscar(TipoFuncAcompTpfa.class, Long.valueOf(3)); //3 - GPS, 1 - Administrador
         
          UsuarioUsu user = this.getUsuarioGPSByOrgao(orgao);
         
          if(user != null){
                  ItemEstUsutpfuacIettutfa funcaoItemEstrutura = new ItemEstUsutpfuacIettutfa();
                  funcaoItemEstrutura.setItemEstruturaIett(iett);
                  funcaoItemEstrutura.setTipoFuncAcompTpfa(funcaoGPS);
View Full Code Here

     * @since 19/07/2007
     * @throws ECARException
     */
    public void setTipoAcoesPPA20082011() throws ECARException{
     
      UsuarioUsu usuarioLogado = ((SegurancaECAR)request.getSession().getAttribute("seguranca")).getUsuario();
     
      SisAtributoDao sisDao = new SisAtributoDao(request);
     
      SisAtributoSatb projeto = (SisAtributoSatb) sisDao.buscar(SisAtributoSatb.class, Long.valueOf(46));
      SisAtributoSatb atividade = (SisAtributoSatb) sisDao.buscar(SisAtributoSatb.class, Long.valueOf(47));
View Full Code Here

     
        Transaction tx = null;

        try{
         
          UsuarioUsu usuarioLogado = ((SegurancaECAR)request.getSession().getAttribute("seguranca")).getUsuario();
         
        ArrayList objetos = new ArrayList();
       
        super.inicializarLogBean();
View Full Code Here

     
        Transaction tx = null;

        try{
         
          UsuarioUsu usuarioLogado = ((SegurancaECAR)request.getSession().getAttribute("seguranca")).getUsuario();
         
        ArrayList objetos = new ArrayList();
       
        super.inicializarLogBean();
View Full Code Here

      final int COD_INT_NAO = 54;
     
      //Buscando a estrutura de n�vel de a��o do PPA 2008-2011
      EstruturaEtt estrutura = (EstruturaEtt) new EstruturaDao(request).buscar(EstruturaEtt.class, Long.valueOf(20));
      SisAtributoSatb atbIntNao = (SisAtributoSatb) buscar(SisAtributoSatb.class, Long.valueOf(COD_INT_NAO));
      UsuarioUsu usuarioLogado = ((SegurancaECAR)request.getSession().getAttribute("seguranca")).getUsuario();
     
        Transaction tx = null;

        try{
          msg("+++++++++++++++++ [ INICIO TRANSACAO ] ++++++++++++++++++++");
View Full Code Here

      if("usuario".equals(ordenacao)) {
        // ordena��o manualmente pois o nome do usu�rio est� no Sentinela
           Collections.sort(retorno,
                new Comparator() {
                public int compare(Object o1, Object o2) {                                  
                    UsuarioUsu u1 = ((RegControleAcessoRca) o1).getUsuarioUsu();
                    UsuarioUsu u2 = ((RegControleAcessoRca) o2).getUsuarioUsu();                                 
                   
                    return u1.getNomeUsuSent().compareToIgnoreCase(u2.getNomeUsuSent())
            }
             }
        );
      }
     
View Full Code Here

        AcompReferenciaAref acompanhamento = (AcompReferenciaAref)listAcompReferenciaAref.get(0);
     
          ItemEstUsutpfuacDao itemEstUsutpfuacDao = new ItemEstUsutpfuacDao(request);
          AcompRelatorioDao acompRelatorioDao = new AcompRelatorioDao(request);
     
          UsuarioUsu usuario = (UsuarioUsu) new UsuarioDao(request).buscar(UsuarioUsu.class, Long.valueOf(Pagina.getParamStr(request, "codUsuario")));

      //// Obter configura��o de grupo de meta f�sica
      ConfiguracaoCfg cfg = configuracaoDao.getConfiguracao();
      ArrayList<SisAtributoSatb> listAtribMetasFisicasCfg = new ArrayList<SisAtributoSatb>();
     
View Full Code Here

                 
                  Iterator itUsu = usuarios.iterator();
                 
                  while (itUsu.hasNext()){
                 
                    UsuarioUsu usu = (UsuarioUsu) itUsu.next();             
                 
                    // controle para n�o enviar e-mail para o usu�rio logado
                      if(usu.equals(usuarioLogado)) {
                        continue;
                      }
               
                    Long   codIett   = Long.valueOf(0);
                    String textoMail = "";
                    String assunto   = "";
                    String remetente = "";
                 
                    if( configMailCfgm.getTextosSiteMail() != null ) {
                      textoMail = configMailCfgm.getTextosSiteMail().getTextoTxts();
                      assunto   = configMailCfgm.getTextosSiteMail().getDescricaoUsoTxts();
                      remetente = configMailCfgm.getTextosSiteMail().getEmailResponsavelTxts();
                    }
                   
                    // se nao tem remetente configurado no textoSite, pega da empresa.
                    if( "".equals(remetente) || remetente == null ) {
                      List listEmpresa = new ArrayList();
                      EmpresaEmp emp = null;
   
                      listEmpresa = empDAO.listar(EmpresaEmp.class, null);
   
                      for(Iterator itEmp = listEmpresa.iterator(); itEmp.hasNext();){
                        emp = (EmpresaEmp) itEmp.next();
                      }
                     
                      remetente = emp.getEmailContatoEmp();
                    }
                 
                    if( ari.getItemEstruturaIett() != null )
                      codIett = ari.getItemEstruturaIett().getCodIett();
   
                    AgendadorEmail ae = new AgendadorEmail();
                   
                    String descricaoEvento = null;
                    String html = null;
                 
                  descricaoEvento = "Libera��o/Recupera��o de Acompanhamento";
                  String labelQuemAlterou = AgendadorEmail.LABEL_WHO_CHANGE_LIBERACAO;
                  html = ae.montaEmail(textoMail, usu.getNomeUsu(), usuarioLogado.getNomeUsuSent(), codIett,
                      descricaoEvento, null, null, labelQuemAlterou,
                      ari.getAcompReferenciaAref().getTipoAcompanhamentoTa().getDescricaoTa()).toString();
                  ae.enviarEmail(assunto, remetente, html, usu.getEmail1UsuSent(), "", "", usu);
                  }
                }
              }
            }
        }
View Full Code Here

TOP

Related Classes of ecar.pojo.UsuarioUsu

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.