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

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

public interface PageTemplateDao
extends VersionedObjectDao


Method Summary
 java.util.List<PageTemplate> findAllGlobalPageTemplates()
           
 PageTemplate findCustomisedPluginTemplate(PluginTemplateReference pluginTemplateReference)
           
 java.util.List<PageTemplate> findLatestVersions()
           
 PageTemplate findPageTemplateByName(java.lang.String name)
          This will find a global page template with the given name
 PageTemplate findPageTemplateByNameAndSpace(java.lang.String name, Space space)
          This will find a space page template with the given name and space
 java.util.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

java.util.List<PageTemplate> findAllGlobalPageTemplates()

findLatestVersions

java.util.List<PageTemplate> findLatestVersions()

findPageTemplateByName

PageTemplate findPageTemplateByName(java.lang.String name)
This will find a global page template with the given name


findPageTemplateByNameAndSpace

PageTemplate findPageTemplateByNameAndSpace(java.lang.String name,
                                            Space space)
This will find a space page template with the given name and space


findCustomisedPluginTemplate

PageTemplate findCustomisedPluginTemplate(PluginTemplateReference pluginTemplateReference)

findPreviousVersions

java.util.List<PageTemplate> findPreviousVersions(long id)


Copyright © 2003-2014 Atlassian. All Rights Reserved.