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


java.lang.Object
   de.danet.an.workflow.domain.DefaultProcessDefinition

DefaultProcessDefinition
public class DefaultProcessDefinition implements ProcessDefinition,Serializable(Code)
This class represents a process definitions with the root tag ProcessDefinition. It converts the input to the respective objects in the process definition database.

Inner Class :public static class DefaultPackageHeader implements ProcessDefinition.PackageHeaderData,Serializable
Inner Class :public static class DefaultProcessHeader implements ProcessHeaderData,Serializable
Inner Class :public class SAXDataFieldHandler extends StackedHandler
Inner Class :public class SAXFormalParameterHandler extends StackedHandler
Inner Class :public class SAXExtAttrHandler extends StackedHandler

Field Summary
final static  org.apache.commons.logging.Loglogger
     logger of this class.

Constructor Summary
public  DefaultProcessDefinition(Document processDefinition)
     Construct a new DefaultProcessDefinition from a JDOM document.
Parameters:
  processDefinition - parsed process definitionas Document.
throws:
  JDOMException - If an error occurs.
public  DefaultProcessDefinition(String xpdl)
     Construct a new DefaultProcessDefinition from an XPDL Document.

This constructor assumes that XPDL has been verified before, i.e. it parses the process definition with verification turned off.
Parameters:
  xpdl - String representation of the process definition
throws:
  IOException - If an error occurs.


Method Summary
public  ApplicationapplicationById(String id)
     Find out the dedicated application using the given id.
public  Collectionapplications()
     Extracts all the applications definition in the package and in this process and use it to generate a collection of ApplicationDefinition.
public  intauditEventSelection()
     This method the audit event filter for instances of this process definition.
public  intcleanupMode()
     This method checks if a closed process should be removed.
public  ProcessDataInfocontextSignature()
     Returns the meta information that describes the context for this kind of process.
public  FormalParameter[]formalParameters()
     Returns the meta information that describes the formal parameters for this kind of process.
public  StringmgrName()
     Return the name of the process manager.
public  StringpackageId()
     Return the id of the package.
public  StringpackageName()
     Return the name of the package.
public  ParticipantparticipantById(String id)
     Return the participant identified by the id.
public  Collectionparticipants()
     Gets the participants for this process.
public  ProcessHeaderDataprocessHeader()
     Return the process header data of this process definition.
public  StringprocessId()
     Return the id of the process.
public  StringprocessName()
     Return the name of the process.
public  booleanremoveClosedProcess()
     This method checks if the closed process should be removed.
public  ProcessDataInforesultSignature()
     Returns the meta information that describes the result for this kind of process.
public  booleanstoreAuditEvents()
     This method reports if audit events are written to the database.
public  DocumenttoJDOM()
     Return the process definition presented as JDOM document.
public  SAXEventBuffertoSAX()
     Return the process definition as SAX event buffer.
public  StringtoXPDL()
     Use XMLOutputter to transfer process definition presented as JDOM Tree in String.
public  Stringversion()
     Return the version of the process manager.

Field Detail
logger
final static org.apache.commons.logging.Log logger(Code)
logger of this class.




Constructor Detail
DefaultProcessDefinition
public DefaultProcessDefinition(Document processDefinition) throws JDOMException, ImportException(Code)
Construct a new DefaultProcessDefinition from a JDOM document.
Parameters:
  processDefinition - parsed process definitionas Document.
throws:
  JDOMException - If an error occurs.
throws:
  ImportException - if the XPDL is not correct.



DefaultProcessDefinition
public DefaultProcessDefinition(String xpdl) throws IOException, ImportException(Code)
Construct a new DefaultProcessDefinition from an XPDL Document.

This constructor assumes that XPDL has been verified before, i.e. it parses the process definition with verification turned off.
Parameters:
  xpdl - String representation of the process definition
throws:
  IOException - If an error occurs.
throws:
  ImportException - if the XPDL is not correct.





Method Detail
applicationById
public Application applicationById(String id) throws InvalidIdException(Code)
Find out the dedicated application using the given id.
Parameters:
  id - the given id of the application to be found.
throws:
  InvalidIdException - If no such application be found the dedicated application.



applications
public Collection applications()(Code)
Extracts all the applications definition in the package and in this process and use it to generate a collection of ApplicationDefinition. a collection of ApplicationDefinition.



auditEventSelection
public int auditEventSelection()(Code)
This method the audit event filter for instances of this process definition. the audit event filter in effect.



cleanupMode
public 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. DefaultProcessDefinition.REMOVE_AUTOMATIC REMOVE_AUTOMATIC . the cleanup mode.



contextSignature
public ProcessDataInfo contextSignature()(Code)
Returns the meta information that describes the context for this kind of process. Equivalent to calling de.danet.an.workflow.localcoreapi.WfProcessMgrLocal.contextSignaturecontextSignature on a process manager for this kind of process. the process meta information.
See Also:   de.danet.an.workflow.localcoreapi.WfProcessMgrLocal.contextSignature



formalParameters
public FormalParameter[] formalParameters()(Code)
Returns the meta information that describes the formal parameters for this kind of process. the process meta information.



mgrName
public String mgrName()(Code)
Return the name of the process manager. name of the process manager as String.



packageId
public String packageId()(Code)
Return the id of the package. id of the package in String.



packageName
public String packageName()(Code)
Return the name of the package. name of the package in String.



participantById
public 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
public Collection participants()(Code)
Gets the participants for this process. a collection of ParticipantParticipants for this process.



processHeader
public ProcessHeaderData processHeader()(Code)
Return the process header data of this process definition. the process header data of this process definition.



processId
public String processId()(Code)
Return the id of the process. id of the process in String.



processName
public String processName()(Code)
Return the name of the process. name of the process in String.



removeClosedProcess
public 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 be removed, otherwise false.



resultSignature
public ProcessDataInfo resultSignature()(Code)
Returns the meta information that describes the result for this kind of process. Equivalent to calling de.danet.an.workflow.localcoreapi.WfProcessMgrLocal.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.localcoreapi.WfProcessMgrLocal.resultSignature




storeAuditEvents
public 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
public Document toJDOM()(Code)
Return the process definition presented as JDOM document. the process definition presented as JDOM document.



toSAX
public SAXEventBuffer toSAX()(Code)
Return the process definition as SAX event buffer. the process definition



toXPDL
public String toXPDL()(Code)
Use XMLOutputter to transfer process definition presented as JDOM Tree in String. the process definition in String.



version
public String version()(Code)
Return the version of the process manager. version of the process manager as String.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

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