|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.confluence.api.impl.service.content.SpaceServiceImpl.SpaceContentImpl
public class SpaceServiceImpl.SpaceContentImpl
Method Summary | |
---|---|
PageResponse<Content> |
fetchMany(ContentType type,
PageRequest pageRequest)
Retrieve all content contained in this space of the particular type |
java.util.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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public SpaceService.SpaceContentFinder withDepth(Depth depth)
SpaceService.SpaceContentFinder
withDepth
in interface SpaceService.SpaceContentFinder
depth
- - the depth to retrieve content at
public java.util.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 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 |