Class PageFetcher
java.lang.Object
com.atlassian.confluence.api.impl.service.content.finder.PageFetcher
- All Implemented Interfaces:
ContentFetcher
Fetcher for pages
since 9.2.5
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ContentFactory
protected final ContentFinderImpl
protected final PageManagerInternal
protected final PaginationService
protected final PermissionManager
protected final SpaceManager
-
Constructor Summary
ConstructorsConstructorDescriptionPageFetcher
(ContentFinderImpl finder, PaginationService paginationService, PageManagerInternal pageManagerInternal, ContentFactory contentFactory, SpaceManager spaceManager, PermissionManager permissionManager) -
Method Summary
Modifier and TypeMethodDescriptionprotected PageResponse<Content>
doPaginationRequest
(LimitedRequest request, PaginationBatch<? extends AbstractPage> paginationBatch, Expansions expansions) fetch
(LimitedRequest request) protected PageResponse<Content>
fetchAllContent
(ContentType contentType, LimitedRequest request) protected PageResponse<Content>
fetchByDate
(ContentType contentType, LimitedRequest request) protected PageResponse<Content>
fetchBySpace
(ContentType contentType, LimitedRequest request) protected PageResponse<Content>
fetchByTitle
(ContentType contentType, LimitedRequest request) protected void
validateContentType
(ContentType contentType) protected void
validateCursor
(LimitedRequest request)
-
Field Details
-
contentFinder
-
paginationService
-
pageManager
-
contentFactory
-
spaceManager
-
permissionManager
-
-
Constructor Details
-
PageFetcher
public PageFetcher(ContentFinderImpl finder, PaginationService paginationService, PageManagerInternal pageManagerInternal, ContentFactory contentFactory, SpaceManager spaceManager, PermissionManager permissionManager)
-
-
Method Details
-
validateCursor
-
validateContentType
-
fetch
- Throws:
BadRequestException
-
fetchByTitle
-
fetchByDate
-
fetchBySpace
-
fetchAllContent
-
doPaginationRequest
protected PageResponse<Content> doPaginationRequest(LimitedRequest request, PaginationBatch<? extends AbstractPage> paginationBatch, Expansions expansions)
-