public class RemoteSpaceServiceImpl.RemoteSpaceContentFinderImpl extends AbstractRemoteService<SpaceService.SpaceContentFinder> implements RemoteSpaceService.RemoteSpaceContentFinder
provider
Constructor and Description |
---|
RemoteSpaceContentFinderImpl(AbstractRemoteService other,
Space space,
Expansion[] expansion) |
Modifier and Type | Method and Description |
---|---|
com.atlassian.util.concurrent.Promise<PageResponse<Content>> |
fetchMany(ContentType type,
PageRequest request)
Deprecated.
since 7.0.1. Use
fetchManyCompletionStage(ContentType, PageRequest) instead. |
CompletionStage<PageResponse<Content>> |
fetchManyCompletionStage(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)
Deprecated.
since 7.0.1. Use
fetchMappedByTypeCompletionStage(PageRequest) instead. |
CompletionStage<Map<ContentType,PageResponse<Content>>> |
fetchMappedByTypeCompletionStage(PageRequest request)
Retrieve the all content contained in this space.
|
RemoteSpaceService.RemoteSpaceContentFinder |
withDepth(Depth depth)
Set the depth to retrieve content on the SpaceContentFinder
|
addExpansions, addPageRequest, addPageRequestParams, deleteCompletionStage, deleteCompletionStage, deleteFuture, deleteFuture, getCompletionStage, getCompletionStageGenericCollection, getCompletionStageMap, getCompletionStageMapOfPageResponses, getCompletionStageOptional, getCompletionStagePageResponseList, getCompletionStageSearchPageResponseList, getExecutor, getFuture, getFutureGenericCollection, getFutureMap, getFutureMapOfPageResponses, getFutureOption, getFuturePageResponseList, newExperimentalRestWebResource, newRestWebResource, postCompletionStage, postCompletionStage, postCompletionStage, postCompletionStageToPageResponse, postFuture, postFuture, postFuture, postFutureToPageResponse, putCompletionStage, putFuture
public RemoteSpaceContentFinderImpl(AbstractRemoteService other, Space space, Expansion[] expansion)
@Deprecated public com.atlassian.util.concurrent.Promise<Map<ContentType,PageResponse<Content>>> fetchMappedByType(PageRequest request)
fetchMappedByTypeCompletionStage(PageRequest)
instead.RemoteSpaceService.RemoteSpaceContentFinder
The pageRequest limit is restricted to a maximum page size.
fetchMappedByType
in interface RemoteSpaceService.RemoteSpaceContentFinder
public CompletionStage<Map<ContentType,PageResponse<Content>>> fetchMappedByTypeCompletionStage(PageRequest request)
RemoteSpaceService.RemoteSpaceContentFinder
The pageRequest limit is restricted to a maximum page size.
fetchMappedByTypeCompletionStage
in interface RemoteSpaceService.RemoteSpaceContentFinder
@Deprecated public com.atlassian.util.concurrent.Promise<PageResponse<Content>> fetchMany(ContentType type, PageRequest request)
fetchManyCompletionStage(ContentType, PageRequest)
instead.RemoteSpaceService.RemoteSpaceContentFinder
fetchMany
in interface RemoteSpaceService.RemoteSpaceContentFinder
type
- - the type of content to retrieve, either ContentType.Page or ContentType.BlogPostrequest
- - a page request indicating the start and limit of items to returnpublic CompletionStage<PageResponse<Content>> fetchManyCompletionStage(ContentType type, PageRequest request)
RemoteSpaceService.RemoteSpaceContentFinder
fetchManyCompletionStage
in interface RemoteSpaceService.RemoteSpaceContentFinder
type
- - the type of content to retrieve, either ContentType.Page or ContentType.BlogPostrequest
- - a page request indicating the start and limit of items to returnpublic RemoteSpaceService.RemoteSpaceContentFinder withDepth(Depth depth)
RemoteSpaceService.RemoteSpaceContentFinder
withDepth
in interface RemoteSpaceService.RemoteSpaceContentFinder
depth
- - the depth in the page heirarchy of Content decendents to retrieve, a depth of 0 returns top level content in the spaceCopyright © 2003–2023 Atlassian. All rights reserved.