org.opennms.netmgt.dao
Interface OnmsDao<T,K extends java.io.Serializable>

All Known Subinterfaces:
AlarmDao, ApplicationDao, AssetRecordDao, AvailabilityReportLocatorDao, CategoryDao, DemandPollDao, DistPollerDao, EventDao, IpInterfaceDao, LocationMonitorDao, MonitoredServiceDao, NodeDao, NotificationDao, OutageDao, ResourceReferenceDao, ServiceTypeDao, SnmpInterfaceDao, StatisticsReportDao, StatisticsReportDataDao, UserNotificationDao
All Known Implementing Classes:
AbstractDaoHibernate, AlarmDaoHibernate, ApplicationDaoHibernate, AssetRecordDaoHibernate, AvailabilityReportLocatorDaoHibernate, CategoryDaoHibernate, DemandPollDaoHibernate, DistPollerDaoHibernate, EventDaoHibernate, IpInterfaceDaoHibernate, LocationMonitorDaoHibernate, MonitoredServiceDaoHibernate, NodeDaoHibernate, NotificationDaoHibernate, OutageDaoHibernate, ResourceReferenceDaoHibernate, ServiceTypeDaoHibernate, SnmpInterfaceDaoHibernate, StatisticsReportDaoHibernate, StatisticsReportDataDaoHibernate, UserNotificationDaoHibernate

public interface OnmsDao<T,K extends java.io.Serializable>


Method Summary
 void clear()
           
 int countAll()
           
 void delete(T entity)
           
 java.util.List<T> findAll()
           
 java.util.List<T> findMatching(org.opennms.netmgt.model.OnmsCriteria criteria)
           
 void flush()
           
 T get(K id)
           
 void initialize(java.lang.Object obj)
           
 T load(K id)
           
 void save(T entity)
           
 void saveOrUpdate(T entity)
           
 void update(T entity)
           
 

Method Detail

initialize

void initialize(java.lang.Object obj)

flush

void flush()

clear

void clear()

countAll

int countAll()

delete

void delete(T entity)

findAll

java.util.List<T> findAll()

findMatching

java.util.List<T> findMatching(org.opennms.netmgt.model.OnmsCriteria criteria)

get

T get(K id)

load

T load(K id)

save

void save(T entity)

saveOrUpdate

void saveOrUpdate(T entity)

update

void update(T entity)


Copyright © 2007. All Rights Reserved.