public class AdminItemSearchSectionProvider extends Object implements ContentNameSearchSectionsProvider
On each request we search through all available admin items for the current user and filter out the ones whose label matches with the query tokens.
| Constructor and Description |
|---|
AdminItemSearchSectionProvider(com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager,
PermissionManager permissionManager) |
| Modifier and Type | Method and Description |
|---|---|
Collection<ContentNameSearchSection> |
getSections(List<QueryToken> queryTokens,
ContentNameSearchContext context)
For the given query tokens the method should return a collection of
ContentNameSearchSections that in
some way match the query. |
public AdminItemSearchSectionProvider(com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager,
PermissionManager permissionManager)
public Collection<ContentNameSearchSection> getSections(List<QueryToken> queryTokens, ContentNameSearchContext context)
ContentNameSearchSectionsProviderContentNameSearchSections that in
some way match the query.getSections in interface ContentNameSearchSectionsProviderqueryTokens - the query as tokenized by ConfluenceContentNameSearchSections to be included in the quick nav result or null if nothing should be
includedCopyright © 2003–2021 Atlassian. All rights reserved.