public class AdminItemSearchSectionProvider extends Object implements ContentNameSearchSectionsProvider
Constructor and Description |
---|
AdminItemSearchSectionProvider() |
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
ContentNameSearchSection s that in
some way match the query. |
List<ContentNameMatch> |
searchAdminItems(List<QueryToken> queryTokens)
Finds all admin web items that match the given query and returns them in as a list of
ContentNameMatch s
to be consumed by ContentNameSearchAction . |
void |
setPermissionManager(PermissionManager permissionManager) |
void |
setWebInterfaceManager(com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager) |
public Collection<ContentNameSearchSection> getSections(List<QueryToken> queryTokens, ContentNameSearchContext context)
ContentNameSearchSectionsProvider
ContentNameSearchSection
s that in
some way match the query.getSections
in interface ContentNameSearchSectionsProvider
queryTokens
- the query as tokenized by ConfluenceContentNameSearchSection
s to be included in the quick nav result or null if nothing should be
includedpublic List<ContentNameMatch> searchAdminItems(List<QueryToken> queryTokens)
ContentNameMatch
s
to be consumed by ContentNameSearchAction
.queryTokens
- public void setWebInterfaceManager(com.atlassian.plugin.web.WebInterfaceManager webInterfaceManager)
public void setPermissionManager(PermissionManager permissionManager)
Copyright © 2003–2015 Atlassian. All rights reserved.