|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.search.contentnames.lucene.mappers.ContentTypeCategoryMapper
public class ContentTypeCategoryMapper
Class that maps docId's to categories based on their content type.
Constructor Summary | |
---|---|
ContentTypeCategoryMapper(org.apache.lucene.search.FieldCache.Bytes contentTypeFieldCache)
|
Method Summary | |
---|---|
Category |
getCategory(int docId,
java.util.Set<Category> categories)
Returns the Category that this docId belongs to. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContentTypeCategoryMapper(org.apache.lucene.search.FieldCache.Bytes contentTypeFieldCache)
Method Detail |
---|
public Category getCategory(int docId, java.util.Set<Category> categories)
CategoryMapper
Category
that this docId belongs to. It
must be one of ones specified in the passed in set of categories.
getCategory
in interface CategoryMapper
docId
- the id to find a category forcategories
- confines category mapping to those categories contained in this set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |