Java Doc for RuleCriterionResolver.java in  » Portal » jetspeed-2.1.3 » org » apache » jetspeed » profiler » rules » 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 » Portal » jetspeed 2.1.3 » org.apache.jetspeed.profiler.rules 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.jetspeed.profiler.rules.RuleCriterionResolver

All known Subclasses:   org.apache.jetspeed.profiler.rules.impl.UserAttributeResolver,  org.apache.jetspeed.profiler.rules.impl.CountryCriterionResolver,  org.apache.jetspeed.profiler.rules.impl.UserCriterionResolver,  org.apache.jetspeed.profiler.rules.impl.IPCriterionResolver,  org.apache.jetspeed.profiler.rules.impl.PathResolver,  org.apache.jetspeed.profiler.rules.impl.NavigationCriterionResolver,  org.apache.jetspeed.profiler.rules.impl.LanguageCriterionResolver,  org.apache.jetspeed.profiler.rules.impl.DomainCriterionResolver,  org.apache.jetspeed.profiler.rules.impl.GroupCriterionResolver,  org.apache.jetspeed.profiler.rules.impl.UserAgentCriterionResolver,  org.apache.jetspeed.profiler.rules.impl.StandardResolver,  org.apache.jetspeed.profiler.rules.impl.PathSessionResolver,  org.apache.jetspeed.profiler.rules.impl.SessionResolver,  org.apache.jetspeed.profiler.rules.impl.RequestSessionResolver,  org.apache.jetspeed.profiler.rules.impl.RoleCriterionResolver,  org.apache.jetspeed.profiler.rules.impl.GroupRoleUserCriterionResolver,  org.apache.jetspeed.profiler.rules.impl.MediatypeCriterionResolver,  org.apache.jetspeed.profiler.rules.impl.HardCodedResolver,  org.apache.jetspeed.profiler.rules.impl.RoleComboCriterionResolver,  org.apache.jetspeed.profiler.rules.impl.HostnameCriterionResolver,
RuleCriterionResolver
public interface RuleCriterionResolver extends Serializable(Code)
Resolves rule criterion based on a single criterion and runtime request context state. Note all resolvers should look at the criterion's value if they fail to find it
author:
   David Sean Taylor
version:
   $Id: RuleCriterionResolver.java 516448 2007-03-09 16:25:47Z ate $


Field Summary
final public static  StringCOUNTRY
    
final public static  StringGROUP
    
final public static  StringGROUP_ROLE_USER
    
final public static  StringHARD_CODED
    
final public static  StringLANGUAGE
    
final public static  StringMEDIATYPE
    
final public static  StringNAVIGATION
    
final public static  StringPAGE
    
final public static  StringPATH
    
final public static  StringPATH_SESSION
    
final public static  StringREQUEST
    
final public static  StringREQUEST_SESSION
    
final public static  StringROLE
    
final public static  StringROLE_FALLBACK
    
final public static  StringSESSION
    
final public static  StringUSER
    
final public static  StringUSER_AGENT
    
final public static  StringUSER_ATTRIBUTE
    


Method Summary
 booleanisControl(RuleCriterion criterion)
     Gets the control classification of the resolver.
 booleanisNavigation(RuleCriterion criterion)
     Gets the navigation classification of the resolver.
 Stringresolve(RequestContext context, RuleCriterion criterion)
     Resolver the value for a criterion.
Parameters:
  context - The request context.
Parameters:
  criterion - The criterion being evaluated.

Field Detail
COUNTRY
final public static String COUNTRY(Code)
first check request parameter, then check country code in the request context



GROUP
final public static String GROUP(Code)
first check request parameter, then check group in the request context



GROUP_ROLE_USER
final public static String GROUP_ROLE_USER(Code)
look for group, then role, then user



HARD_CODED
final public static String HARD_CODED(Code)
look at hard-coded criterion value only



LANGUAGE
final public static String LANGUAGE(Code)
first check request parameter, then check language in the request context



MEDIATYPE
final public static String MEDIATYPE(Code)
first check request parameter, then check media type in the request context



NAVIGATION
final public static String NAVIGATION(Code)
change the current navigation path



PAGE
final public static String PAGE(Code)
resolve the parameter via the request path, then value



PATH
final public static String PATH(Code)
resolve the parameter via the request path, then value



PATH_SESSION
final public static String PATH_SESSION(Code)
look in the request path first, then session



REQUEST
final public static String REQUEST(Code)
resolve the parameter via the request parameter, then value



REQUEST_SESSION
final public static String REQUEST_SESSION(Code)
look in the request first, then session



ROLE
final public static String ROLE(Code)
first check request parameter, then check role in the request context



ROLE_FALLBACK
final public static String ROLE_FALLBACK(Code)



SESSION
final public static String SESSION(Code)
resolve the parameter via a session attribute



USER
final public static String USER(Code)
first check request parameter, then check user in the request context



USER_AGENT
final public static String USER_AGENT(Code)
first check request parameter, then user agent in the request context



USER_ATTRIBUTE
final public static String USER_ATTRIBUTE(Code)
look in user attributes





Method Detail
isControl
boolean isControl(RuleCriterion criterion)(Code)
Gets the control classification of the resolver. The control class flag



isNavigation
boolean isNavigation(RuleCriterion criterion)(Code)
Gets the navigation classification of the resolver. The control class flag



resolve
String resolve(RequestContext context, RuleCriterion criterion)(Code)
Resolver the value for a criterion.
Parameters:
  context - The request context.
Parameters:
  criterion - The criterion being evaluated. The value of the criterion or null if not found.Returns null to indicate to subclasses to continue processing.



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