com.atlassian.confluence.plugins.rest.service
Class DefaultRestSearchService
java.lang.Object
com.atlassian.confluence.plugins.rest.service.DefaultRestSearchService
- All Implemented Interfaces:
- RestSearchService
public class DefaultRestSearchService
- extends java.lang.Object
- implements RestSearchService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultRestSearchService
public DefaultRestSearchService(ContentNameSearcher contentNameSearcher,
QueryTokenizer contentNameQueryTokenizer,
SearchManager searchManager,
PredefinedSearchBuilder predefinedSearchBuilder,
com.atlassian.crowd.embedded.api.CrowdService crowdService,
EntityBuilderFactory entityBuilderFactory)
userSearch
public SearchResultEntityList userSearch(java.lang.String query,
java.lang.Integer maxResults)
throws SearchServiceException
- Specified by:
userSearch
in interface RestSearchService
- Throws:
SearchServiceException
groupSearch
public SearchResultEntityList groupSearch(java.lang.String query,
java.lang.Integer maxResults)
throws SearchServiceException
- Description copied from interface:
RestSearchService
- Find all active groups which match or begin with the supplied query.
- Specified by:
groupSearch
in interface RestSearchService
- Returns:
-
- Throws:
SearchServiceException
nameSearch
public SearchResultEntityList nameSearch(RestSearchParameters searchParameters,
boolean groupResults,
int startIndex,
java.lang.Integer pageSize)
throws SearchServiceException
- Specified by:
nameSearch
in interface RestSearchService
- Throws:
SearchServiceException
fullSearch
public SearchResultEntityList fullSearch(RestSearchParameters restSearchParameters,
java.lang.Integer startIndex,
java.lang.Integer pageSize)
throws SearchServiceException
- Specified by:
fullSearch
in interface RestSearchService
- Throws:
SearchServiceException
Copyright © 2003-2013 Atlassian. All Rights Reserved.