public class DefaultContentNameSearchSectionsProvider extends Object implements ContentNameSearchSectionsProvider
Constructor and Description |
---|
DefaultContentNameSearchSectionsProvider() |
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. |
void |
setContentNameSearcher(ContentNameSearcher contentNameSearcher) |
void |
setContentTypesDisplayMapper(ContentTypesDisplayMapper contentTypesDisplayMapper) |
public DefaultContentNameSearchSectionsProvider()
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 void setContentNameSearcher(ContentNameSearcher contentNameSearcher)
public void setContentTypesDisplayMapper(ContentTypesDisplayMapper contentTypesDisplayMapper)
Copyright © 2003–2017 Atlassian. All rights reserved.