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 protected
RemoteSpaceFinderImpl(AbstractRemoteService other, Expansion... expansions)
-
Method Summary
-
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.RemoteSingleFetcher
fetch, fetchOrNull
-
-
-
-
Constructor Detail
-
RemoteSpaceFinderImpl
protected RemoteSpaceFinderImpl(AbstractRemoteService other, Expansion... expansions)
-
-
Method Detail
-
withKeys
public RemoteSpaceService.RemoteSpaceFinder withKeys(String... keys)
- Specified by:
withKeys
in interfaceRemoteSpaceService.RemoteSpaceFinder
-
withType
public RemoteSpaceService.RemoteSpaceFinder withType(SpaceType type)
- Specified by:
withType
in interfaceRemoteSpaceService.RemoteSpaceFinder
-
withStatus
public RemoteSpaceService.RemoteSpaceFinder withStatus(SpaceStatus status)
- Specified by:
withStatus
in interfaceRemoteSpaceService.RemoteSpaceFinder
-
withLabels
public RemoteSpaceService.RemoteSpaceFinder withLabels(Label... labels)
- Specified by:
withLabels
in interfaceRemoteSpaceService.RemoteSpaceFinder
-
withIsFavourited
public RemoteSpaceService.RemoteSpaceFinder withIsFavourited(boolean favourite)
- Specified by:
withIsFavourited
in interfaceRemoteSpaceService.RemoteSpaceFinder
-
withHasRetentionPolicy
public RemoteSpaceService.RemoteSpaceFinder withHasRetentionPolicy(boolean hasRetentionPolicy)
Description copied from interface:RemoteSpaceService.RemoteSpaceFinder
Filter spaces that have retention policies or not- Specified by:
withHasRetentionPolicy
in interfaceRemoteSpaceService.RemoteSpaceFinder
-
fetchMany
@Deprecated public com.atlassian.util.concurrent.Promise<PageResponse<Space>> fetchMany(PageRequest request)
Deprecated.since 7.0.1. UsefetchManyCompletionStage(PageRequest)
instead.- Specified by:
fetchMany
in interfaceRemoteManyFetcher<Space>
- Specified by:
fetchMany
in interfaceRemoteSpaceService.RemoteSpaceFinder
-
fetchManyCompletionStage
public CompletionStage<PageResponse<Space>> fetchManyCompletionStage(PageRequest request)
- Specified by:
fetchManyCompletionStage
in interfaceRemoteManyFetcher<Space>
-
fetchOne
@Deprecated public com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<Space>> fetchOne()
Deprecated.since 7.0.1. UsefetchCompletionStage()
instead.- Specified by:
fetchOne
in interfaceRemoteSingleFetcher<Space>
-
fetchOneOrNull
@Deprecated public com.atlassian.util.concurrent.Promise<Space> fetchOneOrNull()
Deprecated.since 7.0.1. UsefetchOrNullCompletionStage()
instead.- Specified by:
fetchOneOrNull
in interfaceRemoteSingleFetcher<Space>
-
fetchCompletionStage
public CompletionStage<Optional<Space>> fetchCompletionStage()
- Specified by:
fetchCompletionStage
in interfaceRemoteSingleFetcher<Space>
-
fetchOrNullCompletionStage
public CompletionStage<Space> fetchOrNullCompletionStage()
- Specified by:
fetchOrNullCompletionStage
in interfaceRemoteSingleFetcher<Space>
-
-