Class RemoteGroupServiceImpl.RemoteGroupFinderImpl
- java.lang.Object
-
- com.atlassian.confluence.rest.client.AbstractRemoteService<GroupService.GroupFinder>
-
- com.atlassian.confluence.rest.client.remoteservice.people.RemoteGroupServiceImpl.RemoteGroupFinderImpl
-
- All Implemented Interfaces:
RemoteGroupService.RemoteGroupFinder
,RemoteSingleFetcher<Group>
- Enclosing class:
- RemoteGroupServiceImpl
public class RemoteGroupServiceImpl.RemoteGroupFinderImpl extends AbstractRemoteService<GroupService.GroupFinder> implements RemoteGroupService.RemoteGroupFinder
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService
provider
-
-
Constructor Summary
Constructors Constructor Description RemoteGroupFinderImpl(Expansion[] expansions)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description CompletionStage<Optional<Group>>
fetchCompletionStage()
com.atlassian.util.concurrent.Promise<PageResponse<Group>>
fetchMany(PageRequest request)
Deprecated.since 7.0.1.CompletionStage<PageResponse<Group>>
fetchManyCompletionStage(PageRequest request)
com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<Group>>
fetchOne()
com.atlassian.util.concurrent.Promise<Group>
fetchOneOrNull()
CompletionStage<Group>
fetchOrNullCompletionStage()
RemoteGroupService.RemoteGroupFinder
withMember(User user)
RemoteGroupService.RemoteGroupFinder
withName(String groupName)
-
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
-
RemoteGroupFinderImpl
public RemoteGroupFinderImpl(Expansion[] expansions)
-
-
Method Detail
-
withName
public RemoteGroupService.RemoteGroupFinder withName(String groupName)
- Specified by:
withName
in interfaceRemoteGroupService.RemoteGroupFinder
-
withMember
public RemoteGroupService.RemoteGroupFinder withMember(User user)
- Specified by:
withMember
in interfaceRemoteGroupService.RemoteGroupFinder
-
fetchMany
@Deprecated public com.atlassian.util.concurrent.Promise<PageResponse<Group>> fetchMany(PageRequest request)
Deprecated.since 7.0.1. UsefetchManyCompletionStage(PageRequest)
instead.- Specified by:
fetchMany
in interfaceRemoteGroupService.RemoteGroupFinder
-
fetchManyCompletionStage
public CompletionStage<PageResponse<Group>> fetchManyCompletionStage(PageRequest request)
- Specified by:
fetchManyCompletionStage
in interfaceRemoteGroupService.RemoteGroupFinder
-
fetchOne
public com.atlassian.util.concurrent.Promise<com.atlassian.fugue.Option<Group>> fetchOne()
- Specified by:
fetchOne
in interfaceRemoteSingleFetcher<Group>
-
fetchCompletionStage
public CompletionStage<Optional<Group>> fetchCompletionStage()
- Specified by:
fetchCompletionStage
in interfaceRemoteSingleFetcher<Group>
-
fetchOneOrNull
public com.atlassian.util.concurrent.Promise<Group> fetchOneOrNull()
- Specified by:
fetchOneOrNull
in interfaceRemoteSingleFetcher<Group>
-
fetchOrNullCompletionStage
public CompletionStage<Group> fetchOrNullCompletionStage()
- Specified by:
fetchOrNullCompletionStage
in interfaceRemoteSingleFetcher<Group>
-
-