|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProcessDAO
BPEL process data access objects. Contains references to active process instances (ProcessInstanceDAO
and messages bound
for instances yet to be created or not yet correlated..
Method Summary | |
---|---|
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> |
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. |
Method Detail |
---|
javax.xml.namespace.QName getProcessId()
javax.xml.namespace.QName getType()
long getVersion()
CorrelatorDAO getCorrelator(java.lang.String correlatorId)
correlatorId
- correlator identifier
ProcessInstanceDAO 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 key
ProcessInstanceDAO
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |