com.atlassian.confluence.plugins.rest.service
Class DefaultRestSearchService

java.lang.Object
  extended by com.atlassian.confluence.plugins.rest.service.DefaultRestSearchService
All Implemented Interfaces:
RestSearchService

public class DefaultRestSearchService
extends Object
implements RestSearchService


Constructor Summary
DefaultRestSearchService(ContentNameSearcher contentNameSearcher, QueryTokenizer contentNameQueryTokenizer, SearchManager searchManager, PredefinedSearchBuilder predefinedSearchBuilder, EntityBuilderFactory entityBuilderFactory)
           
 
Method Summary
 SearchResultEntityList fullSearch(RestSearchParameters restSearchParameters, Integer startIndex, Integer pageSize)
           
 SearchResultEntityList nameSearch(RestSearchParameters searchParameters, boolean groupResults, int startIndex, Integer pageSize)
           
 SearchResultEntityList userSearch(String query, Integer maxResults)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultRestSearchService

public DefaultRestSearchService(ContentNameSearcher contentNameSearcher,
                                QueryTokenizer contentNameQueryTokenizer,
                                SearchManager searchManager,
                                PredefinedSearchBuilder predefinedSearchBuilder,
                                EntityBuilderFactory entityBuilderFactory)
Method Detail

userSearch

public SearchResultEntityList userSearch(String query,
                                         Integer maxResults)
                                  throws SearchServiceException
Specified by:
userSearch in interface RestSearchService
Throws:
SearchServiceException

nameSearch

public SearchResultEntityList nameSearch(RestSearchParameters searchParameters,
                                         boolean groupResults,
                                         int startIndex,
                                         Integer pageSize)
                                  throws SearchServiceException
Specified by:
nameSearch in interface RestSearchService
Throws:
SearchServiceException

fullSearch

public SearchResultEntityList fullSearch(RestSearchParameters restSearchParameters,
                                         Integer startIndex,
                                         Integer pageSize)
                                  throws SearchServiceException
Specified by:
fullSearch in interface RestSearchService
Throws:
SearchServiceException


Copyright © 2003-2011 Atlassian. All Rights Reserved.