org.smartcomps.twister.util.user.priv.dao
Class UserDAO

java.lang.Object
  |
  +--org.smartcomps.twister.common.persistence.PersistentDataAccess
        |
        +--org.smartcomps.twister.util.user.priv.dao.UserDAO

public class UserDAO
extends PersistentDataAccess


Constructor Summary
UserDAO()
           
 
Method Summary
static java.util.List findAllRoles()
           
static java.util.List findAllUsers()
           
static org.smartcomps.twister.util.user.priv.RoleImpl findRoleByRolename(java.lang.String rolename)
           
static java.util.Collection findRolesByNames(java.util.List names)
           
static java.util.Collection findRolesByUsername(java.lang.String username)
           
static java.util.Collection findUsersInRole(java.lang.String rolename)
           
 
Methods inherited from class org.smartcomps.twister.common.persistence.PersistentDataAccess
create, findAll, findById, remove, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserDAO

public UserDAO()
Method Detail

findRolesByNames

public static java.util.Collection findRolesByNames(java.util.List names)
                                             throws DBSessionException,
                                                    FinderException
DBSessionException
FinderException

findRolesByUsername

public static java.util.Collection findRolesByUsername(java.lang.String username)
                                                throws DBSessionException
DBSessionException

findAllUsers

public static java.util.List findAllUsers()
                                   throws DBSessionException
DBSessionException

findAllRoles

public static java.util.List findAllRoles()
                                   throws DBSessionException
DBSessionException

findRoleByRolename

public static org.smartcomps.twister.util.user.priv.RoleImpl findRoleByRolename(java.lang.String rolename)
                                                                         throws DBSessionException,
                                                                                FinderException
DBSessionException
FinderException

findUsersInRole

public static java.util.Collection findUsersInRole(java.lang.String rolename)
                                            throws DBSessionException,
                                                   FinderException
DBSessionException
FinderException


Copyright © 2003 SmartComps. All Rights Reserved.