org.zeroexchange.dao.user
Class DefaultLocalCredentialDAO

java.lang.Object
  extended by org.zeroexchange.dao.HibernateSessionHolder
      extended by org.zeroexchange.dao.BaseHibernateDAO<Integer,T>
          extended by org.zeroexchange.dao.BaseIntegerPKDAO<LocalCredential>
              extended by org.zeroexchange.dao.user.DefaultLocalCredentialDAO
All Implemented Interfaces:
DAO<Integer,LocalCredential>, IntegerPKDAO<LocalCredential>, LocalCredentialDAO

public class DefaultLocalCredentialDAO
extends BaseIntegerPKDAO<LocalCredential>
implements LocalCredentialDAO

Author:
black

Constructor Summary
DefaultLocalCredentialDAO()
           
 
Method Summary
 LocalCredential findCredential(String userName)
          Returns user by userName
protected  Class<LocalCredential> getEntityClass()
          
 
Methods inherited from class org.zeroexchange.dao.BaseHibernateDAO
getById, removeById, save
 
Methods inherited from class org.zeroexchange.dao.HibernateSessionHolder
getSession
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.zeroexchange.dao.DAO
getById, removeById, save
 

Constructor Detail

DefaultLocalCredentialDAO

public DefaultLocalCredentialDAO()
Method Detail

findCredential

public LocalCredential findCredential(String userName)
Returns user by userName

Specified by:
findCredential in interface LocalCredentialDAO

getEntityClass

protected Class<LocalCredential> getEntityClass()

Specified by:
getEntityClass in class BaseHibernateDAO<Integer,LocalCredential>


Copyright © 2013. All Rights Reserved.