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


de.danet.an.workflow.internalapi.ExtProcessLocal

All known Subclasses:   domain.VolatileProcess,
ExtProcessLocal
public interface ExtProcessLocal extends ExtExecutionObjectLocal,ProcessLocal(Code)
This interface defines additional methods known to the domain classes only.
author:
   Michael Lipp
version:
   $Revision: 1.2.2.1 $




Method Summary
 booleanchoose(ExtActivityLocal activity)
     Makes the given activity the chosen one in a set of activities started by an AND split with the "deferred choice" option set.
 voidcloseActivity(ExtActivityLocal activity, State closedState)
     Close the given activity.
 voidcopyProcessDefinition(String procDefXpdl)
     Copy the process definition in xpdl string in this process.
 Serializable[]evalExpressions(Object[][] expressionData)
     Evaluate the given expression using the process specific context.
 SerializableevalScript(String script)
     Evaluate the given script using the process specific scope.
 voidhandleException(ExtActivityLocal activity, String exceptionName)
     Handle the process related tasks resulting from the receipt of an exception by an activity.
 PrincipalprocessCreator()
     Return the creator of the process.
 ProcessDefinitionDirectoryLocalprocessDefinitionDirectoryLocal()
     Return the process definition directory.
 voidsubmitChannelMessage(String channel, Map message)
     Deliver a message on the given channel to a receiver tool listening on that channel.
 ProcesstoProcess()
     Return the remote version of this object.
 ListtransitionsLocal()
     Gets a list of transitions for this process as ExtTransitionLocals.



Method Detail
choose
boolean choose(ExtActivityLocal activity) throws TransitionNotAllowedException(Code)
Makes the given activity the chosen one in a set of activities started by an AND split with the "deferred choice" option set. All other activities in the set are reset to their initial state.

If the activity does not participate in a deferred choice, this method does nothing and returns true.
Parameters:
  activity - the activity to be chosen true if the activity could be made theeffectively chosen one
throws:
  TransitionNotAllowedException - if the activity isneither running nor suspended




closeActivity
void closeActivity(ExtActivityLocal activity, State closedState)(Code)
Close the given activity. This method may be called only by the activity passed as argument, and calls ExtActivityLocal.doCloseActivity doCloseActivity on the activity.

Activities may not set their state to "closed" themselves as this state change has implications on the process and must be tracked by a transition manager. Calling this method ensures that there is a transition manager reflecting the situation before the state change; the state is then changed by the process calling doCloseActivity, and depending actions may then be taken.
Parameters:
  activity - the activity
Parameters:
  closedState - the new state of the activity




copyProcessDefinition
void copyProcessDefinition(String procDefXpdl)(Code)
Copy the process definition in xpdl string in this process. If the process definition need to be removed, use this method to copy process definition in the database field of xpdl so that the process definition can still be reconstructed.
Parameters:
  procDefXpdl - the given process definition in xpdl string.



evalExpressions
Serializable[] evalExpressions(Object[][] expressionData)(Code)
Evaluate the given expression using the process specific context.
Parameters:
  expressionData - an array of object arrays containing the resulttype and the expression an array that contains the result of each evaluation.Note that the result may be an exception.



evalScript
Serializable evalScript(String script) throws ScriptException(Code)
Evaluate the given script using the process specific scope.
Parameters:
  script - the script the result
throws:
  ScriptException - if evaluation fails



handleException
void handleException(ExtActivityLocal activity, String exceptionName)(Code)
Handle the process related tasks resulting from the receipt of an exception by an activity.
Parameters:
  activity - the activity that has received the exception
Parameters:
  exceptionName - the exception name



processCreator
Principal processCreator()(Code)
Return the creator of the process. the process creator.



processDefinitionDirectoryLocal
ProcessDefinitionDirectoryLocal processDefinitionDirectoryLocal()(Code)
Return the process definition directory. While there is no immediate relation between a process instance and the known process definitions, the definitions nevertheless make up part of the environment of a process. Specifically, this method is needed to start a sub-process in an activity. the process definition directory



submitChannelMessage
void submitChannelMessage(String channel, Map message) throws InvalidDataException(Code)
Deliver a message on the given channel to a receiver tool listening on that channel. If no tool is listening, store the message.
Parameters:
  channel - the channel name
Parameters:
  message - the message
throws:
  InvalidDataException - if the message contains invalid data



toProcess
Process toProcess()(Code)
Return the remote version of this object. the client side object.



transitionsLocal
List transitionsLocal()(Code)
Gets a list of transitions for this process as ExtTransitionLocals. list of transitions for this process



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