Class RemoteSpaceServiceImpl.RemoteSpaceFinderImpl
- java.lang.Object
-
- com.atlassian.confluence.rest.client.AbstractRemoteService<SpaceService.SpaceFinder>
-
- com.atlassian.confluence.rest.client.RemoteSpaceServiceImpl.RemoteSpaceFinderImpl
-
- All Implemented Interfaces:
RemoteManyFetcher<Space>,RemoteSingleFetcher<Space>,RemoteSpaceService.RemoteSpaceFinder,RemoteSpaceService.RemoteSpaceSingleFetcher
- Enclosing class:
- RemoteSpaceServiceImpl
public class RemoteSpaceServiceImpl.RemoteSpaceFinderImpl extends AbstractRemoteService<SpaceService.SpaceFinder> implements RemoteSpaceService.RemoteSpaceFinder
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService
provider
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRemoteSpaceFinderImpl(AbstractRemoteService other, Expansion... expansions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletionStage<Optional<Space>>fetchCompletionStage()CompletionStage<PageResponse<Space>>fetchManyCompletionStage(PageRequest request)RemoteSpaceService.RemoteSpaceFinderwithHasRetentionPolicy(boolean hasRetentionPolicy)Filter spaces that have retention policies or notRemoteSpaceService.RemoteSpaceFinderwithIsFavourited(boolean favourite)RemoteSpaceService.RemoteSpaceFinderwithKeys(String... keys)RemoteSpaceService.RemoteSpaceFinderwithLabels(Label... labels)RemoteSpaceService.RemoteSpaceFinderwithStatus(SpaceStatus status)RemoteSpaceService.RemoteSpaceFinderwithType(SpaceType type)-
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, getFutureOptional, 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.RemoteManyFetcher
fetchMany
-
Methods inherited from interface com.atlassian.confluence.rest.client.RemoteSingleFetcher
fetch, fetchOne, fetchOneOrNull, fetchOrNull, fetchOrNullCompletionStage
-
-
-
-
Constructor Detail
-
RemoteSpaceFinderImpl
protected RemoteSpaceFinderImpl(AbstractRemoteService other, Expansion... expansions)
-
-
Method Detail
-
withKeys
public RemoteSpaceService.RemoteSpaceFinder withKeys(String... keys)
- Specified by:
withKeysin interfaceRemoteSpaceService.RemoteSpaceFinder
-
withType
public RemoteSpaceService.RemoteSpaceFinder withType(SpaceType type)
- Specified by:
withTypein interfaceRemoteSpaceService.RemoteSpaceFinder
-
withStatus
public RemoteSpaceService.RemoteSpaceFinder withStatus(SpaceStatus status)
- Specified by:
withStatusin interfaceRemoteSpaceService.RemoteSpaceFinder
-
withLabels
public RemoteSpaceService.RemoteSpaceFinder withLabels(Label... labels)
- Specified by:
withLabelsin interfaceRemoteSpaceService.RemoteSpaceFinder
-
withIsFavourited
public RemoteSpaceService.RemoteSpaceFinder withIsFavourited(boolean favourite)
- Specified by:
withIsFavouritedin interfaceRemoteSpaceService.RemoteSpaceFinder
-
withHasRetentionPolicy
public RemoteSpaceService.RemoteSpaceFinder withHasRetentionPolicy(boolean hasRetentionPolicy)
Description copied from interface:RemoteSpaceService.RemoteSpaceFinderFilter spaces that have retention policies or not- Specified by:
withHasRetentionPolicyin interfaceRemoteSpaceService.RemoteSpaceFinder
-
fetchManyCompletionStage
public CompletionStage<PageResponse<Space>> fetchManyCompletionStage(PageRequest request)
- Specified by:
fetchManyCompletionStagein interfaceRemoteManyFetcher<Space>- Specified by:
fetchManyCompletionStagein interfaceRemoteSpaceService.RemoteSpaceFinder
-
fetchCompletionStage
public CompletionStage<Optional<Space>> fetchCompletionStage()
- Specified by:
fetchCompletionStagein interfaceRemoteSingleFetcher<Space>
-
-