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
Fields Modifier and Type Field Description protected Depth
depth
protected Collection<String>
location
protected int
parentVersion
-
Fields inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService
provider
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractRemoteChildContentFinder(AbstractRemoteService other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RemoteChildContentService.RemoteChildContentFinder
withDepth(Depth depth)
Set the depth to retrieve content on the ChildContentFinderRemoteChildContentService.RemoteChildContentFinder
withLocation(Collection<String> location)
Set the location(s) to retrieve the content fromRemoteChildContentService.RemoteChildContentFinder
withParentVersion(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, 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, 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, fetchManyCompletionStage, fetchMappedByType, fetchMappedByTypeCompletionStage
-
-
-
-
Field Detail
-
depth
protected Depth depth
-
parentVersion
protected int parentVersion
-
location
protected Collection<String> location
-
-
Constructor Detail
-
AbstractRemoteChildContentFinder
protected AbstractRemoteChildContentFinder(AbstractRemoteService other)
-
-
Method Detail
-
withDepth
public RemoteChildContentService.RemoteChildContentFinder withDepth(Depth depth)
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
public RemoteChildContentService.RemoteChildContentFinder withParentVersion(int parentVersion)
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
public RemoteChildContentService.RemoteChildContentFinder withLocation(Collection<String> location)
Description copied from interface:RemoteChildContentService.RemoteChildContentFinder
Set the location(s) to retrieve the content from- Specified by:
withLocation
in interfaceRemoteChildContentService.RemoteChildContentFinder
- Returns:
- a child content finder with the location parameter set
-
-