com.atlassian.confluence.pages.persistence.dao.hibernate
Class HibernateAbstractPageDao

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate.support.HibernateDaoSupport
          extended by com.atlassian.confluence.pages.persistence.dao.hibernate.HibernateAbstractPageDao
All Implemented Interfaces:
AbstractPageDao, org.springframework.beans.factory.InitializingBean

public class HibernateAbstractPageDao
extends org.springframework.orm.hibernate.support.HibernateDaoSupport
implements AbstractPageDao


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
HibernateAbstractPageDao()
           
 
Method Summary
 AbstractPage getAbstractPageById(long id)
          Returns a Page or BlogPost depending on whether a page id or blog post id is specified.
 
Methods inherited from class org.springframework.orm.hibernate.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
 

Constructor Detail

HibernateAbstractPageDao

public HibernateAbstractPageDao()
Method Detail

getAbstractPageById

public AbstractPage getAbstractPageById(long id)
Returns a Page or BlogPost depending on whether a page id or blog post id is specified.

Specified by:
getAbstractPageById in interface AbstractPageDao
Returns:
an object that is either a Page or BlogPost (current subclasses of AbstractPage). Null if no result could be found.


Copyright © 2003-2011 Atlassian. All Rights Reserved.