org.openwms.core.integration
Interface UserDao

All Superinterfaces:
GenericDao<User,Long>
All Known Implementing Classes:
UserDaoImpl

public interface UserDao
extends GenericDao<User,Long>

An UserDao adds particular functionality regarding User entity classes.

Since:
0.1
Version:
$Revision: 1540 $
Author:
Heiko Scherrer
See Also:
GenericDao, User

Field Summary
 
Fields inherited from interface org.openwms.core.integration.GenericDao
FIND_ALL, FIND_BY_ID
 
Method Summary
 User findByNameAndPassword(UserPassword userPassword)
          Find an User by his userName and password.
 
Methods inherited from interface org.openwms.core.integration.GenericDao
findAll, findById, findByNamedParameters, findByPositionalParameters, findByUniqueId, persist, remove, save, setPersistentClass
 

Method Detail

findByNameAndPassword

User findByNameAndPassword(UserPassword userPassword)
Find an User by his userName and password.

Parameters:
userPassword - Stores the userName and password.
Returns:
The User if found, otherwise might be null


Copyright © 2005-2011 openwms.org. All Rights Reserved.