Class RemoteCQLSearchServiceImpl
- java.lang.Object
-
- com.atlassian.confluence.rest.client.AbstractRemoteService<CQLSearchService>
-
- com.atlassian.confluence.rest.client.RemoteCQLSearchServiceImpl
-
- All Implemented Interfaces:
RemoteCQLSearchService
public class RemoteCQLSearchServiceImpl extends AbstractRemoteService<CQLSearchService> implements RemoteCQLSearchService
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService
provider
-
-
Constructor Summary
Constructors Constructor Description RemoteCQLSearchServiceImpl(AuthenticatedWebResourceProvider provider, com.google.common.util.concurrent.ListeningExecutorService executor)
Deprecated.since 8.8RemoteCQLSearchServiceImpl(AuthenticatedWebResourceProvider provider, ExecutorService executor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
countContent(String cql)
int
countContent(String cql, SearchContext searchContext)
CompletionStage<Integer>
countContentCompletionStage(String cql)
CompletionStage<Integer>
countContentCompletionStage(String cql, SearchContext searchContext)
CompletionStage<SearchPageResponse<SearchResult>>
searchCompletionStage(String cql, SearchOptions searchOptions, PageRequest pageRequest, Expansion... expansions)
CompletionStage<SearchPageResponse<Content>>
searchContentCompletionStage(String cql, Expansion... expansions)
CompletionStage<SearchPageResponse<Content>>
searchContentCompletionStage(String cql, PageRequest request, Expansion... expansions)
CompletionStage<SearchPageResponse<Content>>
searchContentCompletionStage(String cqlInput, SearchContext searchContext, PageRequest pageRequest, Expansion... expansions)
-
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.RemoteCQLSearchService
search, searchContent, searchContent, searchContent
-
-
-
-
Constructor Detail
-
RemoteCQLSearchServiceImpl
public RemoteCQLSearchServiceImpl(AuthenticatedWebResourceProvider provider, ExecutorService executor)
- Since:
- 8.8
-
RemoteCQLSearchServiceImpl
@Deprecated public RemoteCQLSearchServiceImpl(AuthenticatedWebResourceProvider provider, com.google.common.util.concurrent.ListeningExecutorService executor)
Deprecated.since 8.8
-
-
Method Detail
-
searchContentCompletionStage
public CompletionStage<SearchPageResponse<Content>> searchContentCompletionStage(String cqlInput, SearchContext searchContext, PageRequest pageRequest, Expansion... expansions)
- Specified by:
searchContentCompletionStage
in interfaceRemoteCQLSearchService
- Since:
- 7.0.1
-
searchContentCompletionStage
public CompletionStage<SearchPageResponse<Content>> searchContentCompletionStage(String cql, PageRequest request, Expansion... expansions)
- Specified by:
searchContentCompletionStage
in interfaceRemoteCQLSearchService
- Since:
- 7.0.1
-
searchContentCompletionStage
public CompletionStage<SearchPageResponse<Content>> searchContentCompletionStage(String cql, Expansion... expansions)
- Specified by:
searchContentCompletionStage
in interfaceRemoteCQLSearchService
- Since:
- 7.0.1
-
countContent
public int countContent(String cql)
- Specified by:
countContent
in interfaceRemoteCQLSearchService
-
countContent
public int countContent(String cql, SearchContext searchContext)
- Specified by:
countContent
in interfaceRemoteCQLSearchService
-
countContentCompletionStage
public CompletionStage<Integer> countContentCompletionStage(String cql)
- Specified by:
countContentCompletionStage
in interfaceRemoteCQLSearchService
- Since:
- 7.0.1
-
countContentCompletionStage
public CompletionStage<Integer> countContentCompletionStage(String cql, SearchContext searchContext)
- Specified by:
countContentCompletionStage
in interfaceRemoteCQLSearchService
- Since:
- 7.0.1
-
searchCompletionStage
public CompletionStage<SearchPageResponse<SearchResult>> searchCompletionStage(String cql, SearchOptions searchOptions, PageRequest pageRequest, Expansion... expansions)
- Specified by:
searchCompletionStage
in interfaceRemoteCQLSearchService
- Since:
- 7.0.1
-
-