public static interface SpaceService.SpaceContentFinder
Modifier and Type | Method and Description |
---|---|
PageResponse<Content> |
fetchMany(ContentType type,
PageRequest request)
Retrieve all content contained in this space of the particular type
|
Map<ContentType,PageResponse<Content>> |
fetchMappedByType(PageRequest request)
Retrieve all content contained in this space mapped by ContentType
|
SpaceService.SpaceContentFinder |
withDepth(Depth depth)
Applies a depth filter the content in this space retrieved by the finder, presently only pages participate in the space content hierarchy, the
depth filter has no effect on other content type
|
SpaceService.SpaceContentFinder withDepth(Depth depth)
depth
- - the depth to retrieve content atBadRequestException
- if the requested depth is deeper than what can be providedMap<ContentType,PageResponse<Content>> fetchMappedByType(PageRequest request) throws BadRequestException, NotFoundException
The pageRequest limit is restricted to a maximum page size, and applied to each value in the map
BadRequestException
- if parameters to the finder are not recognizedNotFoundException
- if the space does not existPageResponse<Content> fetchMany(ContentType type, PageRequest request) throws BadRequestException, NotFoundException
request
- the page request indicating the starting offset nd limit for the number of piece of content to returnBadRequestException
- if parameters to the finder are not recognizedNotFoundException
Copyright © 2003–2021 Atlassian. All rights reserved.