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


de.danet.an.workflow.localapi.ProcessDefinitionDirectoryLocal

All known Subclasses:   de.danet.an.workflow.domain.AbstractProcessDefinitionDirectory,
ProcessDefinitionDirectoryLocal
public interface ProcessDefinitionDirectoryLocal extends WfObjectLocal(Code)
This interface defines a process definiton directory.




Method Summary
 WfProcessLocalcreateProcessLocal(String packageId, String processId, WfRequester requester)
     Create a process of the given type with the given requester.
Parameters:
  packageId - Id attribute of the process package.
Parameters:
  processId - Id attribute of the process.
Parameters:
  requester - the requester.
 ListimportProcessDefinitions(String processDefinitions)
     This operation method import new process definitions from an XPDL description.
 ListimportProcessDefinitions(byte[] processDefinitions)
     This operation method import new process definitions from an XPDL description. Note that importing an XPDL description automatically removes any existing process definitions that have the same package id as the imported package.
Parameters:
  processDefinitions - byte array resulting from anInputStream that describes the process definitions.
 booleanisEnabled(String packageId, String processId)
     This operation method returns true if the process definition with the given ids is enabled.
Parameters:
  packageId - Id attribute of the process package.
Parameters:
  processId - Id attribute of the process.
 ProcessDefinitionlookupProcessDefinition(String packageId, String processId)
     This method delivers the process definition for the given ids.
 booleanprocessDefinitionExists(String packageId, String processId)
     This method checks if a process definiton with the given ids exists.
Parameters:
  packageId - Id attribute of the process package.
Parameters:
  processId - Id attribute of the process.
 CollectionprocessDefinitions()
     This operation method delivers a collection of all defined process definitions.
 voidremoveProcessDefinition(String packageId, String processId)
     This operation method removes a process definition with the given ids from the database.
 voidsetEnabled(String packageId, String processId, boolean enabled)
     This operation method set the process definition with the given ids as enabled or disabled.



Method Detail
createProcessLocal
WfProcessLocal createProcessLocal(String packageId, String processId, WfRequester requester) throws NotEnabledException, InvalidRequesterException, RequesterRequiredException, InvalidKeyException(Code)
Create a process of the given type with the given requester.
Parameters:
  packageId - Id attribute of the process package.
Parameters:
  processId - Id attribute of the process.
Parameters:
  requester - the requester. the new process.
throws:
  NotEnabledException - if processes of this type may not be created.
throws:
  InvalidRequesterException - if the requester is not valid.
throws:
  RequesterRequiredException - if no requester is passed (i.e. parameter is null.
throws:
  InvalidKeyException - if no process definition with the given ids exists.



importProcessDefinitions
List importProcessDefinitions(String processDefinitions) throws ImportException(Code)
This operation method import new process definitions from an XPDL description.

Note that importing an XPDL description automatically removes any existing process definitions that have the same package id as the imported package.
Parameters:
  processDefinitions - document describing the process definitions. list of prioritized message de.danet.an.workflow.api.PrioritizedMessage PrioritizedMessage. This list only includesmessages of priority INFO or WARN. If any (fatal) error has occured, ande.danet.an.workflow.api.ImportExceptionImportExceptionwill be thrown and the errormessage can be taken from there.
throws:
  ImportException - if the input is not a correct.




importProcessDefinitions
List importProcessDefinitions(byte[] processDefinitions) throws ImportException(Code)
This operation method import new process definitions from an XPDL description. Note that importing an XPDL description automatically removes any existing process definitions that have the same package id as the imported package.
Parameters:
  processDefinitions - byte array resulting from anInputStream that describes the process definitions. list of prioritized message de.danet.an.workflow.api.PrioritizedMessage PrioritizedMessage. This list only includesmessages of priority INFO or WARN. If any (fatal) error has occured, ande.danet.an.workflow.api.ImportExceptionImportExceptionwill be thrown and the errormessage can be taken from there.
throws:
  ImportException - if the input is not a correct.



isEnabled
boolean isEnabled(String packageId, String processId) throws InvalidKeyException(Code)
This operation method returns true if the process definition with the given ids is enabled.
Parameters:
  packageId - Id attribute of the process package.
Parameters:
  processId - Id attribute of the process. if the process definition is enabled.
throws:
  InvalidKeyException - if no process definition withthe given ids exists.



lookupProcessDefinition
ProcessDefinition lookupProcessDefinition(String packageId, String processId) throws InvalidKeyException(Code)
This method delivers the process definition for the given ids. If no process definition with the ids exist, it throws an IllegalArgumentException.
Parameters:
  packageId - Id attribute of the process package.
Parameters:
  processId - Id attribute of the process. the found ProcessDefinition object.
throws:
  InvalidKeyException - if no process definition withthe given ids exists.



processDefinitionExists
boolean processDefinitionExists(String packageId, String processId)(Code)
This method checks if a process definiton with the given ids exists.
Parameters:
  packageId - Id attribute of the process package.
Parameters:
  processId - Id attribute of the process. true if a process definition with the givenid exists.



processDefinitions
Collection processDefinitions()(Code)
This operation method delivers a collection of all defined process definitions. The elements of the list are of the type ProcessDefinition ProcessDefinition collection



removeProcessDefinition
void removeProcessDefinition(String packageId, String processId) throws InvalidKeyException(Code)
This operation method removes a process definition with the given ids from the database. If called for a definition that does not exist, it does nothing.
Parameters:
  packageId - Id attribute of the process package.
Parameters:
  processId - Id attribute of the process.
throws:
  InvalidKeyException - if packageId or processId are(formally) invalid ids.



setEnabled
void setEnabled(String packageId, String processId, boolean enabled) throws InvalidKeyException(Code)
This operation method set the process definition with the given ids as enabled or disabled.
Parameters:
  packageId - Id attribute of the process package.
Parameters:
  processId - Id attribute of the process.
Parameters:
  enabled - enable the process definition or not.
throws:
  InvalidKeyException - if no process definition withthe given ids exists.



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