com.atlassian.confluence.pages.persistence.dao
Interface PageDao

All Superinterfaces:
ContentEntityObjectDao, ObjectDao, VersionedObjectDao
All Known Implementing Classes:
HibernatePageDao

public interface PageDao
extends ContentEntityObjectDao


Method Summary
 List findPagesWithHistoricalTitle(String pageTitle)
           
 int getAuthoredPagesCountByUser(String username)
           
 List getDescendentIds(Page page)
           
 List getDescendents(Page page)
           
 List getOrphanedPages(String spaceKey)
           
 Page getPage(String spaceKey, String pageTitle)
           
 Page getPageById(long id)
           
 List getPageInTrash(String spaceKey, String title)
           
 List getPages(Space space, boolean currentOnly)
          Return an iterator for the specified space.
 List getPagesCreatedOrUpdatedSinceDate(Date previousLoginDate)
           
 List getPagesStartingWith(Space space, String s)
           
 List getPermissionPages(Space space)
           
 List getRecentlyAddedPages(int maxCount, String spaceKey)
           
 List getRecentlyAuthoredPagesByUser(String username, int maxCount)
           
 List getRecentlyUpdatedPages(int maxCount, String spaceKey)
           
 List getTopLevelPages(Space space)
           
 List getUndefinedPages(String spaceKey)
           
 void removeFromPageKeyCache(String spaceKey, String pageTitle)
           
 
Methods inherited from interface com.atlassian.confluence.core.persistence.ContentEntityObjectDao
findPreviousVersions, getAllCurrentEntities, getById, getContentAuthoredByUser, getEntitiesModifiedSince, getFirstVersionAfter, getFirstVersionBefore, getLockedContentBySpace, getObjectType, getRecentlyAddedEntities, getRecentlyModifiedEntities, getRecentlyModifiedEntities, getRecentlyModifiedEntitiesByType, getRecentlyModifiedEntitiesForUser, getTrashedContent, getVersion, getVersionHistorySummary
 
Methods inherited from interface com.atlassian.confluence.core.persistence.VersionedObjectDao
findLatestVersionsCount, findLatestVersionsIterator, save
 
Methods inherited from interface bucket.core.persistence.ObjectDao
findAll, findAllSorted, getPersistentClass, refresh, remove, replicate, save, saveRaw
 

Method Detail

getPageById

Page getPageById(long id)

getPage

Page getPage(String spaceKey,
             String pageTitle)

getPages

List getPages(Space space,
              boolean currentOnly)
Return an iterator for the specified space. This is an efficient alternative to space.getPages

Parameters:
space -
Returns:

getPagesStartingWith

List getPagesStartingWith(Space space,
                          String s)

getRecentlyAddedPages

List getRecentlyAddedPages(int maxCount,
                           String spaceKey)

getRecentlyUpdatedPages

List getRecentlyUpdatedPages(int maxCount,
                             String spaceKey)

getOrphanedPages

List getOrphanedPages(String spaceKey)

getUndefinedPages

List getUndefinedPages(String spaceKey)

getPermissionPages

List getPermissionPages(Space space)

getAuthoredPagesCountByUser

int getAuthoredPagesCountByUser(String username)

getRecentlyAuthoredPagesByUser

List getRecentlyAuthoredPagesByUser(String username,
                                    int maxCount)

getPagesCreatedOrUpdatedSinceDate

List getPagesCreatedOrUpdatedSinceDate(Date previousLoginDate)

removeFromPageKeyCache

void removeFromPageKeyCache(String spaceKey,
                            String pageTitle)

findPagesWithHistoricalTitle

List findPagesWithHistoricalTitle(String pageTitle)

getPageInTrash

List getPageInTrash(String spaceKey,
                    String title)

getDescendents

List getDescendents(Page page)

getDescendentIds

List getDescendentIds(Page page)

getTopLevelPages

List getTopLevelPages(Space space)


Confluence is developed by Atlassian.