public class HibernatePageTemplateDao extends ConfluenceHibernateObjectDao<PageTemplate> implements PageTemplateDao
HibernateObjectDao.Cacheability
cacheFactory, confluenceUserDao
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()
Gets the type of
EntityObject this Dao works with. |
findAllSorted, findLatestVersionsCount, findLatestVersionsCount, findLatestVersionsIterator, findLatestVersionsIterator, findNamedQueryStringParams, findNamedQueryStringParams, save, saveEntity, setCacheFactory, setConfluenceUserDao, updateEntityModificationData, updateModificationData
applyTransactionTimeout, applyTransactionTimeout, checkDaoConfig, createHibernateTemplate, findAll, findAllSorted, findByClassIds, findByClassIdsFiltered, findNamedQuery, findNamedQuery, findNamedQuery, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParam, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findNamedQueryStringParams, findSingleObject, getByClassId, getCountResult, getHibernateTemplate, getSession, getSessionFactory, index, indexEntity, refresh, refreshEntity, reIndex, reIndexEntity, remove, removeEntity, replicate, replicateEntity, save, saveEntity, saveRaw, saveRawEntity, setHibernateTemplate, setIndexer, setSessionFactory, unIndex, unIndexEntity, uniqueResult
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findLatestVersionsCount, findLatestVersionsIterator, save
findAll, findAllSorted, findAllSorted, findByClassIds, refresh, remove, replicate, save, saveRaw
findAll, findAllSorted, findByClassIds, findByClassIdsFiltered, refresh, refreshEntity, remove, removeEntity, replicate, replicateEntity, save, saveEntity, saveRaw, saveRawEntity
public Class getPersistentClass()
ObjectDaoInternal
EntityObject
this Dao works with.getPersistentClass
in interface ObjectDao
getPersistentClass
in interface ObjectDaoInternal<PageTemplate>
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–2020 Atlassian. All rights reserved.