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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletionStage<Optional<Space>>
fetchCompletionStage()
CompletionStage<PageResponse<Space>>
fetchManyCompletionStage(PageRequest request)
RemoteSpaceService.RemoteSpaceFinder
withHasRetentionPolicy(boolean hasRetentionPolicy)
Filter spaces that have retention policies or notRemoteSpaceService.RemoteSpaceFinder
withIsFavourited(boolean favourite)
RemoteSpaceService.RemoteSpaceFinder
withKeys(String... keys)
RemoteSpaceService.RemoteSpaceFinder
withLabels(Label... labels)
RemoteSpaceService.RemoteSpaceFinder
withStatus(SpaceStatus status)
RemoteSpaceService.RemoteSpaceFinder
withType(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:
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
-
fetchManyCompletionStage
public CompletionStage<PageResponse<Space>> fetchManyCompletionStage(PageRequest request)
- Specified by:
fetchManyCompletionStage
in interfaceRemoteManyFetcher<Space>
- Specified by:
fetchManyCompletionStage
in interfaceRemoteSpaceService.RemoteSpaceFinder
-
fetchCompletionStage
public CompletionStage<Optional<Space>> fetchCompletionStage()
- Specified by:
fetchCompletionStage
in interfaceRemoteSingleFetcher<Space>
-
-