| 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 |
Method Summary | |
public void | abortProcessInstance(String processInstanceId) | public void | abortProcessInstances(String processDefinitionId, WMFilter filter) | public void | addEntityAttributeValue(WMEntity entityHandle, String attributeName, int attributeType, String attributeValue) | public void | addProcessDataAttribute(String procModelId, String procDataId, String attributeName, int attributeType, int attributeLength, String attributeValue) | public WMEntity | addTransition(String procModelId, String sourceActDefId, String targetActDefId) | public void | assignActivityInstanceAttribute(String processInstanceId, String activityInstanceId, String attributeName, Object attributeValue) | public void | assignActivityInstancesAttribute(String processDefinitionId, String activityDefinitionId, WMFilter filter, String attributeName, Object attributeValue) | public void | assignEntityAttributeValue(WMEntity entityHandle, String attributeName, int attributeType, String attributeValue) | public void | assignProcessInstanceAttribute(String processInstanceId, String attributeName, Object attributeValue) | public void | assignProcessInstancesAttribute(String processDefinitionId, WMFilter filter, String attributeName, Object attributeValue) | public void | assignWorkItemAttribute(String processInstanceId, String workItemId, String attributeName, Object attributeValue) | public void | changeActivityInstanceState(String processInstanceId, String activityInstanceId, WMActivityInstanceState newState) | public void | changeActivityInstancesState(String processDefinitionId, String activityDefinitionId, WMFilter filter, WMActivityInstanceState newState) | public void | changeProcessDefinitionState(String processDefinitionId, WMProcessDefinitionState newState) | public void | changeProcessInstanceState(String processInstanceId, WMProcessInstanceState newState) | public void | changeProcessInstancesState(String processDefinitionId, WMFilter filter, WMProcessInstanceState newState) | public void | changeWorkItemState(String processInstanceId, String workItemId, WMWorkItemState newState) | public void | clearEntityAttributeList(WMEntity entityHandle, String attributeName) | public void | closeProcessDefinition(WMEntity procModelHandle) | public void | closeWorkflowDefinition(WMEntity workflowDefinitionHandle) | public void | completeWorkItem(String processInstanceId, String workItemId) | public void | connect(WMConnectInfo connectInfo) | public WMEntity | createEntity(WMEntity scopingEntity, String entityClass, String entityName) | public String | createPackage(XPDLPackage pkg) | public String | createPackage(String content, String contentType) | public String | createPackage() | public String | createProcessInstance(String processDefinitionId, String processInstanceName) | public String | createProcessInstanceVersioned(String name, String processInstanceName) | public int | deleteAuditEntries(WMFilter filter) | public void | deleteEntity(WMEntity scopingEntity, String entityId) | public void | deletePackage(String processDefinitionId) | public void | deleteProcessDefinition(String processDefinitionId) | public void | deleteProcessInstance(String processInstanceId) | public void | deleteProcessInstances(String processDefinitionId, WMFilter filter) | public void | disconnect() | public ToolInvocation[] | executeWorkItem(String procInstId, String workItemId) | protected Hashtable | filterToWire(WMFilter filter) | public WMActivityInstance | getActivityInstance(String processInstanceId, String activityInstanceId) | public WMAttribute | getActivityInstanceAttributeValue(String processInstanceId, String activityInstanceId, String attributeName) | public WMAttribute | getEntityAttributeValue(WMEntity scopingEntity, WMEntity entityHandle, String attributeName) | protected int | getNextQueryId() | public XPDLPackage | getPackage(String packageId) | public String | getPackageContent(String packageId, String contentType) | public WMProcessInstance | getProcessInstance(String processInstanceId) | public WMAttribute | getProcessInstanceAttributeValue(String processInstanceId, String attributeName) | public String | getProtocol() | public WMWorkItem | getWorkItem(String processInstanceId, String workItemId) | public WMAttribute | getWorkItemAttributeValue(String processInstanceId, String workItemId, String attributeName) | protected Hashtable | invoke(String methodName, Vector params) | public void | invokeApplication(int toolAgentHandle, String applicationName, String procInstId, String workItemId, Object[] parameters, int appMode) | public boolean | isActivityAdminProfileSupported() | public boolean | isActivityControlStatusProfileSupported() | public boolean | isAuditRecordProfileSupported() | public boolean | isEntityHandlerProfileSupported() | public boolean | isProcessAdminProfileSupported() | public boolean | isProcessControlStatusProfileSupported() | public boolean | isProcessDefinitionProfileSupported() | public boolean | isToolAgentProfileSupported() | public boolean | isWorkListHandlerProfileSupported() | public WMAttributeIterator | listActivityInstanceAttributes(String processInstanceId, String activityInstanceId, WMFilter filter, boolean countFlag) | public WMActivityInstanceStateIterator | listActivityInstanceStates(String processInstanceId, String activityInstanceId, WMFilter filter, boolean countFlag) | public WMActivityInstanceIterator | listActivityInstances(WMFilter filter, boolean countFlag) | public WMAAuditEntryIterator | listAuditEntries(WMFilter filter) | public WMEntityIterator | listEntities(WMEntity scopingEntity, WMFilter filter, boolean countFlag) | public WMAttributeIterator | listEntityAttributeValues(WMEntity scopingEntity, String entityHandle, String attributeName) | public WMAttributeIterator | listEntityAttributes(WMEntity scopingEntity, String entityId, WMFilter filter, boolean countFlag) | public WMProcessDefinitionStateIterator | listProcessDefinitionStates(String procDefId, WMFilter filter, boolean countFlag) | public WMProcessDefinitionIterator | listProcessDefinitions(WMFilter filter, boolean countFlag) | public WMAttributeIterator | listProcessInstanceAttributes(String processInstanceId, WMFilter filter, boolean countFlag) | public WMProcessInstanceStateIterator | listProcessInstanceStates(String processInstanceId, WMFilter filter, boolean countFlag) | public WMProcessInstanceIterator | listProcessInstances(WMFilter filter, boolean countFlag) | public WMAttributeIterator | listWorkItemAttributes(String processInstanceId, String workItemId, WMFilter filter, boolean countFlag) | public WMWorkItemStateIterator | listWorkItemStates(String processInstanceId, String workItemId, WMFilter filter, boolean countFlag) | public WMWorkItemIterator | listWorkItems(WMFilter filter, boolean countFlag) | protected Object[] | openList(WMFilter filter, boolean countFlag, String method) | public WMEntity | openProcessDefinition(String procDefId) | public WMEntity | openWorkflowDefinition(String name, String scope) | public void | reassignWorkItem(String sourceUser, String targetUser, String processInstanceId, String workItemId) | public void | removeProcessDataAttribute(String procModelId, String procDataId, String attributeName) | public WMAttribute[] | requestAppStatus(int toolAgentHandle, String procInstId, String workItemId, int[] status) | public void | setPackageContent(String packageId, String content, String contentType) | public String | startProcess(String processInstanceId) | public void | terminateApp(int toolAgentHandle, String procInstId, String workItemId) | public void | terminateProcessInstance(String processInstanceId) | public void | terminateProcessInstances(String processDefinitionId, WMFilter filter) | public void | toolFinished(String procInstId, String workItemId, int appStatus, Parameter[] parms) | public void | toolStarted(String procInstId, String workItemId) | public void | updatePackage(XPDLPackage pkg) |
WMXmlRpcClient | public WMXmlRpcClient()(Code) | | |
disconnect | public void disconnect()(Code) | | |
getNextQueryId | protected int getNextQueryId()(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) | | |
|
|