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)
-
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
-
-
-
-
Constructor Detail
-
RemoteCQLSearchServiceImpl
public RemoteCQLSearchServiceImpl(AuthenticatedWebResourceProvider provider, com.google.common.util.concurrent.ListeningExecutorService executor)
-
-
Method Detail
-
searchContent
@Deprecated public com.atlassian.util.concurrent.Promise<PageResponse<Content>> searchContent(String cqlInput, SearchContext searchContext, PageRequest request, Expansion... expansions)
Deprecated.since 7.0.1. UsesearchContentCompletionStage(String, SearchContext, PageRequest, Expansion...)
instead.- Specified by:
searchContent
in interfaceRemoteCQLSearchService
-
searchContent
@Deprecated public com.atlassian.util.concurrent.Promise<PageResponse<Content>> searchContent(String cql, PageRequest request, Expansion... expansions)
Deprecated.since 7.0.1. UsesearchContentCompletionStage(String, PageRequest, Expansion...)
instead.- Specified by:
searchContent
in interfaceRemoteCQLSearchService
-
searchContent
@Deprecated public com.atlassian.util.concurrent.Promise<PageResponse<Content>> searchContent(String cql, Expansion... expansions)
Deprecated.since 7.0.1. UsesearchContentCompletionStage(String, Expansion...)
instead.- Specified by:
searchContent
in interfaceRemoteCQLSearchService
-
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
-
search
@Deprecated public com.atlassian.util.concurrent.Promise<SearchPageResponse<SearchResult>> search(String cql, SearchOptions searchOptions, PageRequest pageRequest, Expansion... expansions)
Deprecated.since 7.0.1. UsesearchCompletionStage(String, SearchOptions, PageRequest, Expansion...)
instead.- Specified by:
search
in interfaceRemoteCQLSearchService
-
searchCompletionStage
public CompletionStage<SearchPageResponse<SearchResult>> searchCompletionStage(String cql, SearchOptions searchOptions, PageRequest pageRequest, Expansion... expansions)
- Specified by:
searchCompletionStage
in interfaceRemoteCQLSearchService
- Since:
- 7.0.1
-
-