org.zeroexchange.dao.user
Class DefaultOpenIdCredentialDAO

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

public class DefaultOpenIdCredentialDAO
extends BaseIntegerPKDAO<OpenIdCredential>
implements OpenIDCredentialDAO

Author:
black

Constructor Summary
DefaultOpenIdCredentialDAO()
           
 
Method Summary
 OpenIdCredential findCredential(String openId)
          Returns user by userName
protected  Class<OpenIdCredential> 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

DefaultOpenIdCredentialDAO

public DefaultOpenIdCredentialDAO()
Method Detail

findCredential

public OpenIdCredential findCredential(String openId)
Returns user by userName

Specified by:
findCredential in interface OpenIDCredentialDAO

getEntityClass

protected Class<OpenIdCredential> getEntityClass()

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


Copyright © 2013. All Rights Reserved.