com.hack23.cia.service.impl.commondao.api
Interface UserDAO

Package class diagram package UserDAO
All Superinterfaces:
GenericDAO<UserData,Long>
All Known Implementing Classes:
UserDAOImpl

public interface UserDAO
extends GenericDAO<UserData,Long>

The Interface UserDAO.


Method Summary
Modifier and Type Method and Description
 UserData findByUsername(String username)
          Find by username.
 UserData getIfValidUser(String username, String encodedPassword)
          Gets the if valid user.
 
Methods inherited from interface com.hack23.cia.service.impl.commondao.api.GenericDAO
delete, getAll, loadById, save
 

Method Detail

findByUsername

@Transactional(readOnly=true)
UserData findByUsername(String username)
Find by username.

Parameters:
username - the username
Returns:
the user data

getIfValidUser

@Transactional(readOnly=true)
UserData getIfValidUser(String username,
                                      String encodedPassword)
Gets the if valid user.

Parameters:
username - the username
encodedPassword - the encoded password
Returns:
the if valid user


Copyright © 2008-2010 www.hack23.com. All Rights Reserved.