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
 List findAllGlobalPageTemplates()
           
 List findLatestVersions()
           
 PageTemplate findPageTemplateByModuleCompleteKeyAndSpace(com.atlassian.plugin.ModuleCompleteKey moduleCompleteKey, Space space)
           
 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)
           
 
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 findAllGlobalPageTemplates()

findLatestVersions

List 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


findPageTemplateByModuleCompleteKeyAndSpace

PageTemplate findPageTemplateByModuleCompleteKeyAndSpace(com.atlassian.plugin.ModuleCompleteKey moduleCompleteKey,
                                                         Space space)

findPreviousVersions

List findPreviousVersions(long id)


Copyright © 2003-2013 Atlassian. All Rights Reserved.