com.atlassian.confluence.pages.templates.persistence.dao
Interface PageTemplateDao

All Superinterfaces:
ObjectDao, VersionedObjectDao
All Known Implementing Classes:
HibernatePageTemplateDao, MigrationPageTemplateDao

public interface PageTemplateDao
extends VersionedObjectDao


Field Summary
 
Fields inherited from interface bucket.core.persistence.ObjectDao
NON_CACHEABLE
 
Method Summary
 List<PageTemplate> findAllGlobalPageTemplates()
           
 PageTemplate findCustomisedPluginTemplate(PluginTemplateReference pluginTemplateReference)
           
 List<PageTemplate> 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<PageTemplate> findPreviousVersions(long id)
           
 PageTemplate getById(long id)
           
 
Methods inherited from interface com.atlassian.confluence.core.persistence.VersionedObjectDao
findLatestVersionsCount, findLatestVersionsIterator, save
 
Methods inherited from interface bucket.core.persistence.ObjectDao
findAll, findAllSorted, findAllSorted, getPersistentClass, refresh, remove, replicate, save, saveRaw
 

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)


Copyright © 2003–2015 Atlassian. All rights reserved.