com.atlassian.confluence.search.contentnames
Class ContentNameSearchSection

java.lang.Object
  extended by com.atlassian.confluence.search.contentnames.ContentNameSearchSection

public class ContentNameSearchSection
extends Object

Defines a section in the results of the quick nav dropdown. The weight is used to position the section relative to the other sections where a weight of zero means the section would be on top.


Field Summary
static Comparator<ContentNameSearchSection> COMPARATOR
           
 
Constructor Summary
ContentNameSearchSection(Integer weight, List<ContentNameMatch> results)
           
 
Method Summary
 List<ContentNameMatch> getResults()
           
 Integer getWeight()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPARATOR

public static final Comparator<ContentNameSearchSection> COMPARATOR
Constructor Detail

ContentNameSearchSection

public ContentNameSearchSection(@Nonnull
                                Integer weight,
                                @Nonnull
                                List<ContentNameMatch> results)
Method Detail

getWeight

public Integer getWeight()

getResults

public List<ContentNameMatch> getResults()


Copyright © 2003–2015 Atlassian. All rights reserved.