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


java.lang.Object
   org.obe.client.api.xmlrpc.WMXmlRpcClient

WMXmlRpcClient
final public class WMXmlRpcClient implements WMClient(Code)
Class used to connect to and communicate with a workflow engine via XML-RPC.

This interface is based on the WfMC's Interface 2 Client API specification. Some of the methods have been modified from the original specification to fit within the normal design of Java applications. For instance, the WfMC specification functions always return an error object (even for success) and uses out parameters to return values. This interface returns the value and throws an exception when an error occurs. If no error occurs then an exception is not thrown.
author:
   Anthony Eden
author:
   Adrian Price




Constructor Summary
public  WMXmlRpcClient()
    

Method Summary
public  voidabortProcessInstance(String processInstanceId)
    
public  voidabortProcessInstances(String processDefinitionId, WMFilter filter)
    
public  voidaddEntityAttributeValue(WMEntity entityHandle, String attributeName, int attributeType, String attributeValue)
    
public  voidaddProcessDataAttribute(String procModelId, String procDataId, String attributeName, int attributeType, int attributeLength, String attributeValue)
    
public  WMEntityaddTransition(String procModelId, String sourceActDefId, String targetActDefId)
    
public  voidassignActivityInstanceAttribute(String processInstanceId, String activityInstanceId, String attributeName, Object attributeValue)
    
public  voidassignActivityInstancesAttribute(String processDefinitionId, String activityDefinitionId, WMFilter filter, String attributeName, Object attributeValue)
    
public  voidassignEntityAttributeValue(WMEntity entityHandle, String attributeName, int attributeType, String attributeValue)
    
public  voidassignProcessInstanceAttribute(String processInstanceId, String attributeName, Object attributeValue)
    
public  voidassignProcessInstancesAttribute(String processDefinitionId, WMFilter filter, String attributeName, Object attributeValue)
    
public  voidassignWorkItemAttribute(String processInstanceId, String workItemId, String attributeName, Object attributeValue)
    
public  voidchangeActivityInstanceState(String processInstanceId, String activityInstanceId, WMActivityInstanceState newState)
    
public  voidchangeActivityInstancesState(String processDefinitionId, String activityDefinitionId, WMFilter filter, WMActivityInstanceState newState)
    
public  voidchangeProcessDefinitionState(String processDefinitionId, WMProcessDefinitionState newState)
    
public  voidchangeProcessInstanceState(String processInstanceId, WMProcessInstanceState newState)
    
public  voidchangeProcessInstancesState(String processDefinitionId, WMFilter filter, WMProcessInstanceState newState)
    
public  voidchangeWorkItemState(String processInstanceId, String workItemId, WMWorkItemState newState)
    
public  voidclearEntityAttributeList(WMEntity entityHandle, String attributeName)
    
public  voidcloseProcessDefinition(WMEntity procModelHandle)
    
public  voidcloseWorkflowDefinition(WMEntity workflowDefinitionHandle)
    
public  voidcompleteWorkItem(String processInstanceId, String workItemId)
    
public  voidconnect(WMConnectInfo connectInfo)
    
public  WMEntitycreateEntity(WMEntity scopingEntity, String entityClass, String entityName)
    
public  StringcreatePackage(XPDLPackage pkg)
    
public  StringcreatePackage(String content, String contentType)
    
public  StringcreatePackage()
    
public  StringcreateProcessInstance(String processDefinitionId, String processInstanceName)
    
public  StringcreateProcessInstanceVersioned(String name, String processInstanceName)
    
public  intdeleteAuditEntries(WMFilter filter)
    
public  voiddeleteEntity(WMEntity scopingEntity, String entityId)
    
public  voiddeletePackage(String processDefinitionId)
    
public  voiddeleteProcessDefinition(String processDefinitionId)
    
public  voiddeleteProcessInstance(String processInstanceId)
    
public  voiddeleteProcessInstances(String processDefinitionId, WMFilter filter)
    
public  voiddisconnect()
    
public  ToolInvocation[]executeWorkItem(String procInstId, String workItemId)
    
protected  HashtablefilterToWire(WMFilter filter)
    
public  WMActivityInstancegetActivityInstance(String processInstanceId, String activityInstanceId)
    
