|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.ode.dao.jpa.OpenJPADAO
org.apache.ode.dao.jpa.ProcessDAOImpl
public class ProcessDAOImpl
| Constructor Summary | |
|---|---|
ProcessDAOImpl()
|
|
ProcessDAOImpl(javax.xml.namespace.QName pid,
javax.xml.namespace.QName type,
java.lang.String guid,
long version)
|
|
| Method Summary | |
|---|---|
CorrelatorDAO |
addCorrelator(java.lang.String correlator)
|
ProcessInstanceDAO |
createInstance(CorrelatorDAO instantiatingCorrelator)
Create a new process instance object. |
void |
delete()
Remove the process from the database (along with any instance, variable data, etc...). |
java.util.Collection<ProcessInstanceDAO> |
findInstance(CorrelationKey ckey)
Locates a process instance based on a correlation key. |
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. |
| Methods inherited from class org.apache.ode.dao.jpa.OpenJPADAO |
|---|
getConn, getEM, getSingleResult |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProcessDAOImpl()
public ProcessDAOImpl(javax.xml.namespace.QName pid,
javax.xml.namespace.QName type,
java.lang.String guid,
long version)
| Method Detail |
|---|
public CorrelatorDAO addCorrelator(java.lang.String correlator)
addCorrelator in interface ProcessDAOpublic CorrelatorDAO getCorrelator(java.lang.String correlatorId)
ProcessDAO
getCorrelator in interface ProcessDAOcorrelatorId - correlator identifier
public ProcessInstanceDAO createInstance(CorrelatorDAO instantiatingCorrelator)
ProcessDAO
createInstance in interface ProcessDAOinstantiatingCorrelator - instantiating CorrelatorDAO
public java.util.Collection<ProcessInstanceDAO> findInstance(CorrelationKey ckey)
ProcessDAO
findInstance in interface ProcessDAOckey - correlation key
ProcessInstanceDAO that match correlation key, ordered by datepublic ProcessInstanceDAO getInstance(java.lang.Long iid)
ProcessDAO
getInstance in interface ProcessDAOiid - unique instance identifier.
public javax.xml.namespace.QName getProcessId()
ProcessDAO
getProcessId in interface ProcessDAOpublic javax.xml.namespace.QName getType()
ProcessDAO
getType in interface ProcessDAOpublic void delete()
ProcessDAO
delete in interface ProcessDAOpublic int getNumInstances()
getNumInstances in interface ProcessDAOpublic long getVersion()
ProcessDAO
getVersion in interface ProcessDAOpublic void instanceCompleted(ProcessInstanceDAO instance)
ProcessDAO
instanceCompleted in interface ProcessDAOinstance - the completed ProcessInstanceDAO
public void removeRoutes(java.lang.String routeId,
ProcessInstanceDAO target)
ProcessDAO
removeRoutes in interface ProcessDAOpublic java.lang.String getGuid()
getGuid in interface ProcessDAO
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||