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


de.danet.an.workflow.api.ProcessDefinition

All known Subclasses:   de.danet.an.workflow.domain.DefaultProcessDefinition,
ProcessDefinition
public interface ProcessDefinition (Code)
This interface defines a process definiton.

Inner Class :public static interface PackageHeaderData
Inner Class :public static interface ProcessHeaderData

Field Summary
final public static  intAUDIT_SELECTION_ALL_EVENTS
     Select all audit events to be delivered and recorded.
final public static  intAUDIT_SELECTION_NO_EVENTS
     Select no audit events to be delivered and recorded.
final public static  intAUDIT_SELECTION_PROCESS_CLOSED_EVENTS_ONLY
     Select process closed events for delivery and recording only.
final public static  intAUDIT_SELECTION_STATE_EVENTS_ONLY
     Select state change events for delivery and recording only.
final public static  intREMOVE_AUTOMATIC
     Remove closed processes automatically.
final public static  intREMOVE_COMPLETED
     Remove closed processes automatically if closed.completed.
final public static  intREMOVE_MANUAL
     Remove closed processes manually.


Method Summary
 ApplicationapplicationById(String id)
     Return the application with the given id.
Parameters:
  id - the application id.
 Collectionapplications()
     Returns the applications defined in this process.
 intauditEventSelection()
     This method returns the selected audit events of instances of this process definition.
 intcleanupMode()
     This method checks if a closed process should be removed.
 ProcessDataInfocontextSignature()
     Returns the meta information that defines how to set the context for this kind of process.
 FormalParameter[]formalParameters()
     Returns the meta information that describes the formal parameters for this kind of process. the process meta information.
 StringmgrName()
     The name of the associated de.danet.an.workflow.omgcore.WfProcessMgr processmanager .
 StringpackageId()
     Id of the package as specified in the XPDL description.
 StringpackageName()
     Name of the package as specified in the XPDL description.
 ParticipantparticipantById(String id)
     Return the participant identified by the id.
 Collectionparticipants()
     Gets the participants for this process.
 ProcessHeaderDataprocessHeader()
     Returns process header data object of the process description.
 StringprocessId()
     Id of the process as specified in the XPDL description.
 StringprocessName()
     Name of the process as specified in the XPDL description.
 booleanremoveClosedProcess()
     This method checks if the closed process should be removed.
 ProcessDataInforesultSignature()
     Returns the meta information that describes the result for this kind of process.
 booleanstoreAuditEvents()
     This method reports if audit events are written to the database.
 DocumenttoJDOM()
     Returns the process description as XPDL JDOM tree.
 SAXEventBuffertoSAX()
     Return the process definition as SAX event buffer.
 StringtoXPDL()
     Returns the process description as XPDL textual description.
 Stringversion()
     Version of the process definition as specified in the XPDL description.

Field Detail
AUDIT_SELECTION_ALL_EVENTS
final public static int AUDIT_SELECTION_ALL_EVENTS(Code)
Select all audit events to be delivered and recorded.



AUDIT_SELECTION_NO_EVENTS
final public static int AUDIT_SELECTION_NO_EVENTS(Code)
Select no audit events to be delivered and recorded.



AUDIT_SELECTION_PROCESS_CLOSED_EVENTS_ONLY
final public static int AUDIT_SELECTION_PROCESS_CLOSED_EVENTS_ONLY(Code)
Select process closed events for delivery and recording only.



AUDIT_SELECTION_STATE_EVENTS_ONLY
final public static int AUDIT_SELECTION_STATE_EVENTS_ONLY(Code)
Select state change events for delivery and recording only.



REMOVE_AUTOMATIC
final public static int REMOVE_AUTOMATIC(Code)
Remove closed processes automatically.



REMOVE_COMPLETED
final public static int REMOVE_COMPLETED(Code)
Remove closed processes automatically if closed.completed.



REMOVE_MANUAL
final public static int REMOVE_MANUAL(Code)
Remove closed processes manually.