public  WMAttributegetActivityInstanceAttributeValue(String processInstanceId, String activityInstanceId, String attributeName)
    
public  WMAttributegetEntityAttributeValue(WMEntity scopingEntity, WMEntity entityHandle, String attributeName)
    
protected  intgetNextQueryId()
    
public  XPDLPackagegetPackage(String packageId)
    
public  StringgetPackageContent(String packageId, String contentType)
    
public  WMProcessInstancegetProcessInstance(String processInstanceId)
    
public  WMAttributegetProcessInstanceAttributeValue(String processInstanceId, String attributeName)
    
public  StringgetProtocol()
    
public  WMWorkItemgetWorkItem(String processInstanceId, String workItemId)
    
public  WMAttributegetWorkItemAttributeValue(String processInstanceId, String workItemId, String attributeName)
    
protected  Hashtableinvoke(String methodName, Vector params)
    
public  voidinvokeApplication(int toolAgentHandle, String applicationName, String procInstId, String workItemId, Object[] parameters, int appMode)
    
public  booleanisActivityAdminProfileSupported()
    
public  booleanisActivityControlStatusProfileSupported()
    
public  booleanisAuditRecordProfileSupported()
    
public  booleanisEntityHandlerProfileSupported()
    
public  booleanisProcessAdminProfileSupported()
    
public  booleanisProcessControlStatusProfileSupported()
    
public  booleanisProcessDefinitionProfileSupported()
    
public  booleanisToolAgentProfileSupported()
    
public  booleanisWorkListHandlerProfileSupported()
    
public  WMAttributeIteratorlistActivityInstanceAttributes(String processInstanceId, String activityInstanceId, WMFilter filter, boolean countFlag)
    
public  WMActivityInstanceStateIteratorlistActivityInstanceStates(String processInstanceId, String activityInstanceId, WMFilter filter, boolean countFlag)
    
public  WMActivityInstanceIteratorlistActivityInstances(WMFilter filter, boolean countFlag)
    
public  WMAAuditEntryIteratorlistAuditEntries(WMFilter filter)
    
public  WMEntityIteratorlistEntities(WMEntity scopingEntity, WMFilter filter, boolean countFlag)
    
public  WMAttributeIteratorlistEntityAttributeValues(WMEntity scopingEntity, String entityHandle, String attributeName)
    
public  WMAttributeIteratorlistEntityAttributes(WMEntity scopingEntity, String entityId, WMFilter filter, boolean countFlag)
    
public  WMProcessDefinitionStateIteratorlistProcessDefinitionStates(String procDefId, WMFilter filter, boolean countFlag)
    
public  WMProcessDefinitionIteratorlistProcessDefinitions(WMFilter filter, boolean countFlag)
    
public  WMAttributeIteratorlistProcessInstanceAttributes(String processInstanceId, WMFilter filter, boolean countFlag)
    
public  WMProcessInstanceStateIteratorlistProcessInstanceStates(String processInstanceId, WMFilter filter, boolean countFlag)
    
public  WMProcessInstanceIteratorlistProcessInstances(WMFilter filter, boolean countFlag)
    
public  WMAttributeIteratorlistWorkItemAttributes(String processInstanceId, String workItemId, WMFilter filter, boolean countFlag)
    
public  WMWorkItemStateIteratorlistWorkItemStates(String processInstanceId, String workItemId, WMFilter filter, boolean countFlag)
    
public  WMWorkItemIteratorlistWorkItems(WMFilter filter, boolean countFlag)
    
protected  Object[]openList(WMFilter filter, boolean countFlag, String method)
    
public  WMEntityopenProcessDefinition(String procDefId)
    
public  WMEntityopenWorkflowDefinition(String name, String scope)
    
public  voidreassignWorkItem(String sourceUser, String targetUser, String processInstanceId, String workItemId)
    
public  voidremoveProcessDataAttribute(String procModelId, String procDataId, String attributeName)
    
public  WMAttribute[]requestAppStatus(int toolAgentHandle, String procInstId, String workItemId, int[] status)
    
public  voidsetPackageContent(String packageId, String content, String contentType)
    
public  StringstartProcess(String processInstanceId)
    
