com.atlassian.crowd.openid.server.model.site
Class SiteDAOHibernate

java.lang.Object
  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.site.SiteDAOHibernate
All Implemented Interfaces:
EntityObjectDAO, ObjectDao, SiteDAO

public class SiteDAOHibernate
extends EntityObjectDAOHibernate
implements SiteDAO


Field Summary
 
Fields inherited from class com.atlassian.crowd.openid.server.model.HibernateDao
logger
 
Constructor Summary
SiteDAOHibernate()
           
 
Method Summary
 Site findByURL(String url)
           
 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
currentSession, load, loadReference, remove, save, saveOrUpdate, setSessionFactory, update
 
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

SiteDAOHibernate

public SiteDAOHibernate()
Method Detail

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

findByURL

public Site findByURL(String url)
Specified by:
findByURL in interface SiteDAO


Copyright © 2013 Atlassian. All Rights Reserved.