com.atlassian.crowd.openid.server.model.profile
Class ProfileDAOHibernate

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
          extended by com.atlassian.crowd.openid.server.model.HibernateDao
              extended by com.atlassian.crowd.openid.server.model.EntityObjectDAOHibernate
                  extended by com.atlassian.crowd.openid.server.model.profile.ProfileDAOHibernate
All Implemented Interfaces:
EntityObjectDAO, ObjectDao, ProfileDAO, org.springframework.beans.factory.InitializingBean

public class ProfileDAOHibernate
extends EntityObjectDAOHibernate
implements ProfileDAO


Field Summary
 
Fields inherited from class com.atlassian.crowd.openid.server.model.HibernateDao
logger
 
Constructor Summary
ProfileDAOHibernate()
           
 
Method Summary
 Profile findProfileByName(String name, User user)
          Finds a profile for a user given a specific name.
 Class getPersistentClass()
          All subclasses of HibernateDAO must implement this method for HibernateDao.load(long) to work correctly
 
Methods inherited from class com.atlassian.crowd.openid.server.model.EntityObjectDAOHibernate
findAll, save, update
 
Methods inherited from class com.atlassian.crowd.openid.server.model.HibernateDao
load, loadReference, remove, save, saveOrUpdate, update
 
Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory
 
Methods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet, initDao
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.crowd.openid.server.model.EntityObjectDAO
findAll, save, update
 
Methods inherited from interface com.atlassian.crowd.openid.server.model.ObjectDao
load, remove, save, update
 

Constructor Detail

ProfileDAOHibernate

public ProfileDAOHibernate()
Method Detail

findProfileByName

public Profile findProfileByName(String name,
                                 User user)
Description copied from interface: ProfileDAO
Finds a profile for a user given a specific name.

Specified by:
findProfileByName in interface ProfileDAO
Parameters:
name - name of profile.
user - owner of the profile.
Returns:
profile for the user with the given name.

getPersistentClass

public Class getPersistentClass()
Description copied from class: HibernateDao
All subclasses of HibernateDAO must implement this method for HibernateDao.load(long) to work correctly

Specified by:
getPersistentClass in interface ObjectDao
Specified by:
getPersistentClass in class HibernateDao
Returns:
Class


Copyright © 2013 Atlassian. All Rights Reserved.