|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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(byte[] 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(byte[] contentTypeFieldCache)
| Method Detail |
|---|
public Category getCategory(int docId,
java.util.Set<Category> categories)
CategoryMapperCategory that this docId belongs to. It
must be one of ones specified in the passed in set of categories.
getCategory in interface CategoryMapperdocId - 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 | |||||||||