com.atlassian.confluence.pages.templates.persistence.dao.hibernate
Class HibernatePageTemplateDao
java.lang.Object
org.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate.support.HibernateDaoSupport
com.atlassian.hibernate.HibernateObjectDao
com.atlassian.confluence.core.persistence.hibernate.VersionedHibernateObjectDao
com.atlassian.confluence.core.persistence.hibernate.ConfluenceHibernateObjectDao
com.atlassian.confluence.pages.templates.persistence.dao.hibernate.HibernatePageTemplateDao
- All Implemented Interfaces:
- ObjectDao, VersionedObjectDao, PageTemplateDao, org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
- MigrationPageTemplateDao
public class HibernatePageTemplateDao
- extends ConfluenceHibernateObjectDao
- implements PageTemplateDao
- Version:
- Revision: 1.1.1.1 $
- Author:
- Ara Abrahamian (ara_e_w@yahoo.com)
Fields inherited from class org.springframework.dao.support.DaoSupport |
logger |
Methods inherited from class com.atlassian.hibernate.HibernateObjectDao |
findAll, findAllSorted, findNamedQuery, findNamedQuery, findNamedQuery, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findSingleObject, getByClassId, getCountResult, index, refresh, reIndex, remove, replicate, save, saveRaw, setIndexer, unIndex, uniqueResult |
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 |
HibernatePageTemplateDao
public HibernatePageTemplateDao()
getPersistentClass
public java.lang.Class getPersistentClass()
- Specified by:
getPersistentClass
in interface ObjectDao
getById
public PageTemplate getById(long id)
- Specified by:
getById
in interface PageTemplateDao
findAllGlobalPageTemplates
public java.util.List findAllGlobalPageTemplates()
- Specified by:
findAllGlobalPageTemplates
in interface PageTemplateDao
findPageTemplateByName
public PageTemplate findPageTemplateByName(java.lang.String name)
- Description copied from interface:
PageTemplateDao
- This will find a global page template with the given name
- Specified by:
findPageTemplateByName
in interface PageTemplateDao
findPageTemplateByNameAndSpace
public PageTemplate findPageTemplateByNameAndSpace(java.lang.String name,
Space space)
- Description copied from interface:
PageTemplateDao
- This will find a space page template with the given name and space
- Specified by:
findPageTemplateByNameAndSpace
in interface PageTemplateDao
findCustomisedPluginTemplate
public PageTemplate findCustomisedPluginTemplate(PluginTemplateReference pluginTemplateReference)
- Specified by:
findCustomisedPluginTemplate
in interface PageTemplateDao
findPreviousVersions
public java.util.List findPreviousVersions(long id)
- Specified by:
findPreviousVersions
in interface PageTemplateDao
findLatestVersions
public java.util.List findLatestVersions()
- Specified by:
findLatestVersions
in interface PageTemplateDao
Copyright © 2003-2014 Atlassian. All Rights Reserved.