public class DefaultPredefinedSearchBuilder extends Object implements PredefinedSearchBuilder
Constructor and Description |
---|
DefaultPredefinedSearchBuilder()
|
DefaultPredefinedSearchBuilder(UserAccessor userAccessor,
SpacePermissionsFilterDao spacePermissionsFilterDao,
SpacePermissionQueryManager spacePermissionQueryManager,
PermissionManager permissionManager,
SpaceManager spaceManager,
LabelManager labelManager) |
Modifier and Type | Method and Description |
---|---|
ISearch |
buildRecentUpdateSearch(RecentUpdateQueryParameters params,
int startIndex,
int numberOfResults)
Create a recent update search.
|
ISearch |
buildSiteSearch(SearchQueryParameters searchQueryParams,
int startIndex,
int pageSize)
Create and return the
Search used to perform a site wide search in Confluence. |
ISearch |
buildUsersSearch(String query,
int maxResults)
Create and return the
ISearch used to find users know to the system based on parts of their name or
user name. |
ISearch |
buildUsersSearch(UserSearchQueryParameters userSearchQueryParameters,
int startIndex,
int numberOfResults)
Create and return the
ISearch used to find users know to the system based on parts of their name or
user name. |
Search |
siteSearch(SearchQueryParameters searchQueryParams,
int startIndex,
int pageSize)
Deprecated.
|
public DefaultPredefinedSearchBuilder(UserAccessor userAccessor, SpacePermissionsFilterDao spacePermissionsFilterDao, SpacePermissionQueryManager spacePermissionQueryManager, PermissionManager permissionManager, SpaceManager spaceManager, LabelManager labelManager)
@Deprecated public DefaultPredefinedSearchBuilder()
public ISearch buildSiteSearch(SearchQueryParameters searchQueryParams, int startIndex, int pageSize)
PredefinedSearchBuilder
Search
used to perform a site wide search in Confluence.buildSiteSearch
in interface PredefinedSearchBuilder
searchQueryParams
- the query to executestartIndex
- to support paging, specify the index of the first result to be included in the result. The
startIndex should be greater than 0,pageSize
- the maximum number of results to return. This must be greater than 0.public ISearch buildUsersSearch(String query, int maxResults)
PredefinedSearchBuilder
ISearch
used to find users know to the system based on parts of their name or
user name. You should not use wild card within the supplied query, simply supply as much as you know of the
user(s) required e.g. parts of names such as "Andr" or "Peter An" or parts of usernames.buildUsersSearch
in interface PredefinedSearchBuilder
query
- the query termmaxResults
- the maximum number of results to returnpublic ISearch buildUsersSearch(UserSearchQueryParameters userSearchQueryParameters, int startIndex, int numberOfResults)
PredefinedSearchBuilder
ISearch
used to find users know to the system based on parts of their name or
user name. You should not use wild card within the supplied query, simply supply as much as you know of the
user(s) required e.g. parts of names such as "Andr" or "Peter An" or parts of usernames.buildUsersSearch
in interface PredefinedSearchBuilder
userSearchQueryParameters
- the parameters, including the query termstartIndex
- the offset in the overall results to start returning results fromnumberOfResults
- the maximum number of results to returnpublic ISearch buildRecentUpdateSearch(RecentUpdateQueryParameters params, int startIndex, int numberOfResults)
PredefinedSearchBuilder
buildRecentUpdateSearch
in interface PredefinedSearchBuilder
params
- the paramsstartIndex
- to support paging, specify the index of the first result to be included in the result. The startIndex should be greater than 0,numberOfResults
- the maximum number of results to return@Deprecated public Search siteSearch(SearchQueryParameters searchQueryParams, int startIndex, int pageSize)
siteSearch
in interface PredefinedSearchBuilder
Copyright © 2003–2017 Atlassian. All rights reserved.