Source Code Cross Referenced for ARIResult.java in  » Web-Framework » RSF » uk » org » ponder » rsf » flow » 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 » Web Framework » RSF » uk.org.ponder.rsf.flow 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


01:        /*
02:         * Created on Oct 10, 2005
03:         */
04:        package uk.org.ponder.rsf.flow;
05:
06:        import uk.org.ponder.rsf.viewstate.AnyViewParameters;
07:
08:        /** An object summarising the return from the ActionResultInterpreter. This
09:         * embodies the flow of the application by determining the resulting view to
10:         * be shown on the next cycle, as well as giving instructions for the disposal
11:         * or propagation of the current request-scope state.
12:         * @author Antranig Basman (antranig@caret.cam.ac.uk)
13:         *
14:         */
15:        public class ARIResult {
16:            /** The request scope state will be propagated to the token held by the
17:             * view parameters shown in the next request cycle.
18:             */
19:            public static final String PROPAGATE = "propagate";
20:            /** No propagation will be performed of request state - in addition any
21:             * tokens sharing this state will be unlinked from it. Return this code
22:             * at the successful conclusion of either a multi-request wizard, or of a 
23:             * single request. 
24:             */
25:            public static final String FLOW_END = "flow-end";
26:            /** THIS VALUE IS NOT YET SUPPORTED! Indicate that the following view
27:             * will represent a "forked" instance of the flow in progress, with a clone
28:             * of all of its flow state. Will anyone really want this?
29:             */
30:            public static final String FLOW_FORK = "flow-fork";
31:
32:            /** A flow that will begin and end in a single cycle - i.e. will 
33:             * immediately enter the "end-flow" condition. The current view must be
34:             * free of any flow state, end-flow or otherwise. In effect, perform 
35:             * FLOW_FASTSTART and FLOW_END simultaneously.
36:             */
37:            public static final String FLOW_ONESTEP = "flow-onestep";
38:
39:            /** An action name representing the start of a flow. This kind of flow is
40:             * safe to launch from the end-state of an existing flow. Although not
41:             * from an internal state of an existing flow. **/
42:            public static final String FLOW_START = "flow-start";
43:
44:            /** Launches a new flow, in "fast" mode, i.e. performing the same 
45:             * preservation that is performed in interior states. This may not
46:             * be used in either internal or end states of another flow.
47:             */
48:            public static final String FLOW_FASTSTART = "flow-faststart";
49:
50:            /** Propagate the request scope state only as an "error" state - i.e. this
51:             * represents an erroneous submission from a single-request submission.
52:             * The default implementation will expire the storage of this state on
53:             * a more rapid schedule than "normal" multi-request state (on the order
54:             * of minutes rather than hours).
55:             */
56:
57:            // public static final String PROPAGATE_ERROR_ONLY = "propagate error only";
58:            /** The view to be shown on the next cycle. The <code>tokenid</code> field
59:             * will be overwritten by RSF with a unique token before it is dispensed
60:             * to the client via the client redirect.
61:             */
62:            public AnyViewParameters resultingView;
63:
64:            /** A result code indicating the propagation status of any multi-request state
65:             * required by the next view to be rendered. This code is chosen from one of the
66:             * FLOW_ String values above.
67:             */
68:            public String propagateBeans;
69:
70:            /** Pea proxying method **/
71:            public ARIResult get() {
72:                return this;
73:            }
74:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.