|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.dao.support.DaoSupport
org.springframework.orm.hibernate3.support.HibernateDaoSupport
org.ikasan.framework.event.wiretap.dao.HibernateWiretapDao
public class HibernateWiretapDao
Hibernate implementation of the WiretapDao
| Field Summary |
|---|
| Fields inherited from class org.springframework.dao.support.DaoSupport |
|---|
logger |
| Constructor Summary | |
|---|---|
HibernateWiretapDao()
Constructor |
|
HibernateWiretapDao(boolean batchHousekeepDelete,
Integer housekeepingBatchSize)
Constructor |
|
| Method Summary | |
|---|---|
void |
deleteAllExpired()
Delete all of the expired wiretaps |
WiretapEvent |
findById(Long id)
Find the Wiretap by its Id |
PagedWiretapSearchResult |
findPaging(Set<String> moduleNames,
String moduleFlow,
String componentName,
String eventId,
String payloadId,
Date fromDate,
Date untilDate,
String payloadContent,
int maxResults,
int firstResult)
Deprecated. - Use findWiretapEvents instead |
PagedSearchResult<WiretapEvent> |
findWiretapEvents(int pageNo,
int pageSize,
String orderBy,
boolean orderAscending,
Set<String> moduleNames,
String moduleFlow,
String componentName,
String eventId,
String payloadId,
Date fromDate,
Date untilDate,
String payloadContent)
Perform a paged search for WiretapEvents |
void |
save(WiretapEvent wiretapEvent)
Save the wiretapEvent |
| Methods inherited from class org.springframework.orm.hibernate3.support.HibernateDaoSupport |
|---|
checkDaoConfig, convertHibernateAccessException, createHibernateTemplate, getHibernateTemplate, getSession, getSession, getSessionFactory, releaseSession, setHibernateTemplate, setSessionFactory |
| Methods inherited from class org.springframework.dao.support.DaoSupport |
|---|
afterPropertiesSet, initDao |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HibernateWiretapDao()
public HibernateWiretapDao(boolean batchHousekeepDelete,
Integer housekeepingBatchSize)
batchHousekeepDelete - - pass true if you want to use batch deletinghousekeepingBatchSize - - batch size, only respected if set to use batching| Method Detail |
|---|
public void save(WiretapEvent wiretapEvent)
save in interface WiretapDaowiretapEvent - - The wiretap event to saveWiretapDao.save(
org.ikasan.framework.event.wiretap.model.WiretapEvent)public WiretapEvent findById(Long id)
findById in interface WiretapDaoid - - The id to search on
org.ikasan.framework.event.wiretap.dao.WiretapDao#findById(java.lang.
Long)
@Deprecated
public PagedWiretapSearchResult findPaging(Set<String> moduleNames,
String moduleFlow,
String componentName,
String eventId,
String payloadId,
Date fromDate,
Date untilDate,
String payloadContent,
int maxResults,
int firstResult)
throws org.springframework.dao.DataAccessException
findPaging in interface WiretapDaomoduleNames - - The list of module namesmoduleFlow - - The name of Flow internal to the ModulecomponentName - - The component nameeventId - - The event idpayloadId - - The payload idfromDate - - The from dateuntilDate - - The to datepayloadContent - - The payload contentmaxResults - - Max Results to bring backfirstResult - - The first result
org.springframework.dao.DataAccessException - - Exception if we can't get the data
public PagedSearchResult<WiretapEvent> findWiretapEvents(int pageNo,
int pageSize,
String orderBy,
boolean orderAscending,
Set<String> moduleNames,
String moduleFlow,
String componentName,
String eventId,
String payloadId,
Date fromDate,
Date untilDate,
String payloadContent)
WiretapEvents
findWiretapEvents in interface WiretapDaopageNo - - The page number to retrievepageSize - - The size of the pageorderBy - - order by fieldorderAscending - - ascending flagmoduleNames - - The list of module namesmoduleFlow - - The name of Flow internal to the ModulecomponentName - - The component nameeventId - - The event idpayloadId - - The payload idfromDate - - The from dateuntilDate - - The to datepayloadContent - - The payload content
public void deleteAllExpired()
deleteAllExpired in interface WiretapDao
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||