public class SpaceServiceImpl.SpaceContentImpl extends Object implements SpaceService.SpaceContentFinder
Modifier and Type | Method and Description |
---|---|
PageResponse<Content> |
fetchMany(ContentType type,
PageRequest pageRequest)
Retrieve all content contained in this space of the particular type
|
Map<ContentType,PageResponse<Content>> |
fetchMappedByType(PageRequest pageRequest)
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
|
public SpaceService.SpaceContentFinder withDepth(Depth depth)
SpaceService.SpaceContentFinder
withDepth
in interface SpaceService.SpaceContentFinder
depth
- - the depth to retrieve content atpublic Map<ContentType,PageResponse<Content>> fetchMappedByType(PageRequest pageRequest) throws BadRequestException
SpaceService.SpaceContentFinder
The pageRequest limit is restricted to a maximum page size, and applied to each value in the map
fetchMappedByType
in interface SpaceService.SpaceContentFinder
BadRequestException
- if parameters to the finder are not recognizedpublic PageResponse<Content> fetchMany(ContentType type, PageRequest pageRequest) throws BadRequestException
SpaceService.SpaceContentFinder
fetchMany
in interface SpaceService.SpaceContentFinder
pageRequest
- 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 recognizedCopyright © 2003–2016 Atlassian. All rights reserved.