Method Detail
applicationById
Application applicationById(String id) throws InvalidIdException(Code)
Return the application with the given id.
Parameters:
  id - the application id. the application.
throws:
  InvalidIdException - if no application with the given id exists.



applications
Collection applications()(Code)
Returns the applications defined in this process. a collection of Application Applications.



auditEventSelection
int auditEventSelection()(Code)
This method returns the selected audit events of instances of this process definition. the filter



cleanupMode
int cleanupMode()(Code)
This method checks if a closed process should be removed. Parse the process definition and find out if the extendAttribute with the name of RemoveClosedProcess has the value of MANUAL, AUTOMATIC or COMPLETED and return the corresponding constant. Default is to remove automatically, i.e. ProcessDefinition.REMOVE_AUTOMATIC REMOVE_AUTOMATIC . the cleanup mode.



contextSignature
ProcessDataInfo contextSignature()(Code)
Returns the meta information that defines how to set the context for this kind of process. Equivalent to calling de.danet.an.workflow.omgcore.WfProcessMgr.contextSignaturecontextSignature on a process manager for this kind of process. the process meta information.
See Also:   de.danet.an.workflow.omgcore.WfProcessMgr.contextSignature



formalParameters
FormalParameter[] formalParameters()(Code)
Returns the meta information that describes the formal parameters for this kind of process. the process meta information. The result is nevernull, rather an array with zero element is returned.



mgrName
String mgrName()(Code)
The name of the associated de.danet.an.workflow.omgcore.WfProcessMgr processmanager . While the name of a process in XPDL is just a human readable "label", the name attribute of the process manager must be unique within agiven business domain.

The standard implementation of ProcessDefinition derives a manager name from the package and process ids in the XPDL, separated by a slash ("/"). process manager name.




packageId
String packageId()(Code)
Id of the package as specified in the XPDL description. package id.



packageName
String packageName()(Code)
Name of the package as specified in the XPDL description. package name.



participantById
Participant participantById(String id) throws InvalidIdException(Code)
Return the participant identified by the id.
Parameters:
  id - identity of the participant in string a Participant object
throws:
  InvalidIdException - if no participant with the given id exists.



participants
Collection participants()(Code)
Gets the participants for this process. a collection of ParticipantParticipants for this process.



processHeader
ProcessHeaderData processHeader()(Code)
Returns process header data object of the process description. process header data object of the process description



processId
String processId()(Code)
Id of the process as specified in the XPDL description. process id.



processName
String processName()(Code)
Name of the process as specified in the XPDL description. process name.



removeClosedProcess
boolean removeClosedProcess()(Code)
This method checks if the closed process should be removed. Parse the process definition and find out if the extendAttribute with the name of RemoveClosedProcess has the value of MANUAL, then return false; if it has the value of AUTOMATIC, then return true. Default is true. true if the closed process should beremoved, otherwise false.ProcessDefinition.cleanupMode cleanupMode



resultSignature
ProcessDataInfo resultSignature()(Code)
Returns the meta information that describes the result for this kind of process. Equivalent to calling de.danet.an.workflow.omgcore.WfProcessMgr.resultSignatureresultSignature on a process manager for this kind of process.

The implementation returns all formal IN or INOUT parameters. the process meta information.
See Also:   de.danet.an.workflow.omgcore.WfProcessMgr.resultSignature




storeAuditEvents
boolean storeAuditEvents()(Code)
This method reports if audit events are written to the database. true if only state change events of theprocess instance are audited.



toJDOM
Document toJDOM()(Code)
Returns the process description as XPDL JDOM tree. DOM representation of the process definition



toSAX
SAXEventBuffer toSAX()(Code)
Return the process definition as SAX event buffer. the process definition
since:
   1.2



toXPDL
String toXPDL()(Code)
Returns the process description as XPDL textual description. the process definition



version
String version()(Code)
Version of the process definition as specified in the XPDL description. process defintion version.



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