org.directdemocracyportal.democracy.service.dao
Interface UserDAO

Package class diagram package UserDAO
All Superinterfaces:
GenericDAO<User,java.lang.Long>
All Known Implementing Classes:
HibernateUserDAO

public interface UserDAO
extends GenericDAO<User,java.lang.Long>

The Interface UserDAO.


Method Summary
Modifier and Type Method and Description
 User findByUsername(java.lang.String username)
          Find by username.
 
Methods inherited from interface org.directdemocracyportal.democracy.service.dao.GenericDAO
delete, getAll, load, save
 

Method Detail

findByUsername

User findByUsername(java.lang.String username)
                    throws org.springframework.dao.DataAccessException
Find by username.

Parameters:
username - the username
Returns:
the user
Throws:
org.springframework.dao.DataAccessException - the data access exception


Copyright © 2004-2010 www.DirectDemocracyPortal.org. All Rights Reserved.