public class BpelManagementFacadeImpl extends ProcessAndInstanceManagementImpl implements BpelManagementFacade
| Constructor and Description |
|---|
BpelManagementFacadeImpl(BpelServer server,
ProcessStore store) |
| Modifier and Type | Method and Description |
|---|---|
ActivityBreakpoint |
addActivityBreakpoint(java.lang.Long iid,
java.lang.String activity)
Adds an activity breakpoint.
|
ActivityBreakpoint |
addGlobalActivityBreakpoint(java.lang.String procid,
java.lang.String activity)
Adds an global activity breakpoint.
|
VariableModificationBreakpoint |
addVariableModificationBreakpoint(java.lang.Long iid,
java.lang.String scopename,
java.lang.String variable)
Adds a variable modification breakpoint.
|
Breakpoint[] |
getBreakpoints(java.lang.Long iid)
Returns the breakpoints registered with the process instance.
|
javax.xml.namespace.QName |
getCompletedFault(java.lang.Long iid)
Gets the fault associated with a completed process instance.
|
CorrelationKey |
getCorrelation(java.lang.Long iid,
java.lang.Long scopeId,
java.lang.String correlationSet)
Gets a correlation.
|
int |
getEventCount(java.lang.Long iid)
Get the current number of events for an instance.
|
EventInfoListDocument |
getEvents(java.lang.Long iid,
int startIdx,
int count)
Get exeuction event history for a process instance.
|
Breakpoint[] |
getGlobalBreakpoints(java.lang.String procId)
Returns the global breakpoints registered with the process instance.
|
OProcess |
getProcessDef(java.lang.String procid)
Return the process model.
|
java.lang.Long |
getProcessInstance(java.lang.String pid,
CorrelationKey ckey)
Get the process instance with the given correlation correlationKey.
|
java.lang.Long[] |
getScopeInstancesForScope(java.lang.Long iid,
java.lang.String scopeName)
Returns all the scope instance ids for a given instance and scope name.
|
java.util.Date |
getStartTime(java.lang.Long iid)
Get the time that a process instance was started (created).
|
short |
getState(java.lang.Long iid)
Get the state of a process instance.
|
java.lang.String |
getVariable(java.lang.Long iid,
java.lang.Long scopeId,
java.lang.String varName)
Gets variable data.
|
void |
removeBreakpoint(java.lang.Long iid,
Breakpoint sp)
Removes a breakpoint
|
void |
removeGlobalBreakpoint(java.lang.String procid,
Breakpoint sp)
Removes a global breakpoint
|
void |
setCorrelation(java.lang.Long iid,
java.lang.Long scopeId,
java.lang.String correlationSet,
javax.xml.namespace.QName[] propertyNames,
CorrelationKey values)
Sets a correlation.
|
void |
setVariable(java.lang.Long pid,
java.lang.Long scopeId,
java.lang.String varName,
java.lang.String data)
Sets a variable
|
void |
step(java.lang.Long iid)
Single step through a process instance.
|
activate, dbexec, dbexec, delete, fault, getCommunication, getDebugger, getDebugger, getEventTimeline, getExtensibilityElements, getInstanceInfo, getProcessInfo, getProcessInfoCustom, getScopeInfo, getScopeInfoWithActivity, getVariableInfo, listAllInstances, listAllInstancesWithLimit, listAllProcesses, listEvents, listInstances, listInstancesSummary, listProcesses, listProcessesCustom, listProcessesSummaryOnly, queryInstances, recoverActivity, replay, resume, setPackageRetired, setProcessProperty, setProcessPropertyNode, setRetired, setVariable, suspend, terminateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitactivate, getExtensibilityElements, getProcessInfo, getProcessInfoCustom, listAllProcesses, listProcesses, listProcessesCustom, listProcessesSummaryOnly, setPackageRetired, setProcessProperty, setProcessPropertyNode, setRetireddelete, fault, getEventTimeline, getInstanceInfo, getScopeInfo, getScopeInfoWithActivity, getVariableInfo, listAllInstances, listAllInstancesWithLimit, listEvents, listInstances, listInstancesSummary, queryInstances, recoverActivity, resume, suspend, terminatepublic BpelManagementFacadeImpl(BpelServer server, ProcessStore store)
public short getState(java.lang.Long iid)
throws ManagementException
BpelManagementFacadegetState in interface BpelManagementFacadeiid - process instance identifierManagementExceptionpublic java.lang.Long getProcessInstance(java.lang.String pid,
CorrelationKey ckey)
throws ManagementException
BpelManagementFacadegetProcessInstance in interface BpelManagementFacadepid - the process identifierckey - the correlation correlationKey to matchManagementExceptionpublic EventInfoListDocument getEvents(java.lang.Long iid, int startIdx, int count) throws ManagementException
BpelManagementFacadegetEvents in interface BpelManagementFacadeiid - process instance identifierstartIdx - first evetcount - maximum number of events to getProcessInstanceEvents.ManagementExceptionpublic int getEventCount(java.lang.Long iid)
throws ManagementException
BpelManagementFacadegetEventCount in interface BpelManagementFacadeiid - process instance identifierManagementExceptionpublic java.lang.String getVariable(java.lang.Long iid,
java.lang.Long scopeId,
java.lang.String varName)
throws ManagementException
BpelManagementFacadegetVariable in interface BpelManagementFacadeManagementExceptionpublic java.lang.Long[] getScopeInstancesForScope(java.lang.Long iid,
java.lang.String scopeName)
throws ManagementException
BpelManagementFacadegetScopeInstancesForScope in interface BpelManagementFacadeManagementExceptionpublic void setVariable(java.lang.Long pid,
java.lang.Long scopeId,
java.lang.String varName,
java.lang.String data)
BpelManagementFacadesetVariable in interface BpelManagementFacadepublic void setCorrelation(java.lang.Long iid,
java.lang.Long scopeId,
java.lang.String correlationSet,
javax.xml.namespace.QName[] propertyNames,
CorrelationKey values)
throws ManagementException
BpelManagementFacadesetCorrelation in interface BpelManagementFacadecorrelationSet - name of the correlation setpropertyNames - properties to set on correlation setvalues - property values as a CorrelationKey objectManagementExceptionpublic CorrelationKey getCorrelation(java.lang.Long iid, java.lang.Long scopeId, java.lang.String correlationSet) throws ManagementException
BpelManagementFacadegetCorrelation in interface BpelManagementFacadeManagementExceptionpublic OProcess getProcessDef(java.lang.String procid) throws ManagementException
BpelManagementFacadegetProcessDef in interface BpelManagementFacadeprocid - ManagementExceptionBpelManagementFacade.getProcessDef(String)public void step(java.lang.Long iid)
throws ManagementException
BpelManagementFacadestep in interface BpelManagementFacadeManagementExceptionpublic javax.xml.namespace.QName getCompletedFault(java.lang.Long iid)
throws ManagementException
BpelManagementFacadegetCompletedFault in interface BpelManagementFacadeManagementExceptionpublic Breakpoint[] getGlobalBreakpoints(java.lang.String procId) throws ManagementException
BpelManagementFacadegetGlobalBreakpoints in interface BpelManagementFacadeBreakpoints.ManagementExceptionpublic Breakpoint[] getBreakpoints(java.lang.Long iid) throws ManagementException
BpelManagementFacadegetBreakpoints in interface BpelManagementFacadeiid - process instance identifierBreakpoints.ManagementExceptionpublic void removeGlobalBreakpoint(java.lang.String procid,
Breakpoint sp)
throws ManagementException
BpelManagementFacaderemoveGlobalBreakpoint in interface BpelManagementFacadeManagementExceptionpublic void removeBreakpoint(java.lang.Long iid,
Breakpoint sp)
throws ManagementException
BpelManagementFacaderemoveBreakpoint in interface BpelManagementFacadeiid - a iid of null removes a global breakpoint.ManagementExceptionpublic ActivityBreakpoint addGlobalActivityBreakpoint(java.lang.String procid, java.lang.String activity) throws ManagementException
BpelManagementFacadeaddGlobalActivityBreakpoint in interface BpelManagementFacadeManagementExceptionpublic ActivityBreakpoint addActivityBreakpoint(java.lang.Long iid, java.lang.String activity) throws ManagementException
BpelManagementFacadeaddActivityBreakpoint in interface BpelManagementFacadeiid - a iid of null adds a global activity breakpoint.ManagementExceptionpublic VariableModificationBreakpoint addVariableModificationBreakpoint(java.lang.Long iid, java.lang.String scopename, java.lang.String variable)
BpelManagementFacadeaddVariableModificationBreakpoint in interface BpelManagementFacadepublic java.util.Date getStartTime(java.lang.Long iid)
throws ManagementException
BpelManagementFacadegetStartTime in interface BpelManagementFacadeiid - process instance identifierManagementException