com.atlassian.confluence.rest.client
Class RemoteCQLSearchServiceImpl

java.lang.Object
  extended by com.atlassian.confluence.rest.client.AbstractRemoteService<CQLSearchService>
      extended by com.atlassian.confluence.rest.client.RemoteCQLSearchServiceImpl
All Implemented Interfaces:
RemoteCQLSearchService

public class RemoteCQLSearchServiceImpl
extends AbstractRemoteService<CQLSearchService>
implements RemoteCQLSearchService


Constructor Summary
RemoteCQLSearchServiceImpl(AuthenticatedWebResourceProvider provider, com.google.common.util.concurrent.ListeningExecutorService executor)
           
 
Method Summary
 int countContent(String cql)
           
 int countContent(String cql, SearchContext searchContext)
           
 com.atlassian.util.concurrent.Promise<PageResponse<Content>> searchContent(String cql, Expansion... expansions)
           
 com.atlassian.util.concurrent.Promise<PageResponse<Content>> searchContent(String cql, PageRequest request, Expansion... expansions)
           
 com.atlassian.util.concurrent.Promise<PageResponse<Content>> searchContent(String cqlInput, SearchContext searchContext, PageRequest request, Expansion... expansions)
           
 
Methods inherited from class com.atlassian.confluence.rest.client.AbstractRemoteService
addExpansions, addPageRequest, addPageRequestParams, deleteFuture, deleteFuture, getFuture, getFutureGenericCollection, getFutureMap, getFutureMapOfPageResponses, getFutureOption, getFuturePageResponseList, newExperimentalRestWebResource, newRestWebResource, postFuture, postFuture, postFuture, postFutureToPageResponse, putFuture
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteCQLSearchServiceImpl

public RemoteCQLSearchServiceImpl(AuthenticatedWebResourceProvider provider,
                                  com.google.common.util.concurrent.ListeningExecutorService executor)
Method Detail

searchContent

public com.atlassian.util.concurrent.Promise<PageResponse<Content>> searchContent(String cqlInput,
                                                                                  SearchContext searchContext,
                                                                                  PageRequest request,
                                                                                  Expansion... expansions)
Specified by:
searchContent in interface RemoteCQLSearchService

searchContent

public com.atlassian.util.concurrent.Promise<PageResponse<Content>> searchContent(String cql,
                                                                                  PageRequest request,
                                                                                  Expansion... expansions)
Specified by:
searchContent in interface RemoteCQLSearchService

searchContent

public com.atlassian.util.concurrent.Promise<PageResponse<Content>> searchContent(String cql,
                                                                                  Expansion... expansions)
Specified by:
searchContent in interface RemoteCQLSearchService

countContent

public int countContent(String cql)
Specified by:
countContent in interface RemoteCQLSearchService

countContent

public int countContent(String cql,
                        SearchContext searchContext)
Specified by:
countContent in interface RemoteCQLSearchService


Copyright © 2003–2015 Atlassian. All rights reserved.