public class WorkflowServiceClient extends Object
| Constructor and Description |
|---|
WorkflowServiceClient(String backendServerURL,
String sessionCookie) |
| Modifier and Type | Method and Description |
|---|---|
void |
activateProcessInstance(String instanceID) |
void |
deleteProcessInstance(String instanceID) |
org.wso2.carbon.bpmn.core.mgt.model.xsd.BPMNDeployment[] |
getDeployments() |
int |
getInstanceCount() |
org.wso2.carbon.bpmn.stub.BPMNInstanceServiceStub |
getInstanceServiceStub() |
org.wso2.carbon.bpmn.core.mgt.model.xsd.BPMNProcess |
getProcessById(String processId) |
String |
getProcessDiagram(String processId) |
org.wso2.carbon.bpmn.core.mgt.model.xsd.BPMNProcess[] |
getProcesses() |
org.wso2.carbon.bpmn.core.mgt.model.xsd.BPMNInstance |
getProcessInstanceById(String instanceId) |
org.wso2.carbon.bpmn.core.mgt.model.xsd.BPMNInstance[] |
getProcessInstances() |
List<org.wso2.carbon.bpmn.core.mgt.model.xsd.BPMNInstance> |
getProcessInstancesByProcessId(String processId) |
org.wso2.carbon.bpmn.core.mgt.model.xsd.BPMNProcess[] |
getProcessListByDeploymentID(String deploymentID) |
String |
getProcessModel(String processId) |
void |
startProcess(String processId) |
void |
suspendProcessInstance(String instanceID) |
void |
undeploy(String deploymentName) |
public org.wso2.carbon.bpmn.core.mgt.model.xsd.BPMNDeployment[] getDeployments()
throws Exception
Exceptionpublic org.wso2.carbon.bpmn.core.mgt.model.xsd.BPMNProcess[] getProcesses()
throws Exception
Exceptionpublic org.wso2.carbon.bpmn.core.mgt.model.xsd.BPMNProcess getProcessById(String processId) throws Exception
Exceptionpublic org.wso2.carbon.bpmn.core.mgt.model.xsd.BPMNInstance[] getProcessInstances()
throws Exception
Exceptionpublic org.wso2.carbon.bpmn.core.mgt.model.xsd.BPMNInstance getProcessInstanceById(String instanceId) throws Exception
Exceptionpublic List<org.wso2.carbon.bpmn.core.mgt.model.xsd.BPMNInstance> getProcessInstancesByProcessId(String processId) throws RemoteException, org.wso2.carbon.bpmn.stub.BPMNInstanceServiceBPSFaultException
RemoteExceptionorg.wso2.carbon.bpmn.stub.BPMNInstanceServiceBPSFaultExceptionpublic void deleteProcessInstance(String instanceID) throws Exception
Exceptionpublic void suspendProcessInstance(String instanceID) throws Exception
Exceptionpublic void activateProcessInstance(String instanceID) throws Exception
Exceptionpublic org.wso2.carbon.bpmn.core.mgt.model.xsd.BPMNProcess[] getProcessListByDeploymentID(String deploymentID) throws Exception
Exceptionpublic String getProcessDiagram(String processId) throws Exception
Exceptionpublic org.wso2.carbon.bpmn.stub.BPMNInstanceServiceStub getInstanceServiceStub()
Copyright © 2016 WSO2 Inc. All rights reserved.