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
-
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.RemoteSingleFetcher
fetch, fetchOrNull
-
-
-
-
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
-
fetchMany
@Deprecated public com.atlassian.util.concurrent.Promise<PageResponse<Space>> fetchMany(PageRequest request)
Deprecated.since 7.0.1. UsefetchManyCompletionStage(PageRequest)instead.- Specified by:
fetchManyin interfaceRemoteManyFetcher<Space>- Specified by:
fetchManyin interfaceRemoteSpaceService.RemoteSpaceFinder
-
fetchManyCompletionStage
public CompletionStage<PageResponse<Space>> fetchManyCompletionStage(PageRequest request)
- Specified by:
fetchManyCompletionStagein 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:
fetchOnein interfaceRemoteSingleFetcher<Space>
-
fetchOneOrNull
@Deprecated public com.atlassian.util.concurrent.Promise<Space> fetchOneOrNull()
Deprecated.since 7.0.1. UsefetchOrNullCompletionStage()instead.- Specified by:
fetchOneOrNullin interfaceRemoteSingleFetcher<Space>
-
fetchCompletionStage
public CompletionStage<Optional<Space>> fetchCompletionStage()
- Specified by:
fetchCompletionStagein interfaceRemoteSingleFetcher<Space>
-
fetchOrNullCompletionStage
public CompletionStage<Space> fetchOrNullCompletionStage()
- Specified by:
fetchOrNullCompletionStagein interfaceRemoteSingleFetcher<Space>
-
-