com.atlassian.confluence.search.contentnames
Class DefaultContentNameSearchSectionsProvider

java.lang.Object
  extended by 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.


Constructor Summary
DefaultContentNameSearchSectionsProvider()
           
 
Method Summary
 java.util.Collection<ContentNameSearchSection> getSections(java.util.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.
 void setContentNameSearcher(ContentNameSearcher contentNameSearcher)
           
 void setContentTypesDisplayMapper(ContentTypesDisplayMapper contentTypesDisplayMapper)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultContentNameSearchSectionsProvider

public DefaultContentNameSearchSectionsProvider()
Method Detail

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 ContentNameSearchSections that in some way match the query.

Specified by:
getSections in interface ContentNameSearchSectionsProvider
Parameters:
queryTokens - the query as tokenized by Confluence
Returns:
the ContentNameSearchSections 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-2014 Atlassian. All Rights Reserved.