Source Code Cross Referenced for PostProcessorRemote.java in  » ERP-CRM-Financial » Kuali-Financial-System » edu » iu » uis » eden » clientapp » 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 » ERP CRM Financial » Kuali Financial System » edu.iu.uis.eden.clientapp 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * Copyright 2005-2006 The Kuali Foundation.
003:         * 
004:         * 
005:         * Licensed under the Educational Community License, Version 1.0 (the "License");
006:         * you may not use this file except in compliance with the License.
007:         * You may obtain a copy of the License at
008:         * 
009:         * http://www.opensource.org/licenses/ecl1.php
010:         * 
011:         * Unless required by applicable law or agreed to in writing, software
012:         * distributed under the License is distributed on an "AS IS" BASIS,
013:         * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014:         * See the License for the specific language governing permissions and
015:         * limitations under the License.
016:         */
017:        package edu.iu.uis.eden.clientapp;
018:
019:        import java.rmi.RemoteException;
020:
021:        import edu.iu.uis.eden.DocumentRouteStatusChange;
022:        import edu.iu.uis.eden.clientapp.vo.ActionTakenEventVO;
023:        import edu.iu.uis.eden.clientapp.vo.DeleteEventVO;
024:        import edu.iu.uis.eden.clientapp.vo.DocumentRouteLevelChangeVO;
025:        import edu.iu.uis.eden.clientapp.vo.DocumentRouteStatusChangeVO;
026:        import edu.iu.uis.eden.exception.ResourceUnavailableException;
027:
028:        /**
029:         * A PostProcessor listens for events from the Workflow routing engine for it's DocumentType.
030:         * It gives clients hooks into the routing process to perform operations at the various stages.
031:         * Implementations of this Interface are potentially remotable, so this Interface uses 
032:         * value objects. 
033:         * 
034:         * @author ewestfal
035:         */
036:        public interface PostProcessorRemote {
037:
038:            /**
039:             * The document has changed route status. The docEvent contains the information about the change.
040:             * This method should do what ever is appropriate for various route status changes to a document.
041:             * The method should return true if the change is correct and all application actions as a result
042:             * of the change are successful. It should return false if the application considers this an
043:             * incorrect change.
044:             *
045:             * The method can throw a ResourceUnavailableException in order to get EDEN to requeue the
046:             * document and try again later.
047:             * @param statusChangeEvent
048:             * @param msg any error message to be propagated back to users should be set here
049:             * @return true if the status change is correct and application actions are successful
050:             * later if this exception is thrown
051:             * @see DocumentRouteStatusChange
052:             */
053:            public boolean doRouteStatusChange(
054:                    DocumentRouteStatusChangeVO statusChangeEvent)
055:                    throws RemoteException;
056:
057:            /**
058:             * The document has changed route level. The docEvent contains the information about the change.
059:             * This method should do what ever is appropriate for various route level changes to a document.
060:             * The method should return true if the change is correct and all application actions as a result
061:             * of the change are successful. It should return false if the application considers this an
062:             * incorrect change.
063:             *
064:             * The method can throw a ResourceUnavailableException in order to get EDEN to requeue the
065:             * document and try again later.
066:             * @param levelChangeEvent
067:             * @param msg any error message to be propagated back to users should be set here
068:             * @return true if the status change is correct and application actions are successful
069:             * @throws java.lang.Exception A general Exception will cause EDEN to put the document into Exception routing
070:             * @throws ResourceUnavailableException EDEN will requeue the document and try the change again
071:             * later if this exception is thrown
072:             * @see DocumentRouteLevelChangeVO
073:             */
074:            public boolean doRouteLevelChange(
075:                    DocumentRouteLevelChangeVO levelChangeEvent)
076:                    throws RemoteException;
077:
078:            /**
079:             * KEW is signaling that the document should be deleted. The application can reject this by
080:             * returning false. If the EdenException is thrown the docuemnt will go to exception routing. If
081:             * a ResourceUnavailableException is thrown, the doc will be requeued and will try again later to
082:             * delete the document.
083:             * @param event
084:             * @param message
085:             * @return
086:             * @throws java.lang.Exception A general Exception will cause EDEN to put the document into Exception routing
087:             * @throws ResourceUnavailableException EDEN will requeue the document and try the change again
088:             */
089:            public boolean doDeleteRouteHeader(DeleteEventVO event)
090:                    throws RemoteException;
091:
092:            /**
093:             * KEW is signaling that the document has had an action taken on it by a user
094:             * 
095:             * @param event
096:             * @return
097:             * @throws RemoteException
098:             */
099:            public boolean doActionTaken(ActionTakenEventVO event)
100:                    throws RemoteException;
101:
102:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.