Interface ContentService.ContentFetcher
- All Superinterfaces:
ContentService.SingleContentFetcher
,SingleFetcher<Content>
- All Known Subinterfaces:
ContentService.ContentFinder
,ContentService.ParameterContentFinder
- All Known Implementing Classes:
AbstractContentFinder
,ContentFinderImpl
,NoopContentFinder
- Enclosing interface:
- ContentService
A content fetcher that also allows fetching many, this exists as a separate interface
to allow the type system to only offer fetchMany methods when appropriate.
-
Method Summary
Modifier and TypeMethodDescriptionfetchMany
(ContentType type, PageRequest request) fetchManyWithAnyType
(PageRequest request) fetchManyWithoutCaching
(ContentType type, PageRequest request) fetchMappedByContentType
(PageRequest request) Methods inherited from interface com.atlassian.confluence.api.service.finder.SingleFetcher
fetch, fetchOneOrNull, fetchOrNull
-
Method Details
-
fetchMany
- Throws:
ServiceException
-
fetchManyWithoutCaching
PageResponse<Content> fetchManyWithoutCaching(ContentType type, PageRequest request) throws ServiceException - Throws:
ServiceException
-
fetchManyWithAnyType
- Throws:
ServiceException
-
fetchMappedByContentType
Map<ContentType,PageResponse<Content>> fetchMappedByContentType(PageRequest request) throws ServiceException - Throws:
ServiceException
-