|
|||||||||
| 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. |
ProcessInstanceDAO |
createInstance(CorrelatorDAO instantiatingCorrelator,
MessageExchangeDAO mex)
|
void |
deleteProcessAndRoutes()
Deletes only the process and routes without instances. |
java.util.Collection<ProcessInstanceDAO> |
findInstance(CorrelationKey ckey)
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()
|
java.io.Serializable |
getId()
|
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. |
void |
setId(java.lang.Long id)
|
| Methods inherited from class org.apache.ode.dao.jpa.OpenJPADAO |
|---|
batchUpdateByIds, 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 java.io.Serializable getId()
public void setId(java.lang.Long id)
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 ProcessInstanceDAO createInstance(CorrelatorDAO instantiatingCorrelator,
MessageExchangeDAO mex)
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 deleteProcessAndRoutes()
ProcessDAO
deleteProcessAndRoutes 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 ProcessDAOpublic java.util.Collection<ProcessInstanceDAO> getActiveInstances()
getActiveInstances in interface ProcessDAO
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||