Java Doc for CategoryManager.java in  » Content-Management-System » contelligent » de » finix » contelligent » category » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Content Management System » contelligent » de.finix.contelligent.category 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


de.finix.contelligent.category.CategoryManager

All known Subclasses:   de.finix.contelligent.core.CategoryManagerImpl,
CategoryManager
public interface CategoryManager (Code)
The CategoryManager is responsible for handling Category categories .


Field Summary
final public static  StringCATEGORY_TOKEN
    
final public static  StringCHANNEL
    
final public static  StringDEFAULT_CHANNEL
    
final public static  StringHTML_CHANNEL
    
final public static  charIDENTIFIER_SEPARATOR
    
final public static  StringIDENTIFIER_SEPARATOR_STRING
    
final public static  StringSGML_CHANNEL
    
final public static  StringXML_CHANNEL
    


Method Summary
public  StringcategoryToXML(String categoryName)
     Returns the XML representation of the category with the specified name or null if the category is unknown.
public  voidcompleteCategoryToResourceMapping(Collection sensitiveCategories, Map categoryToResourceMap)
    
public  booleancontainsCategory(ComponentPath path)
     Returns true if the given path contains a CategoryManager.CATEGORY_TOKEN .
public  MapcreateCategoryMapForUniqueCategoryIdentifier(Collection sensitiveCategories, String categoryIdentfier)
    
public  StringcreateUniqueCategoryIdentifier(Collection sensitiveCategories, Map categoryMap)
    
public  StringcreateUniqueCategoryIdentifier(Collection sensitiveCategories)
    
public  ComponentPathexpandCategories(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  CollectiongetCategories()
     Returns an unmodifiable Collection containing all currently registered categories, so the collection contains Category instances only.
public  CategorygetCategory(String categoryName)
     Returns the Category with the given name or null if no such category is registered.
public  MapgetCategoryMap(CallData callData, boolean sessionScope)
     Returns a newly created category-map for the user specified in the session contained in the CallData object.
public  MapgetCategoryMap(Map parameterMap)
     Select all entries from the map where the key is a valid category name.
public  MapgetCategoryMap(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  StringgetChannel(CallData callData)
    
public  MapgetDefaultCategoryMap()
     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  LocalegetLocale(CallData callData)
    
public  MapgetSensitveCategoryCombinations(Collection sensitiveCategories)
    
public  booleanisValid(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.

Field Detail
CATEGORY_TOKEN
final public static String CATEGORY_TOKEN(Code)



CHANNEL
final public static String CHANNEL(Code)



DEFAULT_CHANNEL
final public static String DEFAULT_CHANNEL(Code)



HTML_CHANNEL
final public static String HTML_CHANNEL(Code)



IDENTIFIER_SEPARATOR
final public static char IDENTIFIER_SEPARATOR(Code)



IDENTIFIER_SEPARATOR_STRING
final public static String IDENTIFIER_SEPARATOR_STRING(Code)



SGML_CHANNEL
final public static String SGML_CHANNEL(Code)



XML_CHANNEL
final public static String XML_CHANNEL(Code)





Method Detail
categoryToXML
public String categoryToXML(String categoryName)(Code)
Returns the XML representation of the category with the specified name or null if the category is unknown.



completeCategoryToResourceMapping
public void completeCategoryToResourceMapping(Collection sensitiveCategories, Map categoryToResourceMap)(Code)



containsCategory
public boolean containsCategory(ComponentPath path)(Code)
Returns true if the given path contains a CategoryManager.CATEGORY_TOKEN .



createCategoryMapForUniqueCategoryIdentifier
public Map createCategoryMapForUniqueCategoryIdentifier(Collection sensitiveCategories, String categoryIdentfier)(Code)



createUniqueCategoryIdentifier
public String createUniqueCategoryIdentifier(Collection sensitiveCategories, Map categoryMap)(Code)



createUniqueCategoryIdentifier
public String createUniqueCategoryIdentifier(Collection sensitiveCategories)(Code)



expandCategories
public ComponentPath expandCategories(ComponentPath path, Map categoryMap) throws CategoryException(Code)
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.
exception:
  CategoryException - if the map does not contain a value for a category foundin the path.



getCategories
public Collection getCategories()(Code)
Returns an unmodifiable Collection containing all currently registered categories, so the collection contains Category instances only. a Collection



getCategory
public Category getCategory(String categoryName)(Code)
Returns the Category with the given name or null if no such category is registered. a Category value, maybe null



getCategoryMap
public Map getCategoryMap(CallData callData, boolean sessionScope) throws CategoryException(Code)
Returns a newly created category-map for the user specified in the session contained in the CallData object.
Parameters:
  callData - a CallData value a Map value
exception:
  de.finix.contelligent.category.CategoryException - if an error occurs



getCategoryMap
public Map getCategoryMap(Map parameterMap) throws CategoryException(Code)
Select all entries from the map where the key is a valid category name.
Parameters:
  parameterMap -
throws:
  CategoryException -



getCategoryMap
public Map getCategoryMap(CallData callData, Map baseMap, boolean sessionScope) throws CategoryException(Code)
Returns a newly created category-map for the user specified in the session contained in the CallData object. If the given Map contains any key/value pairs where the key matches an existsing category the value is used as default for the category instead of the initially configured one.
Parameters:
  callData - a CallData value
Parameters:
  baseMap - a Map used a default value for categories whicharen't defined for this user. a Map value
exception:
  de.finix.contelligent.category.CategoryException - if an error occurs



getCategoryNames
public String[] getCategoryNames()(Code)
Returns a String[] containing the names of all currently registered categories. a String[] value



getChannel
public String getChannel(CallData callData)(Code)



getDefaultCategoryMap
public Map getDefaultCategoryMap()(Code)
Returns map containing (String,String) entries where every key represents a valid category and the corresponding value is the default value of this category. a Map value



getLocale
public Locale getLocale(CallData callData)(Code)



getSensitveCategoryCombinations
public Map getSensitveCategoryCombinations(Collection sensitiveCategories)(Code)



isValid
public boolean isValid(String categoryName, String categoryValue)(Code)
Returns true if the given name is a name of an existing category and the value is valid for this category.
Parameters:
  categoryName - a String value
Parameters:
  categoryValue - a String value



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.