com.atlassian.confluence.internal.pages
Interface PageManagerInternal

All Superinterfaces:
ContentEntityManager, PageManager
All Known Implementing Classes:
DefaultPageManager

public interface PageManagerInternal
extends PageManager

Internal version of the PageManager interface; see the package-info.java for rationale.


Field Summary
 
Fields inherited from interface com.atlassian.confluence.core.ContentEntityManager
ITERATE_ALL
 
Method Summary
 PageResponse<AbstractPage> getAbstractPagesByCreationDate(org.joda.time.DateTime date, LimitedRequest pageRequest, com.google.common.base.Predicate<? super AbstractPage>... filter)
          Returns the pages and blogposts created on the given date, that also match the given predicate, limited to the page request
 PageResponse<AbstractPage> getAbstractPagesByTitle(java.lang.String title, LimitedRequest pageRequest, com.google.common.base.Predicate<? super AbstractPage>... filter)
          Returns the pages and blogposts that exactly match the given title, that also match the given predicate, limited to the pagination request
 PageResponse<BlogPost> getBlogPosts(Space space, LimitedRequest pageRequest, com.google.common.base.Predicate<? super BlogPost>... filter)
          Returns all the current blogposts in the space, limited to the pagination request
 PageResponse<Page> getChildren(Page page, LimitedRequest pageRequest, Depth depth)
          Returns the children of a page, limited to the pagination requested.
 PageResponse<Page> getPages(LimitedRequest pageRequest, com.google.common.base.Predicate<? super Page>... filter)
          Returns all the current pages in this instance of confluence, limited to the pagination request.
 PageResponse<Page> getPages(Space space, LimitedRequest pageRequest, com.google.common.base.Predicate<? super Page>... filter)
          Returns all the current pages in the space, limited to the pagination request
 PageResponse<Page> getTopLevelPages(Space space, LimitedRequest pageRequest)
          Returns the top-level pages in a space, limited to the pagination requested.
 
Methods inherited from interface com.atlassian.confluence.pages.PageManager
findNextBlogPost, findNextBlogPost, findPreviousBlogPost, findPreviousBlogPost, getAbstractPage, getAbstractPages, getAttachmentManager, getAuthoredPagesCountByUser, getBlogPost, getBlogPost, getBlogPost, getBlogPostCount, getBlogPosts, getBlogPosts, getBlogPosts, getCommentCountOnPage, getCountOfLatestXhtmlContent, getDescendantIds, getDescendants, getDescendantTitles, getDescendentIds, getDescendents, getHighestCeoId, getMonthsWithBlogPosts, getNewestBlogPost, getNotificationManager, getOrderedXhtmlContentFromContentId, getOrphanedPages, getPage, getPage, getPage, getPageByVersion, getPageIds, getPageInTrash, getPages, getPages, getPagesCreatedOrUpdatedSinceDate, getPagesStartingWith, getPageWithComments, getPermissionPages, getPossibleBlogRedirectsInSpace, getPossibleRedirects, getPossibleRedirectsForSpace, getPossibleRedirectsInSpace, getPossibleRedirectsNotInSpace, getPreviousVersionsOfPageWithTaskId, getRecentlyAddedBlogPosts, getRecentlyAddedBlogPosts, getRecentlyAddedPages, getRecentlyUpdatedPages, getTopLevelPages, getTopLevelPagesBuilder, getUndefinedPages, getYearsWithBlogPosts, isPageRecentlyUpdatedForUser, moveBlogPostToTopLevel, moveChildrenToNewParent, movePageAfter, movePageAsChild, movePageBefore, movePageToTopLevel, removeAllBlogPosts, removeAllPages, removeAllPages, removePageFromAncestorCollections, renamePage, renamePageWithoutNotifications, restorePage, revertChildPageOrder, setAttachmentManager, setChildPageOrder, setNotificationManager, spaceHasBlogPosts, trashPage, updatePageInAncestorCollections
 
Methods inherited from interface com.atlassian.confluence.core.ContentEntityManager
getById, getNextVersion, getOtherVersion, getPreviousVersion, getRecentlyAddedEntities, getRecentlyModifiedEntities, getRecentlyModifiedEntitiesForUser, getRecentlyModifiedForChangeDigest, getVersionHistorySummaries, refreshContentEntity, removeContentEntity, removeHistoricalVersion, revertContentEntityBackToVersion, saveContentEntity, saveContentEntity, saveNewVersion, saveNewVersion, setEventManager, updateContentLinkingTo, updateOutgoingLinksInContent, updateSingleContentLinkinTo, updateSingleContentLinkinTo
 

Method Detail

getTopLevelPages

PageResponse<Page> getTopLevelPages(Space space,
                                    LimitedRequest pageRequest)
Returns the top-level pages in a space, limited to the pagination requested.

Parameters:
space - the space to locate pages in
pageRequest - the pagination requested
Returns:
the paginated response of Page entities

getPages

PageResponse<Page> getPages(Space space,
                            LimitedRequest pageRequest,
                            com.google.common.base.Predicate<? super Page>... filter)
Returns all the current pages in the space, limited to the pagination request

Parameters:
space - the space to locate pages in
pageRequest - the pagination requested
filter - a Predicate to apply to the results before returning
Returns:
the paginated response of Page entities in the given space

getPages

PageResponse<Page> getPages(LimitedRequest pageRequest,
                            com.google.common.base.Predicate<? super Page>... filter)
Returns all the current pages in this instance of confluence, limited to the pagination request.

Parameters:
pageRequest - the pagination requested
filter - a Predicate to apply to the results before returning
Returns:
the paginated response of Page entities

getBlogPosts

PageResponse<BlogPost> getBlogPosts(Space space,
                                    LimitedRequest pageRequest,
                                    com.google.common.base.Predicate<? super BlogPost>... filter)
Returns all the current blogposts in the space, limited to the pagination request

Parameters:
space -
pageRequest -
Returns:
the paginated response of BlogPost entities

getChildren

PageResponse<Page> getChildren(Page page,
                               LimitedRequest pageRequest,
                               Depth depth)
Returns the children of a page, limited to the pagination requested.

Parameters:
page - the page to find children for
pageRequest - the pagination requested
depth - the depth to return children to
Returns:
the paginated response of Page entities

getAbstractPagesByTitle

PageResponse<AbstractPage> getAbstractPagesByTitle(java.lang.String title,
                                                   LimitedRequest pageRequest,
                                                   com.google.common.base.Predicate<? super AbstractPage>... filter)
Returns the pages and blogposts that exactly match the given title, that also match the given predicate, limited to the pagination request

Parameters:
title - the title of the page to match
pageRequest - the pagination requested
filter - a Predicate to apply to the results before returning
Returns:
the paginated list of AbstractPages by title

getAbstractPagesByCreationDate

PageResponse<AbstractPage> getAbstractPagesByCreationDate(org.joda.time.DateTime date,
                                                          LimitedRequest pageRequest,
                                                          com.google.common.base.Predicate<? super AbstractPage>... filter)
Returns the pages and blogposts created on the given date, that also match the given predicate, limited to the page request

Parameters:
date - - the creation date to match
pageRequest - the pagination request
filter - a Predicate to apply to the results before returning
Returns:
the paginated list of AbstractPages created on the given date


Copyright © 2003-2014 Atlassian. All Rights Reserved.