org.ikasan.framework.systemevent.dao
Interface SystemEventDao

All Known Implementing Classes:
HibernateSystemEventDao

public interface SystemEventDao

Data access interface for persistence of SystemEventDao

Author:
Ikasan Development Team

Method Summary
 void deleteExpired()
          Deletes all expired system events
 PagedSearchResult<SystemEvent> find(int pageNo, int pageSize, String orderBy, boolean orderAscending, String subject, String action, Date timestampFrom, Date timestampTo, String actor)
          Performs a paged search for SystemEvents restricting by criteria fields as supplied
 void save(SystemEvent systemEvent)
          Persists a new system event
 

Method Detail

save

void save(SystemEvent systemEvent)
Persists a new system event

Parameters:
systemEvent -

find

PagedSearchResult<SystemEvent> find(int pageNo,
                                    int pageSize,
                                    String orderBy,
                                    boolean orderAscending,
                                    String subject,
                                    String action,
                                    Date timestampFrom,
                                    Date timestampTo,
                                    String actor)
Performs a paged search for SystemEvents restricting by criteria fields as supplied

Parameters:
pageNo - - page control field - page no of results to return
pageSize - - page control field - size of page
orderBy - - page control - field to order by
orderAscending - - page control field - true/false results in ascending order with respect to orderBy field
subject - - criteria field - filter for exact match on subject
action - - criteria field - filter for exact match on action
timestampFrom - - criteria field - filter for events with timestamp greater than this value
timestampTo - - criteria field - filter for events with timestamp less than this value
actor - - criteria field - filter for exact match on actor
Returns:
PagedSearchResult - page friendly search result subset

deleteExpired

void deleteExpired()
Deletes all expired system events



Copyright © 2007-2012 Ikasan. All Rights Reserved.