|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface ChildContentService.ChildContentFinder
A finder interface to encapsulate finding content under a particular parent
Method Summary | |
---|---|
PageResponse<Content> |
fetchMany(ContentType type,
PageRequest request)
Retrieve all content of the particular type contained in this parent. |
java.util.Map<ContentType,PageResponse<Content>> |
fetchMappedByType(PageRequest request)
Retrieve all content contained in this parent mapped by ContentType. |
ChildContentService.ChildContentFinder |
withDepth(Depth depth)
Applies a depth filter to the content found under this parent and retrieved by the finder. |
Method Detail |
---|
ChildContentService.ChildContentFinder withDepth(Depth depth)
Presently only pages participate in the child content hierarchy, the depth filter has no effect on other content types.
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
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 recognizedPageResponse<Content> fetchMany(ContentType type, PageRequest request) throws BadRequestException
request
- the page request indicating the starting offset and limit for the number of pieces of content to return
BadRequestException
- if parameters to the finder are not recognized
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |