Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.gisgraphy.dao
Interface RoleDao

All Superinterfaces:
  GenericDao<Role,Long>

All Known Implementing Classes:
  RoleDaoHibernate

    public interface RoleDao

extends GenericDao<Role,Long>

Role Data Access Object (DAO) interface.

Author:
  Matt Raible

Method Summary
`Role` | `getRoleByName(String rolename)` Gets role information based on rolename
`void` | `removeRole(String rolename)` Removes a role from the database by name

Methods inherited from interface com.gisgraphy.dao.GenericDao
`exists, get, getAll, remove, save`

Method Detail

### getRoleByName

    Role getRoleByName(String rolename)

  Gets role information based on rolename

  Parameters:
    `rolename` - the rolename
  Returns:
    populated role object

### removeRole

    void removeRole(String rolename)

  Removes a role from the database by name

  Parameters:
    `rolename` - the role's rolename

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2012. All Rights Reserved.