public interface PageDaoInternal extends PageDao, ContentEntityObjectDaoInternal<Page>
Modifier and Type | Method and Description |
---|---|
PageResponse<Page> |
findCurrentPages(LimitedRequest request)
Find all current pages.
|
default PageResponse<AbstractPage> |
getFilteredAbstractPages(org.joda.time.DateTime date,
List<ContentStatus> statuses,
LimitedRequest pageRequest,
Predicate<? super AbstractPage> filter)
Returns the abstract pages created on the given date and are in the , that also match the given filter, limited
to the page request.
|
default PageResponse<AbstractPage> |
getFilteredAbstractPages(List<ContentType> contentTypes,
List<ContentStatus> statuses,
LimitedRequest pageRequest,
@Nullable Predicate<? super AbstractPage> filter)
Retrieves a page response of all pages found in this instance of Confluence, within any of the given statuses.
|
default PageResponse<AbstractPage> |
getFilteredAbstractPages(Space space,
List<ContentType> contentTypes,
List<ContentStatus> statuses,
LimitedRequest pageRequest,
@Nullable Predicate<? super AbstractPage> filter)
Retrieves a page response for all content (pages and/or blog posts) in the given space, within any of the
specified statuses and content types.
|
default PageResponse<AbstractPage> |
getFilteredAbstractPages(Space space,
String title,
List<ContentStatus> statuses,
LimitedRequest pageRequest,
Predicate<? super AbstractPage> filter)
Returns the abstract pages from a space that exactly match the given title and are in any of the specified
statuses, and match the given filter, limited to the pagination request.
|
default PageResponse<AbstractPage> |
getFilteredAbstractPages(String title,
List<ContentStatus> statuses,
LimitedRequest pageRequest,
Predicate<? super AbstractPage> filter)
Returns the abstract pages that exactly match the given title, are in any of the specified statuses, and match
the given filter, limited to the pagination request.
|
default PageResponse<AbstractPage> |
getFilteredAbstractPagesByCreationDate(org.joda.time.DateTime date,
LimitedRequest pageRequest,
Predicate<? super AbstractPage> filter)
Returns the abstract pages created on the given date, that also match the given filter, limited to the page
request.
|
default PageResponse<AbstractPage> |
getFilteredAbstractPagesByTitle(String title,
LimitedRequest pageRequest,
Predicate<? super AbstractPage> filter)
Returns the abstract pages that exactly match the given title, limited to the pagination request.
|
default PageResponse<BlogPost> |
getFilteredBlogPosts(Space space,
LimitedRequest pageRequest,
@Nullable Predicate<? super BlogPost> filter)
Retrieves a page response of all the current blog posts in the give space.
|
default PageResponse<Page> |
getFilteredChildren(Page page,
LimitedRequest pageRequest,
Predicate<? super Page> predicate,
Depth depth)
Returns the children of a page which have a status of CURRENT, limited to the pagination requested.
|
default PageResponse<Page> |
getFilteredPages(LimitedRequest pageRequest,
@Nullable Predicate<? super Page> filter)
Retrieves a page response of all the current pages of the Confluence instance.
|
default PageResponse<Page> |
getFilteredPages(Space space,
LimitedRequest pageRequest,
@Nullable Predicate<? super Page> filter)
Retrieves a page response of the current content in the given space.
|
default PageResponse<Page> |
getFilteredTopLevelPages(Space space,
LimitedRequest limitedRequest,
Predicate<? super Page> predicate) |
countAllPages, countCurrentPages, countDraftPages, countPagesInSubtree, countPagesWithUnpublishedChanges, findBlogsWithCurrentOrHistoricalTitleInAllPermittedSpacesExcept, findBlogsWithCurrentOrHistoricalTitleInPermittedSpace, findContentPermissionSummaryByIds, findPagesWithCurrentOrHistoricalTitleInAllPermittedSpacesExcept, findPagesWithCurrentOrHistoricalTitleInPermittedSpace, getAbstractPages, getAbstractPages, getAbstractPages, getAbstractPages, getAbstractPages, getAbstractPagesByCreationDate, getAbstractPagesByTitle, getAllChildren, getAncestorsFor, getAuthoredPagesCountByUser, getBlogPosts, getChildren, getCommentCountOnPage, getDescendantIds, getDescendantIds, getDescendants, getDescendantTitles, getDraftChildren, getMaxSiblingPosition, getOrphanedPages, getPage, getPageById, getPageByIdWithComments, getPageCount, getPageIds, getPageInTrash, getPages, getPages, getPages, getPagesByIds, getPagesCreatedOrUpdatedSinceDate, getPagesStartingWith, getPageStatistics, getPagesWithPermissions, getPageWithComments, getPermissionPages, getRecentlyAddedPages, getRecentlyAuthoredPagesByUser, getRecentlyUpdatedPages, getTopLevelPages, getTopLevelPages, getUndefinedLinks, getUndefinedPages
findContentBySpaceIdAndStatusAndFilter
countContentBySpaceIdAndStatus, findAllDraftsFor, findAllLegacyDraftsFor, findContentBySpaceIdAndStatus, findContentBySpaceIdAndStatus, findDraftFor, findHistoricalVersionsAfterVersion, findPreviousVersions, findUnpublishedContentWithUserContributions, getAllCurrentEntities, getById, getContentAuthoredByUser, getContributionStatusByUser, getFirstVersionAfter, getFirstVersionBefore, getLastEditedVersionsOf, getObjectType, getOldestPageCreationDate, getPageAndBlogPostsVersionsLastEditedByUser, getPageAndBlogPostsVersionsLastEditedByUserIncludingDrafts, getRecentlyAddedEntities, getRecentlyModifiedEntities, getRecentlyModifiedEntities, getRecentlyModifiedEntitiesForUser, getRecentlyModifiedForChangeDigest, getTrashedContent, getTrashedContents, getVersion, getVersionEditContributors, getVersionHistorySummary, getVersionHistorySummary, getVersionsLastEditedByUser, getVersionsLastEditedByUserNew
saveEntity
findLatestVersionsCount, findLatestVersionsIterator, save
findAll, findAllSorted, findAllSorted, findByClassIds, findByClassIdsFiltered, getPersistentClass, refresh, refreshEntity, remove, removeEntity, replicate, replicateEntity, save, saveEntity, saveRaw, saveRawEntity
PageResponse<Page> findCurrentPages(LimitedRequest request)
request
- the limited pagination request.default PageResponse<Page> getFilteredPages(Space space, LimitedRequest pageRequest, @Nullable Predicate<? super Page> filter)
space
- the space to locate the page inpageRequest
- the start and offset of the pages to retrievefilter
- the predicate to pages the returned results by, may be nulldefault PageResponse<Page> getFilteredPages(LimitedRequest pageRequest, @Nullable Predicate<? super Page> filter)
pageRequest
- the start and offset of the pages to retrievefilter
- the predicate to filter the returned results by, may be nulldefault PageResponse<BlogPost> getFilteredBlogPosts(Space space, LimitedRequest pageRequest, @Nullable Predicate<? super BlogPost> filter)
space
- the space to locate the blog posts inpageRequest
- the start and offset of the pages to retrievefilter
- the predicate to filter the returned results by, may be nulldefault PageResponse<Page> getFilteredTopLevelPages(Space space, LimitedRequest limitedRequest, Predicate<? super Page> predicate)
default PageResponse<Page> getFilteredChildren(Page page, LimitedRequest pageRequest, Predicate<? super Page> predicate, Depth depth)
page
- the page to find children forpageRequest
- the pagination requestedpredicate
- predicate used to entitiesdepth
- the depth to return children todefault PageResponse<AbstractPage> getFilteredAbstractPagesByTitle(String title, LimitedRequest pageRequest, Predicate<? super AbstractPage> filter)
title
- the title of the page to matchpageRequest
- the pagination requestedfilter
- the predicate to apply to the results before returningdefault PageResponse<AbstractPage> getFilteredAbstractPagesByCreationDate(org.joda.time.DateTime date, LimitedRequest pageRequest, Predicate<? super AbstractPage> filter)
date
- - the creation date to matchpageRequest
- the pagination requestfilter
- the predicate to apply to the results before returningdefault PageResponse<AbstractPage> getFilteredAbstractPages(List<ContentType> contentTypes, List<ContentStatus> statuses, LimitedRequest pageRequest, @Nullable Predicate<? super AbstractPage> filter)
contentTypes
- list of content types to findstatuses
- list of statuses the pages can be inpageRequest
- the start and offset of the pages to retrievefilter
- the predicate to filter the returned results by, may be nulldefault PageResponse<AbstractPage> getFilteredAbstractPages(Space space, List<ContentType> contentTypes, List<ContentStatus> statuses, LimitedRequest pageRequest, @Nullable Predicate<? super AbstractPage> filter)
space
- the space to locate the page incontentTypes
- list of content types to findstatuses
- list of statuses the pages can be inpageRequest
- the pagination requestfilter
- the predicate to pages the returned results by, may be nulldefault PageResponse<AbstractPage> getFilteredAbstractPages(Space space, String title, List<ContentStatus> statuses, LimitedRequest pageRequest, Predicate<? super AbstractPage> filter)
space
- space the page belongs totitle
- the title of the page to matchstatuses
- list of statuses the content can be inpageRequest
- the pagination requestedfilter
- the predicate to apply to the results before returningdefault PageResponse<AbstractPage> getFilteredAbstractPages(String title, List<ContentStatus> statuses, LimitedRequest pageRequest, Predicate<? super AbstractPage> filter)
title
- the title of the page to matchstatuses
- list of statuses the content can be inpageRequest
- the pagination requestedfilter
- the predicate to apply to the results before returningdefault PageResponse<AbstractPage> getFilteredAbstractPages(org.joda.time.DateTime date, List<ContentStatus> statuses, LimitedRequest pageRequest, Predicate<? super AbstractPage> filter)
date
- the creation date to matchstatuses
- list of statuses the content can be inpageRequest
- the pagination requestfilter
- the predicate to apply to the results before returningCopyright © 2003–2020 Atlassian. All rights reserved.