Package org.opennms.netmgt.dao.api
Interface OnmsDao<T,K extends Serializable>
-
- Type Parameters:
T
- The type of the Entity this DAO is intended to manage.K
- The key of the Entity.
- All Known Subinterfaces:
AcknowledgmentDao
,AlarmAssociationDao
,AlarmDao
,ApplicationDao
,AssetRecordDao
,BmpAsnInfoDao
,BmpAsnPathAnalysisDao
,BmpBaseAttributeDao
,BmpCollectorDao
,BmpGlobalIpRibDao
,BmpIpRibLogDao
,BmpPeerDao
,BmpRouteInfoDao
,BmpRouterDao
,BmpRpkiInfoDao
,BmpStatsByAsnDao
,BmpStatsByPeerDao
,BmpStatsByPrefixDao
,BmpStatsIpOriginsDao
,BmpStatsPeerRibDao
,BmpUnicastPrefixDao
,BridgeBridgeLinkDao
,BridgeElementDao
,BridgeMacLinkDao
,BridgeStpLinkDao
,BusinessServiceDao
,BusinessServiceEdgeDao
,CategoryDao
,CdpElementDao
,CdpLinkDao
,ClassificationGroupDao
,ClassificationRuleDao
,DistPollerDao
,EventCountDao
,EventDao
,FilterFavoriteDao
,GrafanaEndpointDao
,HwEntityAttributeTypeDao
,HwEntityDao
,IpInterfaceDao
,IpNetToMediaDao
,IsIsElementDao
,IsIsLinkDao
,LayoutDao
,LegacyOnmsDao<T,K>
,LldpElementDao
,LldpLinkDao
,MapFunctionDao
,MemoDao
,MinionDao
,MonitoredServiceDao
,MonitoringLocationDao
,MonitoringSystemDao
,NodeDao
,NotificationDao
,OspfElementDao
,OspfLinkDao
,OutageDao
,PathOutageDao
,ReductionFunctionDao
,ReportCatalogDao
,RequisitionedCategoryAssociationDao
,ResourceReferenceDao
,ServiceTypeDao
,SnmpInterfaceDao
,StatisticsReportDao
,StatisticsReportDataDao
,UserDefinedLinkDao
,UserNotificationDao
- All Known Implementing Classes:
AbstractCachingDaoHibernate
,AbstractDaoHibernate
,AbstractMockDao
,AcknowledgmentDaoHibernate
,AlarmAssociationDaoHibernate
,AlarmDaoHibernate
,ApplicationDaoHibernate
,AssetRecordDaoHibernate
,BmpAsnInfoDaoImpl
,BmpAsnPathAnalysisDaoImpl
,BmpBaseAttributeDaoImpl
,BmpCollectorDaoImpl
,BmpGlobalIpRibDaoImpl
,BmpIpRibLogDaoImpl
,BmpPeerDaoImpl
,BmpRouteInfoDaoImpl
,BmpRouterDaoImpl
,BmpRpkiInfoImpl
,BmpStatsByAsnDaoImpl
,BmpStatsByPeerDaoImpl
,BmpStatsByPrefixDaoImpl
,BmpStatsIpOriginsDaoImpl
,BmpStatsPeerRibDaoImpl
,BmpUnicastPrefixDaoImpl
,BridgeBridgeLinkDaoHibernate
,BridgeElementDaoHibernate
,BridgeMacLinkDaoHibernate
,BridgeStpLinkDaoHibernate
,BusinessServiceDaoImpl
,BusinessServiceEdgeDaoImpl
,CategoryDaoHibernate
,CdpElementDaoHibernate
,CdpLinkDaoHibernate
,ClassificationGroupDaoImpl
,ClassificationRuleDaoImpl
,DistPollerDaoDistributed
,DistPollerDaoHibernate
,EventCountDaoHibernate
,EventDaoHibernate
,FilterFavoriteDaoHibernate
,GrafanaEndpointDaoImpl
,HwEntityAttributeTypeDaoHibernate
,HwEntityDaoHibernate
,IpInterfaceDaoHibernate
,IpNetToMediaDaoHibernate
,IsIsElementDaoHibernate
,IsIsLinkDaoHibernate
,LayoutDaoImpl
,LldpElementDaoHibernate
,LldpLinkDaoHibernate
,MapFunctionDaoImpl
,MemoDaoHibernate
,MinionDaoHibernate
,MockAcknowledgmentDao
,MockAlarmAssociationDao
,MockAlarmDao
,MockApplicationDao
,MockAssetRecordDao
,MockCategoryDao
,MockDistPollerDao
,MockEventDao
,MockFilterFavoriteDao
,MockHwEntityAttributeTypeDao
,MockHwEntityDao
,MockIpInterfaceDao
,MockMemoDao
,MockMonitoredServiceDao
,MockMonitoringLocationDao
,MockMonitoringSystemDao
,MockNodeDao
,MockNotificationDao
,MockOutageDao
,MockPathOutageDao
,MockReportCatalogDao
,MockRequisitionedCategoryAssociationDao
,MockResourceReferenceDao
,MockServiceTypeDao
,MockSnmpInterfaceDao
,MockStatisticsReportDao
,MockUserNotificationDao
,MonitoredServiceDaoHibernate
,MonitoringLocationDaoHibernate
,MonitoringSystemDaoHibernate
,NodeDaoHibernate
,NotificationDaoHibernate
,OspfElementDaoHibernate
,OspfLinkDaoHibernate
,OutageDaoHibernate
,PathOutageDaoHibernate
,ReductionFunctionDaoImpl
,ReportCatalogDaoHibernate
,RequisitionedCategoryAssociationDaoHibernate
,ResourceReferenceDaoHibernate
,ServiceTypeDaoHibernate
,SnmpInterfaceDaoHibernate
,StatisticsReportDaoHibernate
,StatisticsReportDataDaoHibernate
,UnimplementedIpInterfaceDao
,UnimplementedMonitoredServiceDao
,UserDefinedLinkDaoHibernate
,UserNotificationDaoHibernate
public interface OnmsDao<T,K extends Serializable>
OnmsDao interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
clear()
int
countAll()
int
countMatching(Criteria onmsCrit)
void
delete(K key)
void
delete(T entity)
List<T>
findAll()
List<T>
findMatching(Criteria criteria)
void
flush()
T
get(K id)
void
initialize(Object obj)
T
load(K id)
void
lock()
This is used to lock the table in order to implement upsert type operationsK
save(T entity)
void
saveOrUpdate(T entity)
void
update(T entity)
-
-
-
Method Detail
-
lock
void lock()
This is used to lock the table in order to implement upsert type operations
-
initialize
void initialize(Object obj)
-
flush
void flush()
-
clear
void clear()
-
countAll
int countAll()
-
delete
void delete(T entity)
-
delete
void delete(K key)
-
countMatching
int countMatching(Criteria onmsCrit)
-
saveOrUpdate
void saveOrUpdate(T entity)
-
update
void update(T entity)
-
-