Class RemoteChildContentServiceImpl.RemoteChildContentFinderImpl
- java.lang.Object
-
- com.atlassian.confluence.rest.client.AbstractRemoteService<ChildContentService.ChildContentFinder>
-
- com.atlassian.confluence.rest.client.AbstractRemoteChildContentService.AbstractRemoteChildContentFinder
-
- com.atlassian.confluence.rest.client.RemoteChildContentServiceImpl.RemoteChildContentFinderImpl
-
- All Implemented Interfaces:
RemoteChildContentService.RemoteChildContentFinder
- Enclosing class:
- RemoteChildContentServiceImpl
public static class RemoteChildContentServiceImpl.RemoteChildContentFinderImpl extends AbstractRemoteChildContentService.AbstractRemoteChildContentFinder implements RemoteChildContentService.RemoteChildContentFinder
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.rest.client.AbstractRemoteChildContentService.AbstractRemoteChildContentFinder
depth, location, parentVersion
-
Fields inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService
provider
-
-
Constructor Summary
Constructors Constructor Description RemoteChildContentFinderImpl(AbstractRemoteService other, ContentId parentId, Expansion[] expansion)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletionStage<PageResponse<Content>>
fetchManyCompletionStage(ContentType type, PageRequest request)
Retrieve a paged list of content of the given type contained in this parentCompletionStage<Map<ContentType,PageResponse<Content>>>
fetchMappedByTypeCompletionStage(PageRequest request)
Retrieve the content contained in this parent.-
Methods inherited from class com.atlassian.confluence.rest.client.AbstractRemoteChildContentService.AbstractRemoteChildContentFinder
withDepth, withLocation, withParentVersion
-
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, getFutureOptional, getFuturePageResponseList, newExperimentalRestWebResource, newRestWebResource, postCompletionStage, postCompletionStage, postCompletionStage, postCompletionStageToPageResponse, postFuture, postFuture, postFuture, postFutureToPageResponse, postVoidCompletionStage, putCompletionStage, putFuture
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.confluence.rest.client.RemoteChildContentService.RemoteChildContentFinder
fetchMany, fetchMappedByType, withDepth, withLocation, withParentVersion
-
-
-
-
Constructor Detail
-
RemoteChildContentFinderImpl
public RemoteChildContentFinderImpl(AbstractRemoteService other, ContentId parentId, Expansion[] expansion)
-
-
Method Detail
-
fetchMappedByTypeCompletionStage
public CompletionStage<Map<ContentType,PageResponse<Content>>> fetchMappedByTypeCompletionStage(PageRequest request)
Description copied from interface:RemoteChildContentService.RemoteChildContentFinder
Retrieve the content contained in this parent.The pageRequest limit is restricted to a maximum page size.
- Specified by:
fetchMappedByTypeCompletionStage
in interfaceRemoteChildContentService.RemoteChildContentFinder
- Returns:
- a map of the content in this parent by contentType
-
fetchManyCompletionStage
public CompletionStage<PageResponse<Content>> fetchManyCompletionStage(ContentType type, PageRequest request)
Description copied from interface:RemoteChildContentService.RemoteChildContentFinder
Retrieve a paged list of content of the given type contained in this parent- Specified by:
fetchManyCompletionStage
in interfaceRemoteChildContentService.RemoteChildContentFinder
- Parameters:
type
- - the type of content to retrieverequest
- - 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 parent
-
-