|
||||||||||
| 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.error.dao.HibernateErrorOccurrenceDao
public class HibernateErrorOccurrenceDao
Hibernate implementation of the DAO for the ErrorOccurence object
| Constructor Summary | |
|---|---|
HibernateErrorOccurrenceDao()
|
|
| 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 |
| 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 HibernateErrorOccurrenceDao()
| Method Detail |
|---|
public void save(ErrorOccurrence errorOccurrence)
ErrorOccurrenceDao
save in interface ErrorOccurrenceDaopublic ErrorOccurrence getErrorOccurrence(Long id)
ErrorOccurrenceDao
getErrorOccurrence in interface ErrorOccurrenceDao
public PagedSearchResult<ErrorOccurrence> findErrorOccurrences(int pageNo,
int pageSize,
String orderBy,
boolean orderAscending,
String moduleName,
String flowName)
ErrorOccurrenceDaoErrorOccurrences
findErrorOccurrences in interface ErrorOccurrenceDaopublic void deleteAllExpired()
ErrorOccurrenceDao
deleteAllExpired in interface ErrorOccurrenceDaopublic List<ErrorOccurrence> getErrorOccurrences(String eventId)
ErrorOccurrenceDao
getErrorOccurrences in interface ErrorOccurrenceDao
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||