Class AbstractRemoteChildContentService.AbstractRemoteChildContentFinder
java.lang.Object
com.atlassian.confluence.rest.client.AbstractRemoteService<ChildContentService.ChildContentFinder>
com.atlassian.confluence.rest.client.AbstractRemoteChildContentService.AbstractRemoteChildContentFinder
- All Implemented Interfaces:
RemoteChildContentService.RemoteChildContentFinder
- Direct Known Subclasses:
GraphQLRemoteChildContentServiceImpl.RemoteChildContentFinderImpl
,RemoteChildContentServiceImpl.RemoteChildContentFinderImpl
- Enclosing class:
AbstractRemoteChildContentService
protected abstract static class AbstractRemoteChildContentService.AbstractRemoteChildContentFinder
extends AbstractRemoteService<ChildContentService.ChildContentFinder>
implements RemoteChildContentService.RemoteChildContentFinder
-
Field Summary
FieldsFields inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService
provider
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionSet the depth to retrieve content on the ChildContentFinderwithLocation
(Collection<String> location) Set the location(s) to retrieve the content fromwithParentVersion
(int parentVersion) Specifies the which version of the parent content to use when looking for children.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
fetchManyCompletionStage, fetchMappedByTypeCompletionStage
-
Field Details
-
depth
-
parentVersion
protected int parentVersion -
location
-
-
Constructor Details
-
AbstractRemoteChildContentFinder
-
-
Method Details
-
withDepth
Description copied from interface:RemoteChildContentService.RemoteChildContentFinder
Set the depth to retrieve content on the ChildContentFinder- Specified by:
withDepth
in interfaceRemoteChildContentService.RemoteChildContentFinder
- Parameters:
depth
- - the depth in the page hierarchy of Content descendants to retrieve- Returns:
- a child content finder with the depth parameter set
-
withParentVersion
Description copied from interface:RemoteChildContentService.RemoteChildContentFinder
Specifies the which version of the parent content to use when looking for children.- Specified by:
withParentVersion
in interfaceRemoteChildContentService.RemoteChildContentFinder
- Parameters:
parentVersion
- - the version of the parent content to use- Returns:
- child content found under the particular version of parent content.
-
withLocation
Description copied from interface:RemoteChildContentService.RemoteChildContentFinder
Set the location(s) to retrieve the content from- Specified by:
withLocation
in interfaceRemoteChildContentService.RemoteChildContentFinder
- Parameters:
location
-- Returns:
- a child content finder with the location parameter set
-