com.atlassian.crowd.openid.server.model.approval
Class SiteApprovalDAOHibernate
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate3.support.HibernateDaoSupport
com.atlassian.crowd.openid.server.model.HibernateDao
com.atlassian.crowd.openid.server.model.EntityObjectDAOHibernate
com.atlassian.crowd.openid.server.model.approval.SiteApprovalDAOHibernate
- All Implemented Interfaces:
- SiteApprovalDAO, EntityObjectDAO, ObjectDao, org.springframework.beans.factory.InitializingBean
public class SiteApprovalDAOHibernate
- extends EntityObjectDAOHibernate
- implements SiteApprovalDAO
| 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 |
SiteApprovalDAOHibernate
public SiteApprovalDAOHibernate()
getPersistentClass
public java.lang.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
findBySite
public SiteApproval findBySite(User user,
Site site)
- Specified by:
findBySite in interface SiteApprovalDAO
findAlwaysAllow
public java.util.List findAlwaysAllow(User user)
- Specified by:
findAlwaysAllow in interface SiteApprovalDAO
findAllForProfile
public java.util.List findAllForProfile(Profile profile)
- Specified by:
findAllForProfile in interface SiteApprovalDAO
Copyright © 2012 Atlassian. All Rights Reserved.