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

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

public interface OnmsDao<T,K extends Serializable>


Method Summary
 void clear()
           
 int countAll()
           
 int countMatching(OnmsCriteria onmsCrit)
           
 void delete(T entity)
           
 List<T> findAll()
           
 List<T> findMatching(OnmsCriteria criteria)
           
 void flush()
           
 T get(K id)
           
 void initialize(Object obj)
           
 T load(K id)
           
 void save(T entity)
           
 void saveOrUpdate(T entity)
           
 void update(T entity)
           
 

Method Detail

initialize

void initialize(Object obj)

flush

void flush()

clear

void clear()

countAll

int countAll()

delete

void delete(T entity)

findAll

List<T> findAll()

findMatching

List<T> findMatching(OnmsCriteria criteria)

countMatching

int countMatching(OnmsCriteria onmsCrit)

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 © 2009. All Rights Reserved.