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> getAbstractPages(org.joda.time.DateTime date, List<ContentStatus> statuses, LimitedRequest pageRequest, com.google.common.base.Predicate<? super AbstractPage>... filter)
          Returns pages and blog posts created on the specified date, that are in any of the given statuses, and also match the given predicate, limited to the page request.
 PageResponse<AbstractPage> getAbstractPages(List<ContentType> contentTypes, List<ContentStatus> statuses, LimitedRequest pageRequest, com.google.common.base.Predicate<? super AbstractPage>... filter)
          Returns all content in the instance within any of the specified statuses, limited to the specified content types and the pagination request.
 PageResponse<AbstractPage> getAbstractPages(Space space, List<ContentType> contentTypes, List<ContentStatus> statuses, LimitedRequest pageRequest, com.google.common.base.Predicate<? super AbstractPage>... filter)
          Returns all content in the space within any of the specified statuses and content types, limited to the pagination request.
 PageResponse<AbstractPage> getAbstractPages(Space space, String title, List<ContentStatus> statuses, LimitedRequest pageRequest, com.google.common.base.Predicate<? super AbstractPage>... filter)
          Returns pages and blog posts that belong to the space, exactly match the given title, are in any of the specified statuses, and match the given predicate, limited to the pagination request.
 PageResponse<AbstractPage> getAbstractPages(String title, List<ContentStatus> statuses, LimitedRequest pageRequest, com.google.common.base.Predicate<? super AbstractPage>... filter)
          Returns pages and blog posts that exactly match the given title, are in any of the specified statuses, and match the given predicate, limited to the pagination request.
 PageResponse<AbstractPage> getAbstractPagesByCreationDate(org.joda.time.DateTime date, LimitedRequest pageRequest, com.google.common.base.Predicate<? super AbstractPage>... filter)
          Returns the pages and blog posts created on the given date, that also match the given predicate, limited to the page request.
 PageResponse<AbstractPage> getAbstractPagesByTitle(String title, LimitedRequest pageRequest, com.google.common.base.Predicate<? super AbstractPage>... filter)
          Returns all current pages and blog posts 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 blog posts 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 current 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, getPossibleBlogRedirectsNotInSpace, 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 current 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 blog posts in the space, limited to the pagination request.

Parameters:
space - the space to locate blog posts in
pageRequest - the pagination requested
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(String title,
                                                   LimitedRequest pageRequest,
                                                   com.google.common.base.Predicate<? super AbstractPage>... filter)
Returns all current pages and blog posts that exactly match the given title, that also match the given predicate, limited to the pagination request.

Parameters:
title - the title of the page or blog post 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 blog posts created on the given date, that also match the given predicate, limited to the page request.

Parameters:
date - the creation date of the page or blog post
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

getAbstractPages

PageResponse<AbstractPage> getAbstractPages(List<ContentType> contentTypes,
                                            List<ContentStatus> statuses,
                                            LimitedRequest pageRequest,
                                            com.google.common.base.Predicate<? super AbstractPage>... filter)
Returns all content in the instance within any of the specified statuses, limited to the specified content types and the pagination request.

Parameters:
contentTypes - types of the content to fetch, pages and or blog posts
statuses - list of statuses the content can be 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

getAbstractPages

PageResponse<AbstractPage> getAbstractPages(Space space,
                                            List<ContentType> contentTypes,
                                            List<ContentStatus> statuses,
                                            LimitedRequest pageRequest,
                                            com.google.common.base.Predicate<? super AbstractPage>... filter)
Returns all content in the space within any of the specified statuses and content types, limited to the pagination request.

Parameters:
space - the space to locate pages in
contentTypes - types of the content to fetch, pages and or blog posts
statuses - list of statuses the content can be 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

getAbstractPages

PageResponse<AbstractPage> getAbstractPages(org.joda.time.DateTime date,
                                            List<ContentStatus> statuses,
                                            LimitedRequest pageRequest,
                                            com.google.common.base.Predicate<? super AbstractPage>... filter)
Returns pages and blog posts created on the specified date, that are in any of the given statuses, and also match the given predicate, limited to the page request.

Parameters:
date - the creation date to match
statuses - list of statuses the content can be in
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

getAbstractPages

PageResponse<AbstractPage> getAbstractPages(Space space,
                                            String title,
                                            List<ContentStatus> statuses,
                                            LimitedRequest pageRequest,
                                            com.google.common.base.Predicate<? super AbstractPage>... filter)
Returns pages and blog posts that belong to the space, exactly match the given title, are in any of the specified statuses, and match the given predicate, limited to the pagination request.

Parameters:
space - space the content belongs to
title - the title of the page to match
statuses - list of statuses the content can be in
pageRequest - the pagination requested
filter - a Predicate to apply to the results before returning
Returns:
the paginated list of AbstractPages that have a title, are in the specified statuses, and belong to the given space

getAbstractPages

PageResponse<AbstractPage> getAbstractPages(String title,
                                            List<ContentStatus> statuses,
                                            LimitedRequest pageRequest,
                                            com.google.common.base.Predicate<? super AbstractPage>... filter)
Returns pages and blog posts that exactly match the given title, are in any of the specified statuses, and match the given predicate, limited to the pagination request.

Parameters:
title - the title of the page to match
statuses - list of statuses the content can be in
pageRequest - the pagination requested
filter - a predicate to apply to the results before returning
Returns:
the paginated list of AbstractPages by title


Copyright © 2003–2015 Atlassian. All rights reserved.