Interface ContentService.ContentFetcher
-
- All Superinterfaces:
ContentService.SingleContentFetcher
,SingleFetcher<Content>
- All Known Subinterfaces:
ContentService.ContentFinder
,ContentService.ParameterContentFinder
- All Known Implementing Classes:
NoopContentFinder
- Enclosing interface:
- ContentService
public static interface ContentService.ContentFetcher extends ContentService.SingleContentFetcher
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PageResponse<Content>
fetchMany(ContentType type, PageRequest request)
Map<ContentType,PageResponse<Content>>
fetchMappedByContentType(PageRequest request)
-
Methods inherited from interface com.atlassian.confluence.api.service.finder.SingleFetcher
fetch, fetchOne, fetchOneOrNull, fetchOrNull
-
-
-
-
Method Detail
-
fetchMany
PageResponse<Content> fetchMany(ContentType type, PageRequest request) throws ServiceException
- Throws:
ServiceException
-
fetchMappedByContentType
Map<ContentType,PageResponse<Content>> fetchMappedByContentType(PageRequest request) throws ServiceException
- Throws:
ServiceException
-
-