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
ConstructorsConstructorDescriptionRemoteChildContentFinderImpl
(AbstractRemoteService other, ContentId parentId, Expansion[] expansion) -
Method Summary
Modifier and TypeMethodDescriptionfetchManyCompletionStage
(ContentType type, PageRequest request) Retrieve a paged list of content of the given type contained in this parentRetrieve 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, getCompletionStage, getCompletionStageGenericCollection, getCompletionStageMap, getCompletionStageMapOfGenericListResponse, getCompletionStageMapOfPageResponses, getCompletionStageOptional, getCompletionStagePageResponseList, getCompletionStageSearchPageResponseList, getExecutor, newExperimentalRestWebTarget, newWebTarget, postCompletionStage, postCompletionStage, postCompletionStage, postCompletionStageToPageResponse, postVoidCompletionStage, putCompletionStage, putVoidCompletionStage
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
withDepth, withLocation, withParentVersion
-
Constructor Details
-
RemoteChildContentFinderImpl
public RemoteChildContentFinderImpl(AbstractRemoteService other, ContentId parentId, Expansion[] expansion)
-
-
Method Details
-
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
-