public abstract class AbstractMockDao<T,K extends Serializable> extends Object implements LegacyOnmsDao<T,K>, org.springframework.beans.factory.InitializingBean
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractMockDao.NullEventForwarder |
| Constructor and Description |
|---|
AbstractMockDao() |
protected abstract void generateId(T entity)
public void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanprotected ServiceRegistry getServiceRegistry()
public void lock()
OnmsDaolock in interface OnmsDao<T,K extends Serializable>public void initialize(Object obj)
initialize in interface OnmsDao<T,K extends Serializable>public void flush()
flush in interface OnmsDao<T,K extends Serializable>public void clear()
clear in interface OnmsDao<T,K extends Serializable>public int countAll()
countAll in interface OnmsDao<T,K extends Serializable>public void delete(T entity)
delete in interface OnmsDao<T,K extends Serializable>public void delete(K key)
delete in interface OnmsDao<T,K extends Serializable>public List<T> findAll()
findAll in interface OnmsDao<T,K extends Serializable>public List<T> findMatching(Criteria criteria)
findMatching in interface OnmsDao<T,K extends Serializable>public List<T> findMatching(OnmsCriteria criteria)
findMatching in interface LegacyOnmsDao<T,K extends Serializable>public int countMatching(Criteria onmsCrit)
countMatching in interface OnmsDao<T,K extends Serializable>public int countMatching(OnmsCriteria onmsCrit)
countMatching in interface LegacyOnmsDao<T,K extends Serializable>public void saveOrUpdate(T entity)
saveOrUpdate in interface OnmsDao<T,K extends Serializable>public void update(T entity)
update in interface OnmsDao<T,K extends Serializable>protected IpInterfaceDao getIpInterfaceDao()
protected SnmpInterfaceDao getSnmpInterfaceDao()
protected AssetRecordDao getAssetRecordDao()
protected CategoryDao getCategoryDao()
protected MonitoringLocationDao getMonitoringLocationDao()
protected DistPollerDao getDistPollerDao()
protected MonitoredServiceDao getMonitoredServiceDao()
protected ServiceTypeDao getServiceTypeDao()
protected EventDao getEventDao()
protected AlarmDao getAlarmDao()
protected AlarmAssociationDao getAlarmAssociationDao()
protected NodeDao getNodeDao()
Copyright © 2022. All rights reserved.