Class BlogPostFetcher
java.lang.Object
com.atlassian.confluence.api.impl.service.content.finder.BlogPostFetcher
- All Implemented Interfaces:
ContentFetcher
Fetcher for blog posts
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
ConstructorsConstructorDescriptionBlogPostFetcher
(ContentFinderImpl contentFinder, 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
-
BlogPostFetcher
public BlogPostFetcher(ContentFinderImpl contentFinder, PaginationService paginationService, PageManagerInternal pageManagerInternal, ContentFactory contentFactory, SpaceManager spaceManager, PermissionManager permissionManager)
-
-
Method Details
-
fetch
- Throws:
BadRequestException
-
validateCursor
-
validateContentType
-
fetchByTitle
-
fetchByDate
-
fetchBySpace
-
fetchAllContent
-
doPaginationRequest
protected PageResponse<Content> doPaginationRequest(LimitedRequest request, PaginationBatch<? extends AbstractPage> paginationBatch, Expansions expansions)
-