Method Summary |
|
public String | categoryToXML(String categoryName) Returns the XML representation of the category with the specified name or
null if the category is unknown. |
public void | completeCategoryToResourceMapping(Collection sensitiveCategories, Map categoryToResourceMap) |
public boolean | containsCategory(ComponentPath path) Returns true if the given path contains a
CategoryManager.CATEGORY_TOKEN . |
public Map | createCategoryMapForUniqueCategoryIdentifier(Collection sensitiveCategories, String categoryIdentfier) |
public String | createUniqueCategoryIdentifier(Collection sensitiveCategories, Map categoryMap) |
public String | createUniqueCategoryIdentifier(Collection sensitiveCategories) |
public ComponentPath | expandCategories(ComponentPath path, Map categoryMap) If the given path
CategoryManager.containsCategory contains a category the
CategoryManager.CATEGORY_TOKEN category-tokens get replaced with their current
values according to the given map. |
public Collection | getCategories() Returns an unmodifiable Collection containing all
currently registered categories, so the collection contains
Category instances only. |
public Category | getCategory(String categoryName) Returns the
Category with the given name or null if no such
category is registered. |
public Map | getCategoryMap(CallData callData, boolean sessionScope) Returns a newly created category-map for the user specified in the
session contained in the CallData object. |
public Map | getCategoryMap(Map parameterMap) Select all entries from the map where the key is a valid category name. |
public Map | getCategoryMap(CallData callData, Map baseMap, boolean sessionScope) Returns a newly created category-map for the user specified in the
session contained in the CallData object. |
public String[] | getCategoryNames() Returns a String[] containing the names of all currently
registered categories. |
public String | getChannel(CallData callData) |
public Map | getDefaultCategoryMap() Returns map containing (String,String) entries where every key represents
a valid category and the corresponding value is the default value of this
category. |
public Locale | getLocale(CallData callData) |
public Map | getSensitveCategoryCombinations(Collection sensitiveCategories) |
public boolean | isValid(String categoryName, String categoryValue) Returns true if the given name is a name of an existing category and the
value is valid for this category. |