public interface CategoryManager
| Modifier and Type | Method and Description | 
|---|---|
| void | addCategory(Category category) | 
| Category | findCategory(java.lang.String categoryName) | 
| java.util.List<Category> | getAllCategories() | 
| java.util.Map | getAllCategoriesLookupMap() | 
| Category | getCategory(java.lang.String categoryName) | 
| Category | getDefaultCategory() | 
| java.util.List<Category> | getOrderedCategories(boolean includeDefaultCategory,
                    Category.CategoryType categoryType,
                    LocaleContext locale) | 
| CategoryManagerOwner | getOwner() | 
| boolean | hasCategories() | 
| Category | lookupCategory(java.lang.String categoryName) | 
| Category | removeCategory(java.lang.String categoryName) | 
java.util.List<Category> getAllCategories()
java.util.Map getAllCategoriesLookupMap()
Category getDefaultCategory()
Category lookupCategory(java.lang.String categoryName)
void addCategory(Category category)
category - Register a new Category with CategoryManagerCategory removeCategory(java.lang.String categoryName)
categoryName - Remove the Category from CategoryManagerCategoryManagerOwner getOwner()
boolean hasCategories()
Category getCategory(java.lang.String categoryName)
categoryName - Category findCategory(java.lang.String categoryName)
categoryName - java.util.List<Category> getOrderedCategories(boolean includeDefaultCategory, Category.CategoryType categoryType, LocaleContext locale)
includeDefaultCategory - -  "true" means that return list should also include
 default category . If we pass "false" for this argument , then the return list won't 
 be containing default categorycategoryType - - this flag tells what type of categories should
 the return list contains. If we pass "null", then return list will contain 
 all type of categories. This value should be of enum type Category.CategoryTypelocale -