public final class CategoryInfoMapImpl extends java.util.HashMap<java.lang.Integer,Category> implements CategoriesInfoMap
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
Constructor and Description |
---|
CategoryInfoMapImpl() |
CategoryInfoMapImpl(java.util.Collection<? extends Category> categories) |
Modifier and Type | Method and Description |
---|---|
boolean |
addAll(java.util.Collection<? extends Category> categories) |
Category |
get(java.lang.String categoryId) |
java.lang.String |
getDisplayName(java.lang.String categoryId,
java.lang.String lang) |
Category |
getParent(Category category) |
java.util.List<Category> |
getPath(int categoryId) |
boolean |
hasParent(Category category) |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
private static final long serialVersionUID
public CategoryInfoMapImpl()
public CategoryInfoMapImpl(java.util.Collection<? extends Category> categories)
public boolean addAll(java.util.Collection<? extends Category> categories)
addAll
in interface CategoriesInfoMap
public java.util.List<Category> getPath(int categoryId)
getPath
in interface CategoriesInfoMap
public Category getParent(Category category)
getParent
in interface CategoriesInfoMap
public boolean hasParent(Category category)
hasParent
in interface CategoriesInfoMap
public Category get(java.lang.String categoryId)
get
in interface CategoriesInfoMap
public java.lang.String getDisplayName(java.lang.String categoryId, java.lang.String lang)
getDisplayName
in interface CategoriesInfoMap