hirondelle.fish.access.role
Class RoleDAO
Object
hirondelle.fish.access.role.RoleDAO
final class RoleDAO
- extends Object
Method Summary |
(package private) boolean |
change(UserRole aUserRole)
Update all roles attached to a user. |
(package private) UserRole |
fetch(SafeText aUserName)
Fetch a single UserRole for a given user name. |
(package private) List<UserRole> |
list()
Return a List<UserRole> for all users, with their current roles. |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RoleDAO
RoleDAO()
list
List<UserRole> list()
throws DAOException
- Return a
List<UserRole>
for all users, with their current roles.
- Throws:
DAOException
fetch
UserRole fetch(SafeText aUserName)
throws DAOException
- Fetch a single
UserRole
for a given user name.
- Throws:
DAOException
change
boolean change(UserRole aUserRole)
throws DAOException
- Update all roles attached to a user.
This implementation will treat all edits to user roles as 'DELETE-ALL, then
ADD-ALL' operations.
- Throws:
DAOException
Copyright Hirondelle Systems - Generated 2013Oct19.12.26