Class GraphQLRemoteChildContentServiceImpl.RemoteChildContentFinderImpl
java.lang.Object
com.atlassian.confluence.rest.client.AbstractRemoteService<ChildContentService.ChildContentFinder>
com.atlassian.confluence.rest.client.AbstractRemoteChildContentService.AbstractRemoteChildContentFinder
com.atlassian.confluence.rest.client.graphql.GraphQLRemoteChildContentServiceImpl.RemoteChildContentFinderImpl
- All Implemented Interfaces:
RemoteChildContentService.RemoteChildContentFinder
- Enclosing class:
- GraphQLRemoteChildContentServiceImpl
public class GraphQLRemoteChildContentServiceImpl.RemoteChildContentFinderImpl
extends AbstractRemoteChildContentService.AbstractRemoteChildContentFinder
implements RemoteChildContentService.RemoteChildContentFinder
-
Field Summary
Fields inherited from class com.atlassian.confluence.rest.client.AbstractRemoteChildContentService.AbstractRemoteChildContentFinder
depth, location, parentVersionFields inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService
provider -
Constructor Summary
ConstructorsConstructorDescriptionRemoteChildContentFinderImpl(AbstractRemoteService other, ContentId parentId, Expansion[] expansions) -
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, withParentVersionMethods 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, putVoidCompletionStageMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.confluence.rest.client.RemoteChildContentService.RemoteChildContentFinder
withDepth, withLocation, withParentVersion
-
Constructor Details
-
RemoteChildContentFinderImpl
public RemoteChildContentFinderImpl(AbstractRemoteService other, ContentId parentId, Expansion[] expansions)
-
-
Method Details
-
fetchMappedByTypeCompletionStage
public CompletionStage<Map<ContentType,PageResponse<Content>>> fetchMappedByTypeCompletionStage(PageRequest request) Description copied from interface:RemoteChildContentService.RemoteChildContentFinderRetrieve the content contained in this parent.The pageRequest limit is restricted to a maximum page size.
- Specified by:
fetchMappedByTypeCompletionStagein 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.RemoteChildContentFinderRetrieve a paged list of content of the given type contained in this parent- Specified by:
fetchManyCompletionStagein 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
-