Fish & Chips Club 4.10.0.0

hirondelle.fish.access.role
Class RoleDAO

Object
  extended by hirondelle.fish.access.role.RoleDAO

final class RoleDAO
extends Object


Constructor Summary
RoleDAO()
           
 
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
 

Constructor Detail

RoleDAO

RoleDAO()
Method Detail

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

Fish & Chips Club 4.10.0.0

Copyright Hirondelle Systems - Generated 2013Oct19.12.26