org.ikasan.framework.error.dao
Interface ErrorOccurrenceDao

All Known Implementing Classes:
HibernateErrorOccurrenceDao

public interface ErrorOccurrenceDao

Data Access interface for the persistence of ErrorOccurrence instances

Author:
Ikasan Development Team

Method Summary
 void deleteAllExpired()
          Deletes all ErrorOccurrences that have surpassed their expiry
 PagedSearchResult<ErrorOccurrence> findErrorOccurrences(int pageNo, int pageSize, String orderBy, boolean orderAscending, String moduleName, String flowName)
          Perform a paged search for ErrorOccurrences
 ErrorOccurrence getErrorOccurrence(Long id)
          Retrieves an ErrorOccurrence by ids
 List<ErrorOccurrence> getErrorOccurrences(String eventId)
          Returns all ErrorOccurrences with the specified eventId
 void save(ErrorOccurrence errorOccurrence)
          Persist an ErrorOccurrence
 

Method Detail

save

void save(ErrorOccurrence errorOccurrence)
Persist an ErrorOccurrence

Parameters:
errorOccurrence -

getErrorOccurrence

ErrorOccurrence getErrorOccurrence(Long id)
Retrieves an ErrorOccurrence by ids

Parameters:
id -
Returns:
specified ErrorOccurrence

findErrorOccurrences

PagedSearchResult<ErrorOccurrence> findErrorOccurrences(int pageNo,
                                                        int pageSize,
                                                        String orderBy,
                                                        boolean orderAscending,
                                                        String moduleName,
                                                        String flowName)
Perform a paged search for ErrorOccurrences

Parameters:
pageNo -
pageSize -
orderBy -
orderAscending -
moduleName -
flowName -
Returns:
PagedSearchResult

deleteAllExpired

void deleteAllExpired()
Deletes all ErrorOccurrences that have surpassed their expiry


getErrorOccurrences

List<ErrorOccurrence> getErrorOccurrences(String eventId)
Returns all ErrorOccurrences with the specified eventId

Parameters:
eventId -
Returns:
List of ErrorOccurrence


Copyright © 2007-2012 Ikasan. All Rights Reserved.