|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface SpaceService.SpaceContentFinder
A finder interface to encapsulate finding content in a particular space
Method Summary | |
---|---|
PageResponse<Content> |
fetchMany(ContentType type,
PageRequest request)
Retrieve all content contained in this space of the particular type |
java.util.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 |
Method Detail |
---|
SpaceService.SpaceContentFinder withDepth(Depth depth)
depth
- - the depth to retrieve content at
BadRequestException
- if the requested depth is deeper than what can be providedjava.util.Map<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 recognized
NotFoundException
- 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 return
BadRequestException
- if parameters to the finder are not recognized
NotFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |