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

public Page getPageById(long id)

getPage

public Page getPage(String spaceKey,
                    String pageTitle)

getPages

public 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

public List getPagesStartingWith(Space space,
                                 String s)

getRecentlyAddedPages

public List getRecentlyAddedPages(int maxCount,
                                  String spaceKey)

getRecentlyUpdatedPages

public List getRecentlyUpdatedPages(int maxCount,
                                    String spaceKey)

getOrphanedPages

public List getOrphanedPages(String spaceKey)

getUndefinedPages

public List getUndefinedPages(String spaceKey)

getPermissionPages

public List getPermissionPages(Space space)

getAuthoredPagesCountByUser

public int getAuthoredPagesCountByUser(String username)

getRecentlyAuthoredPagesByUser

public List getRecentlyAuthoredPagesByUser(String username,
                                           int maxCount)

getPagesCreatedOrUpdatedSinceDate

public List getPagesCreatedOrUpdatedSinceDate(Date previousLoginDate)

removeFromPageKeyCache

public void removeFromPageKeyCache(String spaceKey,
                                   String pageTitle)

findPagesWithHistoricalTitle

public List findPagesWithHistoricalTitle(String pageTitle)

getPageInTrash

public List getPageInTrash(String spaceKey,
                           String title)

getDescendents

public List getDescendents(Page page)

getDescendentIds

public List getDescendentIds(Page page)

getTopLevelPages

public List getTopLevelPages(Space space)


Confluence is developed by Atlassian.