|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.ode.daohib.bpel.BpelDAOConnectionImpl
public class BpelDAOConnectionImpl
Hibernate-based BpelDAOConnection implementation.
| Field Summary | |
|---|---|
protected SessionManager |
_sm
|
| Constructor Summary | |
|---|---|
BpelDAOConnectionImpl(SessionManager sm)
|
|
| Method Summary | |
|---|---|
java.util.List<BpelEvent> |
bpelEventQuery(InstanceFilter ifilter,
BpelEventFilter efilter)
Execute a query to retrieve the BPEL events matching the criteria. |
java.util.List<java.util.Date> |
bpelEventTimelineQuery(InstanceFilter ifilter,
BpelEventFilter efilter)
Execute a query for the timeline for BPEL events matching the criteria. |
void |
close()
|
MessageExchangeDAO |
createMessageExchange(java.lang.String mexId,
char dir)
Create a message exchange. |
ProcessDAO |
createProcess(javax.xml.namespace.QName pid,
javax.xml.namespace.QName type,
java.lang.String guid,
long version)
|
java.util.Map<java.lang.Long,java.util.Collection<CorrelationSetDAO>> |
getCorrelationSets(java.util.Collection<ProcessInstanceDAO> instances)
|
ProcessInstanceDAO |
getInstance(java.lang.Long instanceId)
Retrieve a process instance from the database. |
MessageExchangeDAO |
getMessageExchange(java.lang.String mexId)
|
ProcessDAO |
getProcess(javax.xml.namespace.QName processId)
Return the DAO for a bpel process. |
ProcessManagementDAO |
getProcessManagement()
Returns an interface for process and instance management. |
ScopeDAO |
getScope(java.lang.Long siidl)
Retrieve a scope instance from the database. |
void |
insertBpelEvent(BpelEvent event,
ProcessDAO process,
ProcessInstanceDAO instance)
Insert a BPEL event into the database. |
java.util.Collection<ProcessInstanceDAO> |
instanceQuery(InstanceFilter criteria)
Query instances in the database meeting the requested criteria. |
java.util.Collection<ProcessInstanceDAO> |
instanceQuery(java.lang.String expression)
|
int |
instanceQueryCount(InstanceFilter criteria)
Query the count of instances in the database meeting the requested criteria. |
void |
releaseMessageExchange(java.lang.String mexid)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected SessionManager _sm
| Constructor Detail |
|---|
public BpelDAOConnectionImpl(SessionManager sm)
| Method Detail |
|---|
public MessageExchangeDAO createMessageExchange(java.lang.String mexId,
char dir)
BpelDAOConnection
createMessageExchange in interface BpelDAOConnectionmexId - message exchange id (application-assigned)dir - type of message exchange
public MessageExchangeDAO getMessageExchange(java.lang.String mexId)
getMessageExchange in interface BpelDAOConnectionpublic void releaseMessageExchange(java.lang.String mexid)
releaseMessageExchange in interface BpelDAOConnection
public ProcessDAO createProcess(javax.xml.namespace.QName pid,
javax.xml.namespace.QName type,
java.lang.String guid,
long version)
createProcess in interface BpelDAOConnectionpublic ProcessDAO getProcess(javax.xml.namespace.QName processId)
BpelDAOConnection
getProcess in interface BpelDAOConnectionprocessId - name (identifier) of the process
public void close()
close in interface BpelDAOConnectionpublic ProcessInstanceDAO getInstance(java.lang.Long instanceId)
BpelDAOConnection
getInstance in interface BpelDAOConnectioninstanceId - instance identifier
ProcessDAO.getInstance(java.lang.Long)public ScopeDAO getScope(java.lang.Long siidl)
BpelDAOConnection
getScope in interface BpelDAOConnectionsiidl - scope instance identifier
public java.util.Collection<ProcessInstanceDAO> instanceQuery(InstanceFilter criteria)
BpelDAOConnection
instanceQuery in interface BpelDAOConnectionpublic int instanceQueryCount(InstanceFilter criteria)
BpelDAOConnection
instanceQueryCount in interface BpelDAOConnection
public void insertBpelEvent(BpelEvent event,
ProcessDAO process,
ProcessInstanceDAO instance)
BpelDAOConnection
insertBpelEvent in interface BpelDAOConnectionevent - a BPEL eventprocess - associated process (optional)instance - associated instance (optional)
public java.util.List<java.util.Date> bpelEventTimelineQuery(InstanceFilter ifilter,
BpelEventFilter efilter)
BpelDAOConnection
bpelEventTimelineQuery in interface BpelDAOConnectionifilter - instance filter (optional)efilter - event filter (optional)
public java.util.List<BpelEvent> bpelEventQuery(InstanceFilter ifilter,
BpelEventFilter efilter)
BpelDAOConnection
bpelEventQuery in interface BpelDAOConnectionifilter - instance filterefilter - event filter
public java.util.Collection<ProcessInstanceDAO> instanceQuery(java.lang.String expression)
instanceQuery in interface BpelDAOConnectionBpelDAOConnection.instanceQuery(String)public java.util.Map<java.lang.Long,java.util.Collection<CorrelationSetDAO>> getCorrelationSets(java.util.Collection<ProcessInstanceDAO> instances)
getCorrelationSets in interface BpelDAOConnectionpublic ProcessManagementDAO getProcessManagement()
BpelDAOConnection
getProcessManagement in interface BpelDAOConnection
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||