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 Deprecated Methods Modifier and Type Method Description com.atlassian.util.concurrent.Promise<PageResponse<Content>>fetchMany(ContentType type, @Nullable 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 parentcom.atlassian.util.concurrent.Promise<Map<ContentType,PageResponse<Content>>>fetchMappedByType(@Nullable PageRequest request)Deprecated.since 7.0.1.CompletionStage<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, getFuturePageResponseList, newExperimentalRestWebResource, newRestWebResource, postCompletionStage, postCompletionStage, postCompletionStage, postCompletionStageToPageResponse, postFuture, postFuture, postFuture, postFutureToPageResponse, 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
withDepth, withLocation, withParentVersion
-
-
-
-
Constructor Detail
-
RemoteChildContentFinderImpl
public RemoteChildContentFinderImpl(AbstractRemoteService other, ContentId parentId, Expansion[] expansion)
-
-
Method Detail
-
fetchMappedByType
@Deprecated public com.atlassian.util.concurrent.Promise<Map<ContentType,PageResponse<Content>>> fetchMappedByType(@Nullable PageRequest request)
Deprecated.since 7.0.1. UsefetchMappedByTypeCompletionStage(PageRequest)instead.Description copied from interface:RemoteChildContentService.RemoteChildContentFinderRetrieve the content contained in this parent.The pageRequest limit is restricted to a maximum page size.
- Specified by:
fetchMappedByTypein interfaceRemoteChildContentService.RemoteChildContentFinder- Returns:
- a map of the content in this parent by contentType
-
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
-
fetchMany
@Deprecated public com.atlassian.util.concurrent.Promise<PageResponse<Content>> fetchMany(ContentType type, @Nullable PageRequest request)
Deprecated.since 7.0.1. UsefetchManyCompletionStage(ContentType, PageRequest)instead.Description copied from interface:RemoteChildContentService.RemoteChildContentFinderRetrieve a paged list of content of the given type contained in this parent- Specified by:
fetchManyin 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
-
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
-
-