org.ikasan.framework.event.wiretap.dao
Interface WiretapDao

All Known Implementing Classes:
HibernateWiretapDao

public interface WiretapDao

Interface for all wiretap event data access.

Author:
Ikasan Development Team

Method Summary
 void deleteAllExpired()
          Deletes all WiretapEvents that have surpassed their expiryDate
 WiretapEvent findById(Long id)
          Find wiretap entry by identifier
 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 a wiretapEvent entry.
 

Method Detail

save

void save(WiretapEvent wiretapEvent)
Save a wiretapEvent entry.

Parameters:
wiretapEvent - - The wiretap event to save

findPaging

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

Find the paging for the wiretap search results

Parameters:
moduleNames - - The list of module names
moduleFlow - - The name of Flow internal to the Module
componentName - - The component name
eventId - - The event id
payloadId - - The payload id
fromDate - - The from date
untilDate - - The to date
payloadContent - - The payload content
maxResults - - The maximum amount of results
firstResult - - The first result
Returns:
A paged wiretap search result

findWiretapEvents

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

Parameters:
pageNo - - The page number to retrieve
pageSize - - The size of the page
orderBy - - order by field
orderAscending - - ascending flag
moduleNames - - The list of module names
moduleFlow - - The name of Flow internal to the Module
componentName - - The component name
eventId - - The event id
payloadId - - The payload id
fromDate - - The from date
untilDate - - The to date
payloadContent - - The payload content
Returns:
PagedSearchResult

findById

WiretapEvent findById(Long id)
Find wiretap entry by identifier

Parameters:
id - - The id to search on
Returns:
WiretapEvent

deleteAllExpired

void deleteAllExpired()
Deletes all WiretapEvents that have surpassed their expiryDate



Copyright © 2007-2012 Ikasan. All Rights Reserved.