RoleDao (gisgraphy 2.0-final API)
Date: 2010-09-01

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,java.lang.Long>

All Known Implementing Classes:
  RoleDaoHibernate

    public interface RoleDao

extends GenericDao<Role,java.lang.Long>

Role Data Access Object (DAO) interface.

Author:
  Matt Raible

Method Summary
`Role` | `getRoleByName(java.lang.String rolename)` Gets role information based on rolename
`void` | `removeRole(java.lang.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(java.lang.String rolename)

  Gets role information based on rolename

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

### removeRole

    void removeRole(java.lang.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 © 2010. All Rights Reserved.