Interface PageTemplateDao
-
- All Superinterfaces:
ObjectDao
,VersionedObjectDao<PageTemplate>
- All Known Implementing Classes:
HibernatePageTemplateDao
,MigrationPageTemplateDao
@Transactional(readOnly=true) public interface PageTemplateDao extends VersionedObjectDao<PageTemplate>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<PageTemplate>
findAllGlobalPageTemplates()
List<PageTemplate>
findBySpace(Space space)
PageTemplate
findCustomisedPluginTemplate(PluginTemplateReference pluginTemplateReference)
List<PageTemplate>
findLatestVersions()
PageTemplate
findPageTemplateByName(String name)
This will find a global page template with the given namePageTemplate
findPageTemplateByNameAndSpace(String name, Space space)
This will find a space page template with the given name and spaceList<PageTemplate>
findPreviousVersions(long id)
PageTemplate
getById(long id)
-
Methods inherited from interface bucket.core.persistence.ObjectDao
findAll, findAllSorted, findAllSorted, findByClassIds, getPersistentClass, refresh, remove, replicate, save, saveRaw
-
Methods inherited from interface com.atlassian.confluence.core.persistence.VersionedObjectDao
findLatestVersionsCount, findLatestVersionsIterator, save
-
-
-
-
Method Detail
-
getById
PageTemplate getById(long id)
-
findAllGlobalPageTemplates
List<PageTemplate> findAllGlobalPageTemplates()
-
findLatestVersions
List<PageTemplate> findLatestVersions()
-
findPageTemplateByName
PageTemplate findPageTemplateByName(String name)
This will find a global page template with the given name
-
findPageTemplateByNameAndSpace
PageTemplate findPageTemplateByNameAndSpace(String name, Space space)
This will find a space page template with the given name and space
-
findCustomisedPluginTemplate
PageTemplate findCustomisedPluginTemplate(PluginTemplateReference pluginTemplateReference)
-
findPreviousVersions
List<PageTemplate> findPreviousVersions(long id)
-
findBySpace
List<PageTemplate> findBySpace(Space space)
-
-