public static interface RemoteSpaceService.RemoteSpaceContentFinder
Modifier and Type | Method and Description |
---|---|
com.atlassian.util.concurrent.Promise<PageResponse<Content>> |
fetchMany(ContentType type,
PageRequest request)
Retrieve a paged list of content of the given type contained in this space
|
com.atlassian.util.concurrent.Promise<Map<ContentType,PageResponse<Content>>> |
fetchMappedByType(PageRequest request)
Retrieve the all content contained in this space.
|
RemoteSpaceService.RemoteSpaceContentFinder |
withDepth(Depth depth)
Set the depth to retrieve content on the SpaceContentFinder
|
com.atlassian.util.concurrent.Promise<Map<ContentType,PageResponse<Content>>> fetchMappedByType(PageRequest request)
The pageRequest limit is restricted to a maximum page size.
com.atlassian.util.concurrent.Promise<PageResponse<Content>> fetchMany(ContentType type, PageRequest request)
type
- - the type of content to retrieve, either ContentType.Page or ContentType.BlogPostrequest
- - a page request indicating the start and limit of items to returnRemoteSpaceService.RemoteSpaceContentFinder withDepth(Depth depth)
depth
- - the depth in the page heirarchy of Content decendents to retrieve, a depth of 0 returns top level content in the spaceCopyright © 2003–2018 Atlassian. All rights reserved.