Add a CategoryManager Listenerparaml Listener to Add CategoryManagerImpl.getInstance().addCategoryManagerListener(l);
CategoryManagerImpl.getInstance().addCategoryManagerListener(l);
Creates a new Category object and adds it to the listreturnIf successful, returns the newly created Category. Otherwise, returns null.paramname Name of Category to add return CategoryManagerImpl.getInstance().createCategory(name);
return CategoryManagerImpl.getInstance().createCategory(name);
Retrieves the list of Categories To sort the categories by name (TYPE_USER last): Arrays.sort(categories); returnList of Categories return CategoryManagerImpl.getInstance().getCategories();
Arrays.sort(categories);
return CategoryManagerImpl.getInstance().getCategories();
Retrieve a Categoryparamname Name of CategoryreturnCategory you asked for return CategoryManagerImpl.getInstance().getCategory(name);
return CategoryManagerImpl.getInstance().getCategory(name);
Retrieve a non-user Categoryparamtype any type except TYPE_USERreturnThe Category, or null if not found.seeCategory USER_ constants return CategoryManagerImpl.getInstance().getCategory(type);
return CategoryManagerImpl.getInstance().getCategory(type);
Removes a Category from the listparamcategory Category to remove CategoryManagerImpl.getInstance().removeCategory(category);
CategoryManagerImpl.getInstance().removeCategory(category);
Removes a CategoryManager Listenerparaml Listener to removeseeCategoryManagerListener CategoryManagerImpl.getInstance().removeCategoryManagerListener(l);
CategoryManagerImpl.getInstance().removeCategoryManagerListener(l);