Package com.cosmo.security

Examples of com.cosmo.security.Role


   /**
    * Lee un rol desde una consulta (ResultSet) que contenga todos los campos de ROLES.
    */
   private Role readRole(ResultSet rs) throws Exception
   {
      Role role = new Role();

      try
      {
         role.setId(rs.getString("roleid"));
         role.setDescription(rs.getString("roledescription"));
         role.setApplicationId(rs.getString("roleappid"));
         role.setSuperUser(rs.getBoolean("rolesu"));
      }
      catch (Exception ex)
      {
         throw ex;
      }
View Full Code Here

TOP

Related Classes of com.cosmo.security.Role

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.