org.ikasan.framework.event.exclusion.dao
Class HibernateExcludedEventDao

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springframework.orm.hibernate3.support.HibernateDaoSupport
          extended by org.ikasan.framework.event.exclusion.dao.HibernateExcludedEventDao
All Implemented Interfaces:
ExcludedEventDao, org.springframework.beans.factory.InitializingBean

public class HibernateExcludedEventDao
extends org.springframework.orm.hibernate3.support.HibernateDaoSupport
implements ExcludedEventDao

Author:
The Ikasan Development Team

Constructor Summary
HibernateExcludedEventDao()
           
 
Method Summary
 void delete(ExcludedEvent excludedEvent)
          Deletes excluded event
 PagedSearchResult<ExcludedEvent> findExcludedEvents(int pageNo, int pageSize, String orderBy, boolean orderAscending, String moduleName, String flowName)
          Perform a paged search for ExcludedEvents
 ExcludedEvent getExcludedEvent(long excludedEventId)
           
 ExcludedEvent getExcludedEvent(String eventId, boolean mutable)
          Retrieves an ExcludedEvent by event Id
 ExcludedEvent load(Long excludedEventId)
          Loads an ExcludedEvent to persistent storage
 void save(ExcludedEvent excludedEvent)
          Saves an ExcludedEvent to persistent storage
 
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

HibernateExcludedEventDao

public HibernateExcludedEventDao()
Method Detail

save

public void save(ExcludedEvent excludedEvent)
Description copied from interface: ExcludedEventDao
Saves an ExcludedEvent to persistent storage

Specified by:
save in interface ExcludedEventDao

load

public ExcludedEvent load(Long excludedEventId)
Description copied from interface: ExcludedEventDao
Loads an ExcludedEvent to persistent storage

Specified by:
load in interface ExcludedEventDao

findExcludedEvents

public PagedSearchResult<ExcludedEvent> findExcludedEvents(int pageNo,
                                                           int pageSize,
                                                           String orderBy,
                                                           boolean orderAscending,
                                                           String moduleName,
                                                           String flowName)
Description copied from interface: ExcludedEventDao
Perform a paged search for ExcludedEvents

Specified by:
findExcludedEvents in interface ExcludedEventDao
Returns:
PagedSearchResult

getExcludedEvent

public ExcludedEvent getExcludedEvent(long excludedEventId)

delete

public void delete(ExcludedEvent excludedEvent)
Description copied from interface: ExcludedEventDao
Deletes excluded event

Specified by:
delete in interface ExcludedEventDao

getExcludedEvent

public ExcludedEvent getExcludedEvent(String eventId,
                                      boolean mutable)
Description copied from interface: ExcludedEventDao
Retrieves an ExcludedEvent by event Id

Specified by:
getExcludedEvent in interface ExcludedEventDao
Returns:
ExcludedEvent


Copyright © 2007-2012 Ikasan. All Rights Reserved.