public  voidterminateApp(int toolAgentHandle, String procInstId, String workItemId)
    
public  voidterminateProcessInstance(String processInstanceId)
    
public  voidterminateProcessInstances(String processDefinitionId, WMFilter filter)
    
public  voidtoolFinished(String procInstId, String workItemId, int appStatus, Parameter[] parms)
    
public  voidtoolStarted(String procInstId, String workItemId)
    
public  voidupdatePackage(XPDLPackage pkg)
    


Constructor Detail
WMXmlRpcClient
public WMXmlRpcClient()(Code)




Method Detail
abortProcessInstance
public void abortProcessInstance(String processInstanceId) throws WMWorkflowException(Code)



abortProcessInstances
public void abortProcessInstances(String processDefinitionId, WMFilter filter) throws WMWorkflowException(Code)



addEntityAttributeValue
public void addEntityAttributeValue(WMEntity entityHandle, String attributeName, int attributeType, String attributeValue) throws WMWorkflowException(Code)



addProcessDataAttribute
public void addProcessDataAttribute(String procModelId, String procDataId, String attributeName, int attributeType, int attributeLength, String attributeValue) throws WMWorkflowException(Code)



addTransition
public WMEntity addTransition(String procModelId, String sourceActDefId, String targetActDefId) throws WMWorkflowException(Code)



assignActivityInstanceAttribute
public void assignActivityInstanceAttribute(String processInstanceId, String activityInstanceId, String attributeName, Object attributeValue) throws WMWorkflowException(Code)



assignActivityInstancesAttribute
public void assignActivityInstancesAttribute(String processDefinitionId, String activityDefinitionId, WMFilter filter, String attributeName, Object attributeValue) throws WMWorkflowException(Code)



assignEntityAttributeValue
public void assignEntityAttributeValue(WMEntity entityHandle, String attributeName, int attributeType, String attributeValue) throws WMWorkflowException(Code)



assignProcessInstanceAttribute
public void assignProcessInstanceAttribute(String processInstanceId, String attributeName, Object attributeValue) throws WMWorkflowException(Code)



assignProcessInstancesAttribute
public void assignProcessInstancesAttribute(String processDefinitionId, WMFilter filter, String attributeName, Object attributeValue) throws WMWorkflowException(Code)



assignWorkItemAttribute
public void assignWorkItemAttribute(String processInstanceId, String workItemId, String attributeName, Object attributeValue) throws WMWorkflowException(Code)



changeActivityInstanceState
public void changeActivityInstanceState(String processInstanceId, String activityInstanceId, WMActivityInstanceState newState) throws WMWorkflowException(Code)



changeActivityInstancesState
public void changeActivityInstancesState(String processDefinitionId, String activityDefinitionId, WMFilter filter, WMActivityInstanceState newState) throws WMWorkflowException(Code)



changeProcessDefinitionState
public void changeProcessDefinitionState(String processDefinitionId, WMProcessDefinitionState newState) throws WMWorkflowException(Code)



changeProcessInstanceState
public void changeProcessInstanceState(String processInstanceId, WMProcessInstanceState newState) throws WMWorkflowException(Code)



changeProcessInstancesState
public void changeProcessInstancesState(String processDefinitionId, WMFilter filter, WMProcessInstanceState newState) throws WMWorkflowException(Code)



changeWorkItemState
public void changeWorkItemState(String processInstanceId, String workItemId, WMWorkItemState newState) throws WMWorkflowException(Code)



clearEntityAttributeList
public void clearEntityAttributeList(WMEntity entityHandle, String attributeName) throws WMWorkflowException(Code)



closeProcessDefinition
public void closeProcessDefinition(WMEntity procModelHandle) throws WMWorkflowException(Code)



closeWorkflowDefinition
public void closeWorkflowDefinition(WMEntity workflowDefinitionHandle) throws WMWorkflowException(Code)



completeWorkItem
public void completeWorkItem(String processInstanceId, String workItemId) throws WMWorkflowException(Code)



connect
public void connect(WMConnectInfo connectInfo) throws WMWorkflowException(Code)



createEntity
public WMEntity createEntity(WMEntity scopingEntity, String entityClass, String entityName) throws WMWorkflowException(Code)



