public class DefaultRestSearchService extends Object implements RestSearchService
Constructor and Description |
---|
DefaultRestSearchService(ContentNameSearcher contentNameSearcher,
QueryTokenizer contentNameQueryTokenizer,
SearchManager searchManager,
PredefinedSearchBuilder predefinedSearchBuilder,
com.atlassian.crowd.embedded.api.CrowdService crowdService,
EntityBuilderFactory entityBuilderFactory) |
Modifier and Type | Method and Description |
---|---|
SearchResultEntityList |
fullSearch(RestSearchParameters restSearchParameters,
Integer startIndex,
Integer pageSize) |
SearchResultEntityList |
groupSearch(String query,
Integer maxResults)
Find all active groups which match or begin with the supplied query.
|
SearchResultEntityList |
nameSearch(RestSearchParameters searchParameters,
boolean groupResults,
int startIndex,
Integer pageSize,
Integer maxResultsPerGroup) |
SearchResultEntityList |
userSearch(String query,
Integer maxResults) |
SearchResultEntityList |
userSearch(String query,
Integer maxResults,
boolean showUnlicensedUsers) |
public DefaultRestSearchService(ContentNameSearcher contentNameSearcher, QueryTokenizer contentNameQueryTokenizer, SearchManager searchManager, PredefinedSearchBuilder predefinedSearchBuilder, com.atlassian.crowd.embedded.api.CrowdService crowdService, EntityBuilderFactory entityBuilderFactory)
public SearchResultEntityList userSearch(String query, Integer maxResults) throws SearchServiceException
userSearch
in interface RestSearchService
SearchServiceException
public SearchResultEntityList userSearch(String query, Integer maxResults, boolean showUnlicensedUsers) throws SearchServiceException
userSearch
in interface RestSearchService
SearchServiceException
public SearchResultEntityList groupSearch(String query, Integer maxResults) throws SearchServiceException
RestSearchService
groupSearch
in interface RestSearchService
SearchServiceException
public SearchResultEntityList nameSearch(RestSearchParameters searchParameters, boolean groupResults, int startIndex, Integer pageSize, Integer maxResultsPerGroup) throws SearchServiceException
nameSearch
in interface RestSearchService
SearchServiceException
public SearchResultEntityList fullSearch(RestSearchParameters restSearchParameters, Integer startIndex, Integer pageSize) throws SearchServiceException
fullSearch
in interface RestSearchService
SearchServiceException
Copyright © 2003–2020 Atlassian. All rights reserved.