Class RemoteSpaceServiceImpl.RemoteSpaceContentFinderImpl
- java.lang.Object
-
- com.atlassian.confluence.rest.client.AbstractRemoteService<SpaceService.SpaceContentFinder>
-
- com.atlassian.confluence.rest.client.RemoteSpaceServiceImpl.RemoteSpaceContentFinderImpl
-
- All Implemented Interfaces:
RemoteSpaceService.RemoteSpaceContentFinder
- Enclosing class:
- RemoteSpaceServiceImpl
public class RemoteSpaceServiceImpl.RemoteSpaceContentFinderImpl extends AbstractRemoteService<SpaceService.SpaceContentFinder> implements RemoteSpaceService.RemoteSpaceContentFinder
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService
provider
-
-
Constructor Summary
Constructors Constructor Description RemoteSpaceContentFinderImpl(AbstractRemoteService other, Space space, Expansion[] expansion)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description com.atlassian.util.concurrent.Promise<PageResponse<Content>>
fetchMany(ContentType type, PageRequest request)
Deprecated.since 7.0.1.CompletionStage<PageResponse<Content>>
fetchManyCompletionStage(ContentType type, PageRequest request)
Retrieve a paged list of content of the given type contained in this spacecom.atlassian.util.concurrent.Promise<Map<ContentType,PageResponse<Content>>>
fetchMappedByType(PageRequest request)
Deprecated.since 7.0.1.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-
Methods inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService
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
-
-
-
-
Constructor Detail
-
RemoteSpaceContentFinderImpl
public RemoteSpaceContentFinderImpl(AbstractRemoteService other, Space space, Expansion[] expansion)
-
-
Method Detail
-
fetchMappedByType
@Deprecated public com.atlassian.util.concurrent.Promise<Map<ContentType,PageResponse<Content>>> fetchMappedByType(PageRequest request)
Deprecated.since 7.0.1. UsefetchMappedByTypeCompletionStage(PageRequest)
instead.Description copied from interface:RemoteSpaceService.RemoteSpaceContentFinder
Retrieve the all content contained in this space.The pageRequest limit is restricted to a maximum page size.
- Specified by:
fetchMappedByType
in interfaceRemoteSpaceService.RemoteSpaceContentFinder
- Returns:
- a map of the content in this space by contentType, eith Page or BlogPost
-
fetchMappedByTypeCompletionStage
public CompletionStage<Map<ContentType,PageResponse<Content>>> fetchMappedByTypeCompletionStage(PageRequest request)
Description copied from interface:RemoteSpaceService.RemoteSpaceContentFinder
Retrieve the all content contained in this space.The pageRequest limit is restricted to a maximum page size.
- Specified by:
fetchMappedByTypeCompletionStage
in interfaceRemoteSpaceService.RemoteSpaceContentFinder
- Returns:
- a map of the content in this space by contentType, eith Page or BlogPost
-
fetchMany
@Deprecated public com.atlassian.util.concurrent.Promise<PageResponse<Content>> fetchMany(ContentType type, PageRequest request)
Deprecated.since 7.0.1. UsefetchManyCompletionStage(ContentType, PageRequest)
instead.Description copied from interface:RemoteSpaceService.RemoteSpaceContentFinder
Retrieve a paged list of content of the given type contained in this space- Specified by:
fetchMany
in interfaceRemoteSpaceService.RemoteSpaceContentFinder
- Parameters:
type
- - the type of content to retrieve, either ContentType.Page or ContentType.BlogPostrequest
- - a page request indicating the start and limit of items to return- Returns:
- a paged list of content of the given type contained in this space
-
fetchManyCompletionStage
public CompletionStage<PageResponse<Content>> fetchManyCompletionStage(ContentType type, PageRequest request)
Description copied from interface:RemoteSpaceService.RemoteSpaceContentFinder
Retrieve a paged list of content of the given type contained in this space- Specified by:
fetchManyCompletionStage
in interfaceRemoteSpaceService.RemoteSpaceContentFinder
- Parameters:
type
- - the type of content to retrieve, either ContentType.Page or ContentType.BlogPostrequest
- - a page request indicating the start and limit of items to return- Returns:
- a paged list of content of the given type contained in this space
-
withDepth
public RemoteSpaceService.RemoteSpaceContentFinder withDepth(Depth depth)
Description copied from interface:RemoteSpaceService.RemoteSpaceContentFinder
Set the depth to retrieve content on the SpaceContentFinder- Specified by:
withDepth
in interfaceRemoteSpaceService.RemoteSpaceContentFinder
- Parameters:
depth
- - the depth in the page heirarchy of Content decendents to retrieve, a depth of 0 returns top level content in the space- Returns:
- a space content finder with the depth parameter set
-
-