Java Doc for WMClient.java in  » Workflow-Engines » obe-1.0 » org » obe » client » 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 » obe 1.0 » org.obe.client.api 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.obe.client.api.WMClient

All known Subclasses:   org.obe.client.api.base.AbstractJAASClient,  org.obe.client.api.xmlrpc.WMXmlRpcClient,
WMClient
public interface WMClient extends WAPI2(Code)
WAPI2 extensions for process definition and instance management. The process repository functions provide for pluggable process definition language support; at present only WMClient.XPDL is supported.

The WAPI superinterface provides many methods that accept a WMFilter filter object to restrict the scope of the operation. The filter refers to attributes of process instance, activity instance, and work item as appropriate. In OBE, these system attributes are described by interfaces in the org.obe.client.api.model package.
author:
   Adrian Price
See Also:   WMClientFactory
See Also:   ProcessInstanceAttributes
See Also:   ActivityInstanceAttributes
See Also:   WorkItemAttributes



Field Summary
 StringBPEL4WS
     IBM/Microsoft/BEA's Business Process Execution Language for Web Services.
 StringBPML
     BPMI's Business Process Modeling Language.
 StringWPDL
     WfMC's Workflow Process Definition Language.
 StringWSFL
     IBM's Web Services Flow Language.
 StringWSPL
     BPMI's Web Services Process Language.
 StringXLANG
     Microsoft's BizTalk Process Definition Language.
 StringXPDL
     WfMC's XML Process Definition Language.


Method Summary
 StringcreatePackage(XPDLPackage pkg)
     Creates a package using the supplied content.
Parameters:
  pkg - Package definition.
 StringcreatePackage(String content, String contentType)
     Creates a package using the supplied content in a specified format.
Parameters:
  content - Package definition in specified format.
Parameters:
  contentType - The MIME content type of the package definition, in asupported format.
 StringcreateProcessInstanceVersioned(String name, String processInstanceName)
     Creates a new instance of the named workflow process.
 intdeleteAuditEntries(WMFilter filter)
     Deletes audit entries matching a user-supplied criterion.
Parameters:
  filter - Filter criterion.
 voiddeletePackage(String packageId)
     Permanently deletes the specified process definition.
 voiddeleteProcessInstance(String processInstanceId)
     Deletes a process instance from persistent storage.
 voiddeleteProcessInstances(String processDefinitionId, WMFilter filter)
     Deletes a process instance from persistent storage.
 ToolInvocation[]executeWorkItem(String procInstId, String workItemId)
     Returns information to enable a client to invoke a tool.
 XPDLPackagegetPackage(String packageId)
     Retrieves an XPDL package.
Parameters:
  packageId - The package ID.
 StringgetPackageContent(String packageId, String contentType)
     Retrieves the content of the a package in the specified format.
Parameters:
  packageId - The package ID.
Parameters:
  contentType - The MIME content type of the package definition, mustbe a supported format.
 StringgetProtocol()
     Returns the protocol in use by this client instance.
 WMAAuditEntryIteratorlistAuditEntries(WMFilter filter)
     Finds audit entries matching a user-supplied criterion.
Parameters:
  filter - Filter criterion.
 voidsetPackageContent(String packageId, String content, String contentType)
     Sets the content of the specified package.
 voidtoolFinished(String procInstId, String workItemId, int appStatus, Parameter[] parms)
     Informs the workflow engine that a tool has finished executing.
 voidtoolStarted(String procInstId, String workItemId)
     Informs the workflow engine that a tool is being started.
 voidupdatePackage(XPDLPackage pkg)
     Updates the specified process definition package.

Field Detail
BPEL4WS
String BPEL4WS(Code)
IBM/Microsoft/BEA's Business Process Execution Language for Web Services.



BPML
String BPML(Code)
BPMI's Business Process Modeling Language.



WPDL
String WPDL(Code)
WfMC's Workflow Process Definition Language.



WSFL
String WSFL(Code)
IBM's Web Services Flow Language.



WSPL
String WSPL(Code)
BPMI's Web Services Process Language.



XLANG
String XLANG(Code)
Microsoft's BizTalk Process Definition Language.



XPDL
String XPDL(Code)
WfMC's XML Process Definition Language.





Method Detail
createPackage
String createPackage(XPDLPackage pkg) throws WMWorkflowException(Code)
Creates a package using the supplied content.
Parameters:
  pkg - Package definition. The ID of the new package.
throws:
  WMWorkflowException -



createPackage
String createPackage(String content, String contentType) throws WMWorkflowException(Code)
Creates a package using the supplied content in a specified format.
Parameters:
  content - Package definition in specified format.
