com.atlassian.confluence.search.contentnames
Class DefaultContentNameSearchSectionsProvider
java.lang.Object
com.atlassian.confluence.search.contentnames.DefaultContentNameSearchSectionsProvider
- All Implemented Interfaces:
- ContentNameSearchSectionsProvider
public class DefaultContentNameSearchSectionsProvider
- extends java.lang.Object
- implements ContentNameSearchSectionsProvider
The default section provider for quick nav that searches through pages, blogs, attachments, peoples and spaces.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultContentNameSearchSectionsProvider
public DefaultContentNameSearchSectionsProvider()
getSections
public java.util.Collection<ContentNameSearchSection> getSections(java.util.List<QueryToken> queryTokens,
ContentNameSearchContext context)
- Description copied from interface:
ContentNameSearchSectionsProvider
- For the given query tokens the method should return a collection of
ContentNameSearchSection
s that in
some way match the query.
- Specified by:
getSections
in interface ContentNameSearchSectionsProvider
- Parameters:
queryTokens
- the query as tokenized by Confluence
- Returns:
- the
ContentNameSearchSection
s to be included in the quick nav result or null if nothing should be
included
setContentNameSearcher
public void setContentNameSearcher(ContentNameSearcher contentNameSearcher)
setContentTypesDisplayMapper
public void setContentTypesDisplayMapper(ContentTypesDisplayMapper contentTypesDisplayMapper)
Copyright © 2003-2013 Atlassian. All Rights Reserved.