public interface CategoryMapper
Category
.Modifier and Type | Method and Description |
---|---|
Category |
getCategory(int docId,
Set<Category> categories)
Returns the
Category that this docId belongs to. |
Category getCategory(int docId, Set<Category> categories)
Category
that this docId belongs to. It
must be one of ones specified in the passed in set of categories.docId
- the id to find a category forcategories
- confines category mapping to those categories contained in this setIllegalArgumentException
- if the docId is not zero or greater.Copyright © 2003–2017 Atlassian. All rights reserved.