Java Doc for WfActivity.java in  » Workflow-Engines » wfmopen-2.1.1 » de » danet » an » workflow » omgcore » 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 » wfmopen 2.1.1 » de.danet.an.workflow.omgcore 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


de.danet.an.workflow.omgcore.WfActivity

WfActivity
public interface WfActivity extends WfExecutionObject,WfRequester(Code)
WfActivity is a step in a process that is associated, as part of an aggregation, with a single de.danet.an.workflow.omgcore.WfProcess WfProcess . It represents a request for work in the context of the containing WfProcess.




Method Summary
 Collectionassignments()
     Returns all the WfAssignment associated with a WfActivity.
 voidcomplete()
     This method is used by an application to signal the completion of an activity.
 WfProcesscontainer()
     Returns the WfProcess that this activity is a part of.
 booleanisMemberOfAssignments(WfAssignment member)
     Check if the given assignment is among the assignments of this activity.
Parameters:
  member - the assignment in question.
 ProcessDataresult()
     Returns the result produced by the realization of the work request represented by an activity.
 voidsetResult(ProcessData result)
     Passes result data back to the workflow process.



Method Detail
assignments
Collection assignments() throws RemoteException(Code)
Returns all the WfAssignment associated with a WfActivity. the collection of all the WfAssignment.
throws:
  RemoteException - if a system-level error occurs.



complete
void complete() throws RemoteException, CannotCompleteException(Code)
This method is used by an application to signal the completion of an activity. Note that this does not necessarily imply that the activity's state changes to closed.completed.

XPDL allows an activity to be implemented by several tools that are executed in sequence. Only if complete is called after the last tool has been started will the workflow engine change the activity's state to closed.completed. Else the activity will remain in the open.running state and the next tool will be started. If complete is called while the activity's state has been set to open.not_running.suspended the next tool will not be started until the activity is resumed.

The de.danet.an.workflow.api.Activity extended API provides methods for finding out which tool is currently being executed.
throws:
  RemoteException - if a system-level error occurs.
throws:
  CannotCompleteException - if the activity cannot be completed yet.




container
WfProcess container() throws RemoteException(Code)
Returns the WfProcess that this activity is a part of. the process.
throws:
  RemoteException - if a system-level error occurs.



isMemberOfAssignments
boolean isMemberOfAssignments(WfAssignment member) throws RemoteException(Code)
Check if the given assignment is among the assignments of this activity.
Parameters:
  member - the assignment in question. true if the assignment is among the assignments of this activity.
throws:
  RemoteException - if a system-level error occurs.



result
ProcessData result() throws RemoteException, ResultNotAvailableException(Code)
Returns the result produced by the realization of the work request represented by an activity. the process data as result
throws:
  RemoteException - if a system-level error occurs.
throws:
  ResultNotAvailableException - if accessing to the result of an activity is not supported or the result data are not available yet.



setResult
void setResult(ProcessData result) throws RemoteException, InvalidDataException(Code)
Passes result data back to the workflow process. The data item names must be the names of formal IN or OUT parameters of the currently invoked tool or subflow.
Parameters:
  result - the result data.
throws:
  RemoteException - if a system-level error occurs.
throws:
  InvalidDataException - if the data do not match the signature of the activity or when an invalid attempt is made to update the results of an activity; lack of access rights might be one of those reasons.



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