|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.ode.daohib.bpel.HibernateDao
org.apache.ode.daohib.bpel.ProcessDaoImpl
public class ProcessDaoImpl
Hibernate-based ProcessDAO implementation.
| Field Summary |
|---|
| Fields inherited from class org.apache.ode.daohib.bpel.HibernateDao |
|---|
_hobj, _sm |
| Constructor Summary | |
|---|---|
ProcessDaoImpl(SessionManager sm,
HProcess process)
|
|
| Method Summary | |
|---|---|
CorrelatorDAO |
addCorrelator(java.lang.String corrid)
|
ProcessInstanceDAO |
createInstance(CorrelatorDAO correlator)
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 key)
Locates a process instance based on a correlation key. |
java.util.Collection<ProcessInstanceDAO> |
findInstance(CorrelationKey ckeyValue,
boolean wait)
|
CorrelatorDAO |
getCorrelator(java.lang.String corrId)
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.daohib.bpel.HibernateDao |
|---|
equals, getDHandle, getHibernateObj, getSession, hashCode, update |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProcessDaoImpl(SessionManager sm,
HProcess process)
| Method Detail |
|---|
public javax.xml.namespace.QName getProcessId()
ProcessDAO
getProcessId in interface ProcessDAOpublic ProcessInstanceDAO getInstance(java.lang.Long iid)
ProcessDAO
getInstance in interface ProcessDAOiid - unique instance identifier.
public CorrelatorDAO getCorrelator(java.lang.String corrId)
ProcessDAO
getCorrelator in interface ProcessDAOcorrId - correlator identifier
public void removeRoutes(java.lang.String routeId,
ProcessInstanceDAO target)
ProcessDAO
removeRoutes in interface ProcessDAOpublic ProcessInstanceDAO createInstance(CorrelatorDAO correlator)
ProcessDAO
createInstance in interface ProcessDAOcorrelator - instantiating CorrelatorDAO
public java.util.Collection<ProcessInstanceDAO> findInstance(CorrelationKey key)
ProcessDAO
findInstance in interface ProcessDAOkey - correlation key
ProcessInstanceDAO that match correlation key, ordered by date
public java.util.Collection<ProcessInstanceDAO> findInstance(CorrelationKey ckeyValue,
boolean wait)
findInstance in interface ProcessDAOProcessDAO.findInstance(CorrelationKey)public void instanceCompleted(ProcessInstanceDAO instance)
ProcessDAO
instanceCompleted in interface ProcessDAOinstance - the completed ProcessInstanceDAOProcessDAO.instanceCompleted(ProcessInstanceDAO)public void delete()
ProcessDAO
delete in interface ProcessDAOpublic javax.xml.namespace.QName getType()
ProcessDAO
getType in interface ProcessDAOpublic long getVersion()
ProcessDAO
getVersion in interface ProcessDAOpublic CorrelatorDAO addCorrelator(java.lang.String corrid)
addCorrelator in interface ProcessDAOpublic int getNumInstances()
getNumInstances 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 | ||||||||