Package br.gov.serpro.ouvidoria.controller

Examples of br.gov.serpro.ouvidoria.controller.PerfilCtrl.list()


        ActionMessages errorMsgs = new ActionMessages();

        // Recupera lista de Perfis
        PerfilCtrl perfilCtrl = new PerfilCtrl(getDaoFactory());

        Collection lstPerfil = perfilCtrl.list();

        // Retira perfil de administrador
        Perfil perfil = null;
        for (Iterator it = lstPerfil.iterator(); it.hasNext();) {
            perfil = (Perfil) it.next();
View Full Code Here


    }

    /* Lista de Perfis */
    PerfilCtrl perfilCtrl = new PerfilCtrl(getDaoFactory());
    Collection perfilList = new TreeSet(ordem);
    perfilList.addAll(perfilCtrl.list());
    if (!funcionario.getPerfil().equals(Perfil.ADMINISTRADOR)) {
      perfilList.remove(Perfil.ADMINISTRADOR);
    }

    /* Lista de Funcionalidades */
 
View Full Code Here

      }

      /* Lista de Perfis */
      Collection perfilList = new TreeSet(ordem);

      perfilList.addAll(perfilCtrl.list());

      if (!gestor.getPerfil().equals(Perfil.ADMINISTRADOR)) {
        perfilList.remove(Perfil.ADMINISTRADOR);
      }

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.