public interface ProcessDAO
ProcessInstanceDAO
and messages bound
for instances yet to be created or not yet correlated..Modifier and Type | Method and Description |
---|---|
CorrelatorDAO |
addCorrelator(java.lang.String correlator) |
ProcessInstanceDAO |
createInstance(CorrelatorDAO instantiatingCorrelator)
Create a new process instance object.
|
void |
deleteProcessAndRoutes()
Deletes only the process and routes without instances.
|
java.util.Collection<ProcessInstanceDAO> |
findInstance(CorrelationKey cckey)
Locates a process instance based on a correlation key.
|
java.util.Collection<ProcessInstanceDAO> |
findInstance(CorrelationKey ckey,
short processInstanceState)
Find process instances that matches correlation key and instance state
|
java.util.Collection<ProcessInstanceDAO> |
getActiveInstances() |
CorrelatorDAO |
getCorrelator(java.lang.String correlatorId)
Get a message correlator instance.
|
java.lang.String |
getGuid() |
ProcessInstanceDAO |
getInstance(java.lang.Long iid)
Get a process instance (by identifier).
|
int |
getNumInstances() |
javax.xml.namespace.QName |
getProcessId()
Get the unique process identifier.
|
javax.xml.namespace.QName |
getType()
Get the BPEL process name.
|
long |
getVersion()
Get the process version
|
void |
instanceCompleted(ProcessInstanceDAO instance)
Callback indicating that a process instance has completed its duties.
|
void |
removeRoutes(java.lang.String routeId,
ProcessInstanceDAO target)
Remove the routes with the given Id for all the correlators in the process.
|
javax.xml.namespace.QName getProcessId()
javax.xml.namespace.QName getType()
long getVersion()
CorrelatorDAO getCorrelator(java.lang.String correlatorId)
correlatorId
- correlator identifierProcessInstanceDAO createInstance(CorrelatorDAO instantiatingCorrelator)
instantiatingCorrelator
- instantiating CorrelatorDAO
ProcessInstanceDAO getInstance(java.lang.Long iid)
iid
- unique instance identifier.java.util.Collection<ProcessInstanceDAO> findInstance(CorrelationKey cckey)
cckey
- correlation keyProcessInstanceDAO
that match correlation key, ordered by datevoid removeRoutes(java.lang.String routeId, ProcessInstanceDAO target)
routeId
- void instanceCompleted(ProcessInstanceDAO instance)
instance
- the completed ProcessInstanceDAO
void deleteProcessAndRoutes()
CorrelatorDAO addCorrelator(java.lang.String correlator)
java.lang.String getGuid()
int getNumInstances()
java.util.Collection<ProcessInstanceDAO> getActiveInstances()
java.util.Collection<ProcessInstanceDAO> findInstance(CorrelationKey ckey, short processInstanceState)
ckey
- Correlation keyprocessInstanceState
- Instance state org.apache.ode.bpel.common.ProcessStateProcessInstanceDAO
that match correlation key, instance state