createPackage
public String createPackage(XPDLPackage pkg) throws WMWorkflowException(Code)



createPackage
public String createPackage(String content, String contentType) throws WMWorkflowException(Code)



createPackage
public String createPackage() throws WMWorkflowException(Code)



createProcessInstance
public String createProcessInstance(String processDefinitionId, String processInstanceName) throws WMWorkflowException(Code)



createProcessInstanceVersioned
public String createProcessInstanceVersioned(String name, String processInstanceName) throws WMWorkflowException(Code)



deleteAuditEntries
public int deleteAuditEntries(WMFilter filter) throws WMWorkflowException(Code)



deleteEntity
public void deleteEntity(WMEntity scopingEntity, String entityId) throws WMWorkflowException(Code)



deletePackage
public void deletePackage(String processDefinitionId) throws WMWorkflowException(Code)



deleteProcessDefinition
public void deleteProcessDefinition(String processDefinitionId) throws WMWorkflowException(Code)



deleteProcessInstance
public void deleteProcessInstance(String processInstanceId) throws WMWorkflowException(Code)



deleteProcessInstances
public void deleteProcessInstances(String processDefinitionId, WMFilter filter) throws WMWorkflowException(Code)



disconnect
public void disconnect()(Code)



executeWorkItem
public ToolInvocation[] executeWorkItem(String procInstId, String workItemId) throws WMWorkflowException(Code)



filterToWire
protected Hashtable filterToWire(WMFilter filter)(Code)



getActivityInstance
public WMActivityInstance getActivityInstance(String processInstanceId, String activityInstanceId) throws WMWorkflowException(Code)



getActivityInstanceAttributeValue
public WMAttribute getActivityInstanceAttributeValue(String processInstanceId, String activityInstanceId, String attributeName) throws WMWorkflowException(Code)



getEntityAttributeValue
public WMAttribute getEntityAttributeValue(WMEntity scopingEntity, WMEntity entityHandle, String attributeName) throws WMWorkflowException(Code)



getNextQueryId
protected int getNextQueryId()(Code)



getPackage
public XPDLPackage getPackage(String packageId) throws WMWorkflowException(Code)



getPackageContent
public String getPackageContent(String packageId, String contentType) throws WMWorkflowException(Code)



getProcessInstance
public WMProcessInstance getProcessInstance(String processInstanceId) throws WMWorkflowException(Code)



getProcessInstanceAttributeValue
public WMAttribute getProcessInstanceAttributeValue(String processInstanceId, String attributeName) throws WMWorkflowException(Code)



getProtocol
public String getProtocol()(Code)



getWorkItem
public WMWorkItem getWorkItem(String processInstanceId, String workItemId) throws WMWorkflowException(Code)



getWorkItemAttributeValue
public WMAttribute getWorkItemAttributeValue(String processInstanceId, String workItemId, String attributeName) throws WMWorkflowException(Code)



invoke
protected Hashtable invoke(String methodName, Vector params) throws WMWorkflowException(Code)



invokeApplication
public void invokeApplication(int toolAgentHandle, String applicationName, String procInstId, String workItemId, Object[] parameters, int appMode) throws WMWorkflowException(Code)



isActivityAdminProfileSupported
public boolean isActivityAdminProfileSupported()(Code)



isActivityControlStatusProfileSupported
public boolean isActivityControlStatusProfileSupported()(Code)



isAuditRecordProfileSupported
public boolean isAuditRecordProfileSupported()(Code)



isEntityHandlerProfileSupported
public boolean isEntityHandlerProfileSupported()(Code)



isProcessAdminProfileSupported
public boolean isProcessAdminProfileSupported()(Code)



isProcessControlStatusProfileSupported
public boolean isProcessControlStatusProfileSupported()(Code)



isProcessDefinitionProfileSupported
public boolean isProcessDefinitionProfileSupported()(Code)



isToolAgentProfileSupported
public boolean isToolAgentProfileSupported()(Code)



isWorkListHandlerProfileSupported
public boolean isWorkListHandlerProfileSupported()(Code)



listActivityInstanceAttributes
public WMAttributeIterator listActivityInstanceAttributes(String processInstanceId, String activityInstanceId, WMFilter filter, boolean countFlag) throws WMWorkflowException(Code)



