com.atlassian.confluence.api.service.content
Interface ContentService.ContentFetcher

All Superinterfaces:
ContentService.SingleContentFetcher, SingleFetcher<Content>
All Known Subinterfaces:
ContentService.ContentFinder, ContentService.ParameterContentFinder
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
 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
fetchOne, fetchOneOrNull
 

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


Copyright © 2003–2015 Atlassian. All rights reserved.