Source Code Cross Referenced for WfActivityInternal.java in  » Workflow-Engines » shark » org » enhydra » shark » api » internal » working » 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 » Workflow Engines » shark » org.enhydra.shark.api.internal.working 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        package org.enhydra.shark.api.internal.working;
002:
003:        import java.util.List;
004:        import java.util.Map;
005:
006:        import org.enhydra.shark.api.client.wfmc.wapi.WMSessionHandle;
007:        import org.enhydra.shark.api.client.wfmodel.AlreadyRunning;
008:        import org.enhydra.shark.api.client.wfmodel.CannotAcceptSuspended;
009:        import org.enhydra.shark.api.client.wfmodel.CannotComplete;
010:        import org.enhydra.shark.api.client.wfmodel.CannotStart;
011:        import org.enhydra.shark.api.client.wfmodel.CannotStop;
012:        import org.enhydra.shark.api.client.wfmodel.InvalidData;
013:        import org.enhydra.shark.api.client.wfmodel.NotRunning;
014:        import org.enhydra.shark.api.client.wfmodel.ResultNotAvailable;
015:
016:        /**
017:         * @author Sasa Bojanic
018:         * @author Vladimir Puskas
019:         */
020:        public interface WfActivityInternal extends WfRequesterInternal,
021:                WfExecutionObjectInternal {
022:
023:            // returns: 
024:            // -1 -> assignments are not re-evaluated (possible when activity type is improper, state is closed or error happened)
025:            //  0 -> assignment re-evaluation happened, but the new assignments are the same as the old ones
026:            //  1 -> assignment re-evaluation happened, and new assignments are different than the old ones
027:            int reevaluateAssignments(WMSessionHandle shandle) throws Exception;
028:
029:            String getResourceUsername(WMSessionHandle shandle)
030:                    throws Exception;
031:
032:            List getAssignmentResourceIds(WMSessionHandle shandle)
033:                    throws Exception;
034:
035:            void updateAssignmentResourceIds(WMSessionHandle shandle,
036:                    String oldResUname, String newResUname) throws Exception;
037:
038:            WfProcessInternal container(WMSessionHandle shandle)
039:                    throws Exception;
040:
041:            Map result(WMSessionHandle shandle) throws Exception,
042:                    ResultNotAvailable;
043:
044:            void set_result(WMSessionHandle shandle, Map result)
045:                    throws Exception, InvalidData;
046:
047:            void complete(WMSessionHandle shandle) throws Exception,
048:                    CannotComplete;
049:
050:            // internal
051:            void finish(WMSessionHandle shandle) throws Exception,
052:                    CannotComplete;
053:
054:            void terminateFromProcess(WMSessionHandle shandle)
055:                    throws Exception, CannotStop, NotRunning;
056:
057:            void abortFromProcess(WMSessionHandle shandle) throws Exception,
058:                    CannotStop, NotRunning;
059:
060:            WfActivityInternal block_activity(WMSessionHandle shandle)
061:                    throws Exception;
062:
063:            String activity_set_definition_id(WMSessionHandle shandle)
064:                    throws Exception;
065:
066:            String activity_definition_id(WMSessionHandle shandle)
067:                    throws Exception;
068:
069:            String activity_definition_name(WMSessionHandle shandle)
070:                    throws Exception;
071:
072:            String block_activity_id(WMSessionHandle shandle) throws Exception;
073:
074:            String manager_name(WMSessionHandle shandle) throws Exception;
075:
076:            String process_id(WMSessionHandle shandle) throws Exception;
077:
078:            String getPerformerId(WMSessionHandle shandle);
079:
080:            boolean isPerformerSynchronous(WMSessionHandle shandle);
081:
082:            void activate(WMSessionHandle shandle) throws Exception,
083:                    CannotStart, AlreadyRunning;
084:
085:            void set_accepted_status(WMSessionHandle shandle, boolean accepted,
086:                    String resourceUname) throws Exception,
087:                    CannotAcceptSuspended;
088:
089:            Exception getException(WMSessionHandle shandle);
090:
091:            void setException(WMSessionHandle shandle, Exception tage);
092:
093:            String getExceptionName(WMSessionHandle shandle);
094:
095:            void setExceptionName(WMSessionHandle shandle, String exceptionName);
096:
097:            boolean checkDeadlines(WMSessionHandle shandle,
098:                    long timeLimitBoundary, Map actsToAsyncExcNames)
099:                    throws Exception;
100:
101:            List getDeadlineInfo(WMSessionHandle shandle) throws Exception;
102:
103:            int getDefinitionType(WMSessionHandle shandle) throws Exception;
104:
105:            WfActivityInternal duplicate(WfProcessInternal proc)
106:                    throws Exception;
107:
108:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.