listActivityInstanceStates
public WMActivityInstanceStateIterator listActivityInstanceStates(String processInstanceId, String activityInstanceId, WMFilter filter, boolean countFlag) throws WMWorkflowException(Code)



listActivityInstances
public WMActivityInstanceIterator listActivityInstances(WMFilter filter, boolean countFlag) throws WMWorkflowException(Code)



listAuditEntries
public WMAAuditEntryIterator listAuditEntries(WMFilter filter) throws WMWorkflowException(Code)



listEntities
public WMEntityIterator listEntities(WMEntity scopingEntity, WMFilter filter, boolean countFlag) throws WMWorkflowException(Code)



listEntityAttributeValues
public WMAttributeIterator listEntityAttributeValues(WMEntity scopingEntity, String entityHandle, String attributeName) throws WMWorkflowException(Code)



listEntityAttributes
public WMAttributeIterator listEntityAttributes(WMEntity scopingEntity, String entityId, WMFilter filter, boolean countFlag) throws WMWorkflowException(Code)



listProcessDefinitionStates
public WMProcessDefinitionStateIterator listProcessDefinitionStates(String procDefId, WMFilter filter, boolean countFlag) throws WMWorkflowException(Code)



listProcessDefinitions
public WMProcessDefinitionIterator listProcessDefinitions(WMFilter filter, boolean countFlag) throws WMWorkflowException(Code)



listProcessInstanceAttributes
public WMAttributeIterator listProcessInstanceAttributes(String processInstanceId, WMFilter filter, boolean countFlag) throws WMWorkflowException(Code)



listProcessInstanceStates
public WMProcessInstanceStateIterator listProcessInstanceStates(String processInstanceId, WMFilter filter, boolean countFlag) throws WMWorkflowException(Code)



listProcessInstances
public WMProcessInstanceIterator listProcessInstances(WMFilter filter, boolean countFlag) throws WMWorkflowException(Code)



listWorkItemAttributes
public WMAttributeIterator listWorkItemAttributes(String processInstanceId, String workItemId, WMFilter filter, boolean countFlag) throws WMWorkflowException(Code)



listWorkItemStates
public WMWorkItemStateIterator listWorkItemStates(String processInstanceId, String workItemId, WMFilter filter, boolean countFlag) throws WMWorkflowException(Code)



listWorkItems
public WMWorkItemIterator listWorkItems(WMFilter filter, boolean countFlag) throws WMWorkflowException(Code)



openList
protected Object[] openList(WMFilter filter, boolean countFlag, String method) throws WMWorkflowException(Code)



openProcessDefinition
public WMEntity openProcessDefinition(String procDefId) throws WMWorkflowException(Code)



openWorkflowDefinition
public WMEntity openWorkflowDefinition(String name, String scope) throws WMWorkflowException(Code)



reassignWorkItem
public void reassignWorkItem(String sourceUser, String targetUser, String processInstanceId, String workItemId) throws WMWorkflowException(Code)



removeProcessDataAttribute
public void removeProcessDataAttribute(String procModelId, String procDataId, String attributeName) throws WMWorkflowException(Code)



requestAppStatus
public WMAttribute[] requestAppStatus(int toolAgentHandle, String procInstId, String workItemId, int[] status) throws WMWorkflowException(Code)



setPackageContent
public void setPackageContent(String packageId, String content, String contentType) throws WMWorkflowException(Code)



startProcess
public String startProcess(String processInstanceId) throws WMWorkflowException(Code)



terminateApp
public void terminateApp(int toolAgentHandle, String procInstId, String workItemId) throws WMWorkflowException(Code)



terminateProcessInstance
public void terminateProcessInstance(String processInstanceId) throws WMWorkflowException(Code)



terminateProcessInstances
public void terminateProcessInstances(String processDefinitionId, WMFilter filter) throws WMWorkflowException(Code)



toolFinished
public void toolFinished(String procInstId, String workItemId, int appStatus, Parameter[] parms) throws WMWorkflowException(Code)



toolStarted
public void toolStarted(String procInstId, String workItemId) throws WMWorkflowException(Code)



updatePackage
public void updatePackage(XPDLPackage pkg) throws WMWorkflowException(Code)



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.