public class MockIpInterfaceDao extends AbstractMockDao<OnmsIpInterface,Integer> implements IpInterfaceDao
AbstractMockDao.NullEventForwarder| Constructor and Description |
|---|
MockIpInterfaceDao() |
afterPropertiesSet, clear, countAll, countMatching, countMatching, delete, findAll, findMatching, findMatching, get, getAlarmDao, getAssetRecordDao, getCategoryDao, getDistPollerDao, getEventDao, getIpInterfaceDao, getMonitoredServiceDao, getMonitoringLocationDao, getNodeDao, getServiceRegistry, getServiceTypeDao, getSnmpInterfaceDao, initialize, load, lock, saveOrUpdateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcountMatching, findMatchingclear, countAll, countMatching, delete, findAll, findMatching, get, initialize, load, lock, saveOrUpdatepublic Integer save(OnmsIpInterface iface)
save in interface OnmsDao<OnmsIpInterface,Integer>save in class AbstractMockDao<OnmsIpInterface,Integer>public void update(OnmsIpInterface iface)
update in interface OnmsDao<OnmsIpInterface,Integer>update in class AbstractMockDao<OnmsIpInterface,Integer>public void flush()
flush in interface OnmsDao<OnmsIpInterface,Integer>flush in class AbstractMockDao<OnmsIpInterface,Integer>public void delete(OnmsIpInterface iface)
delete in interface OnmsDao<OnmsIpInterface,Integer>delete in class AbstractMockDao<OnmsIpInterface,Integer>protected void generateId(OnmsIpInterface iface)
generateId in class AbstractMockDao<OnmsIpInterface,Integer>protected Integer getId(OnmsIpInterface iface)
getId in class AbstractMockDao<OnmsIpInterface,Integer>public OnmsIpInterface get(OnmsNode node, String ipAddress)
IpInterfaceDaoget
get in interface IpInterfaceDaonode - a OnmsNode object.ipAddress - a String object.OnmsIpInterface object.public OnmsIpInterface findByNodeIdAndIpAddress(Integer nodeId, String ipAddress)
IpInterfaceDaofindByNodeIdAndIpAddress
findByNodeIdAndIpAddress in interface IpInterfaceDaonodeId - a Integer object.ipAddress - a String object.OnmsIpInterface object.public OnmsIpInterface findByForeignKeyAndIpAddress(String foreignSource, String foreignId, String ipAddress)
IpInterfaceDaofindByForeignKeyAndIpAddress
findByForeignKeyAndIpAddress in interface IpInterfaceDaoforeignSource - a String object.foreignId - a String object.ipAddress - a String object.OnmsIpInterface object.public List<OnmsIpInterface> findByIpAddress(String ipAddress)
IpInterfaceDaofindByIpAddress
findByIpAddress in interface IpInterfaceDaoipAddress - a String object.Collection object.public List<OnmsIpInterface> findByNodeId(Integer nodeId)
IpInterfaceDaofindByNodeId
findByNodeId in interface IpInterfaceDaonodeId - a Integer object.Collection object.public List<OnmsIpInterface> findByServiceType(String svcName)
IpInterfaceDaofindByServiceType
findByServiceType in interface IpInterfaceDaosvcName - a String object.Collection object.public List<OnmsIpInterface> findHierarchyByServiceType(String svcName)
IpInterfaceDaofindHierarchyByServiceType
findHierarchyByServiceType in interface IpInterfaceDaosvcName - a String object.Collection object.public Map<InetAddress,Integer> getInterfacesForNodes()
IpInterfaceDaogetInterfacesForNodes in interface IpInterfaceDaoMap object.public OnmsIpInterface findPrimaryInterfaceByNodeId(Integer nodeId)
findPrimaryInterfaceByNodeId in interface IpInterfaceDaoCopyright © 2020. All rights reserved.