public class HibernatePageTemplateDao extends ConfluenceHibernateObjectDao implements PageTemplateDao
HibernateObjectDao.Cacheability
cacheFactory, confluenceUserDao
NON_CACHEABLE
Constructor and Description |
---|
HibernatePageTemplateDao() |
Modifier and Type | Method and Description |
---|---|
List |
findAllGlobalPageTemplates() |
PageTemplate |
findCustomisedPluginTemplate(PluginTemplateReference pluginTemplateReference) |
List |
findLatestVersions() |
PageTemplate |
findPageTemplateByName(String name)
This will find a global page template with the given name
|
PageTemplate |
findPageTemplateByNameAndSpace(String name,
Space space)
This will find a space page template with the given name and space
|
List |
findPreviousVersions(long id) |
PageTemplate |
getById(long id) |
Class |
getPersistentClass() |
findAllSorted, findLatestVersionsCount, findLatestVersionsCount, findLatestVersionsIterator, findLatestVersionsIterator, findNamedQueryStringParams, findNamedQueryStringParams, save, setCacheFactory, setConfluenceUserDao, updateModificationData
applyTransactionTimeout, applyTransactionTimeout, checkDaoConfig, createHibernateTemplate, findAll, findAllSorted, findByClassIds, findNamedQuery, findNamedQuery, findNamedQuery, findNamedQuery, findNamedQuery, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findSingleObject, getByClassId, getCountResult, getHibernateTemplate, getSession, getSessionFactory, index, refresh, reIndex, remove, replicate, save, saveRaw, setHibernateTemplate, setIndexer, setSessionFactory, unIndex, uniqueResult
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findLatestVersionsCount, findLatestVersionsIterator, save
findAll, findAllSorted, findAllSorted, findByClassIds, refresh, remove, replicate, save, saveRaw
public Class getPersistentClass()
getPersistentClass
in interface ObjectDao
public PageTemplate getById(long id)
getById
in interface PageTemplateDao
public List findAllGlobalPageTemplates()
findAllGlobalPageTemplates
in interface PageTemplateDao
public PageTemplate findPageTemplateByName(String name)
PageTemplateDao
findPageTemplateByName
in interface PageTemplateDao
public PageTemplate findPageTemplateByNameAndSpace(String name, Space space)
PageTemplateDao
findPageTemplateByNameAndSpace
in interface PageTemplateDao
public PageTemplate findCustomisedPluginTemplate(PluginTemplateReference pluginTemplateReference)
findCustomisedPluginTemplate
in interface PageTemplateDao
public List findPreviousVersions(long id)
findPreviousVersions
in interface PageTemplateDao
public List findLatestVersions()
findLatestVersions
in interface PageTemplateDao
Copyright © 2003–2017 Atlassian. All rights reserved.