Parameters:
  contentType - The MIME content type of the package definition, in asupported format. The ID of the new package.
throws:
  WMWorkflowException -



createProcessInstanceVersioned
String createProcessInstanceVersioned(String name, String processInstanceName) throws WMWorkflowException(Code)
Creates a new instance of the named workflow process. The system instantiates the 'most valid' version of the named process, based on the versioning metadata in the ProcessHeader (ValidFrom, ValidTo).
Parameters:
  name - The process definition name.
Parameters:
  processInstanceName - The name of the process instance. The process instance id.
throws:
  WMInvalidProcessDefinitionException - if the process definitiondoes not exist, is disabled, under revision, or has no valid versions asdetermined for the current system time.
throws:
  WMWorkflowException - Workflow client exception



deleteAuditEntries
int deleteAuditEntries(WMFilter filter) throws WMWorkflowException(Code)
Deletes audit entries matching a user-supplied criterion.
Parameters:
  filter - Filter criterion. The count of audit entries deleted.
throws:
  WMWorkflowException -



deletePackage
void deletePackage(String packageId) throws WMWorkflowException(Code)
Permanently deletes the specified process definition.
Parameters:
  packageId - The process definition ID.
throws:
  WMWorkflowException -



deleteProcessInstance
void deleteProcessInstance(String processInstanceId) throws WMWorkflowException(Code)
Deletes a process instance from persistent storage.
Parameters:
  processInstanceId - The ID of the process instance to delete.
throws:
  WMWorkflowException -



deleteProcessInstances
void deleteProcessInstances(String processDefinitionId, WMFilter filter) throws WMWorkflowException(Code)
Deletes a process instance from persistent storage.
Parameters:
  processDefinitionId - The ID of the process definition for whichto delete instances.
Parameters:
  filter - A filter specification; can be null.
throws:
  WMWorkflowException -



executeWorkItem
ToolInvocation[] executeWorkItem(String procInstId, String workItemId) throws WMWorkflowException(Code)
Returns information to enable a client to invoke a tool. The returned ToolInvocation ToolInvocations can either be used directly to invoke the Application (in the case of a thick client), or can be used to render a response document (in the case of a thin client such as a web-based worklist handler).
Parameters:
  procInstId - The process instance ID.
Parameters:
  workItemId - The work item ID. Tool invocation information.
throws:
  WMWorkflowException -



getPackage
XPDLPackage getPackage(String packageId) throws WMWorkflowException(Code)
Retrieves an XPDL package.
Parameters:
  packageId - The package ID. The XPDL package.
throws:
  WMWorkflowException -



getPackageContent
String getPackageContent(String packageId, String contentType) throws WMWorkflowException(Code)
Retrieves the content of the a package in the specified format.
Parameters:
  packageId - The package ID.
Parameters:
  contentType - The MIME content type of the package definition, mustbe a supported format. Package definition in XPDL format.
throws:
  WMWorkflowException -



getProtocol
String getProtocol()(Code)
Returns the protocol in use by this client instance. The client protocol.



listAuditEntries
WMAAuditEntryIterator listAuditEntries(WMFilter filter) throws WMWorkflowException(Code)
Finds audit entries matching a user-supplied criterion.
Parameters:
  filter - Filter criterion. The matching audit entries.
throws:
  WMWorkflowException -



setPackageContent
void setPackageContent(String packageId, String content, String contentType) throws WMWorkflowException(Code)
Sets the content of the specified package.
Parameters:
  packageId - The ID of the package to update.
Parameters:
  content - Package definition in a supported format.
Parameters:
  contentType - The MIME content type of the package definition, mustbe a supported format.
throws:
  WMWorkflowException -



toolFinished
void toolFinished(String procInstId, String workItemId, int appStatus, Parameter[] parms) throws WMWorkflowException(Code)
Informs the workflow engine that a tool has finished executing.
Parameters:
  procInstId - The process instance ID.
Parameters:
  workItemId - The work item ID.
Parameters:
  appStatus - The application exit status.
Parameters:
  parms - Parameters containing output results.
throws:
  WMWorkflowException -



toolStarted
void toolStarted(String procInstId, String workItemId) throws WMWorkflowException(Code)
Informs the workflow engine that a tool is being started.
Parameters:
  procInstId - The process instance ID.
Parameters:
  workItemId - The work item ID.
throws:
  WMWorkflowException -



updatePackage
void updatePackage(XPDLPackage pkg) throws WMWorkflowException(Code)
Updates the specified process definition package.
Parameters:
  pkg - The process definition package.
throws:
  WMWorkflowException -



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