Package ecar.historico

Examples of ecar.historico.HistoricoIettus


          // controlar as permissoes
          //
           
            /******** Historico *********/
           
            HistoricoIettus historico = new HistoricoIettus(old,
                              HistoricoIettus.alterarPermissoes,
                                    session,
                                    new ConfiguracaoDao(request),
                                    request);
            historico.gerarHistorico();
           
          /******** Historico *********/
           
            controlePermissao.atualizarPermissoesItensFilhos(novo, indProxNivelIettusAnterior, session, request, historico);
         
View Full Code Here


            //
              new ControlePermissao().removerPermissoesItensFilhos(old, session, request);
             
             
              /******** Historico *********/             
              HistoricoIettus historico = new HistoricoIettus(old,
                                      HistoricoIettus.excluirPermissoes,
                                      session,
                                      new ConfiguracaoDao(request),
                                      request);
              historico.gerarHistorico();
            /******** Historico *********/

              session.delete(old);             
        objetos.add(old);
            }
View Full Code Here

  public void atualizarPermissoesItemEstrutura(ItemEstruturaIett item, Set fuacAnteriores, Session session, boolean novoItem, HttpServletRequest request) throws ECARException {
   
    Iterator itFuncoesAcompanhamento = item.getEstruturaEtt().getEstrutTpFuncAcmpEtttfas().iterator();
   
    /****** historico *****/
        HistoricoIettus historico = new HistoricoIettus(new ItemEstrutUsuarioIettus(),
        HistoricoIettus.excluirPermissoes,
        session,
        new ConfiguracaoDao(request),
        request);
        /****** historico *****/
 
View Full Code Here

              if(ieUsuario.getUsuarioUsu() != null && ieUsuario.getUsuarioUsu().equals(itemEstrutUsuario.getUsuarioUsu())) {
               
                ieUsuario.setUsuManutencao(itemEstrutUsuario.getUsuManutencao());
                      /******** 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 *********/               
               
                session.delete(ieUsuario);
              }
 
View Full Code Here

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

         
          ItemEstrutUsuarioIettus itemEstrutUsuario = (ItemEstrutUsuarioIettus) itIettus.next();
         
                /******** Historico *********/
               
                HistoricoIettus historico = new HistoricoIettus(itemEstrutUsuario,
                                        HistoricoIettus.excluirPermissoes,
                                        session,
                                        new ConfiguracaoDao(request),
                                        request);
                historico.gerarHistorico();
               
              /******** Historico *********/
     
              //
              // controlar as permissoes
View Full Code Here

TOP

Related Classes of ecar.historico.HistoricoIettus

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.