org.opennms.netmgt.dao
Interface IpInterfaceDao

All Superinterfaces:
OnmsDao<OnmsIpInterface,Integer>
All Known Implementing Classes:
IpInterfaceDaoHibernate

public interface IpInterfaceDao
extends OnmsDao<OnmsIpInterface,Integer>

Author:
Ted Kazmark, David Hustace, Matt Brozowski

Method Summary
 OnmsIpInterface findByForeignKeyAndIpAddress(String foreignSource, String foreignId, String ipAddress)
           
 Collection<OnmsIpInterface> findByIpAddress(String ipAddress)
           
 OnmsIpInterface findByNodeIdAndIpAddress(Integer nodeId, String ipAddress)
           
 Collection<OnmsIpInterface> findByServiceType(String svcName)
           
 Collection<OnmsIpInterface> findHierarchyByServiceType(String svcName)
           
 OnmsIpInterface get(OnmsNode node, String ipAddress)
           
 Map<String,Integer> getInterfacesForNodes()
          Returns a map of all IP to node ID mappings in the database.
 
Methods inherited from interface org.opennms.netmgt.dao.OnmsDao
clear, countAll, countMatching, delete, findAll, findMatching, flush, get, initialize, load, save, saveOrUpdate, update
 

Method Detail

get

OnmsIpInterface get(OnmsNode node,
                    String ipAddress)

findByNodeIdAndIpAddress

OnmsIpInterface findByNodeIdAndIpAddress(Integer nodeId,
                                         String ipAddress)

findByForeignKeyAndIpAddress

OnmsIpInterface findByForeignKeyAndIpAddress(String foreignSource,
                                             String foreignId,
                                             String ipAddress)

findByIpAddress

Collection<OnmsIpInterface> findByIpAddress(String ipAddress)

findByServiceType

Collection<OnmsIpInterface> findByServiceType(String svcName)

findHierarchyByServiceType

Collection<OnmsIpInterface> findHierarchyByServiceType(String svcName)

getInterfacesForNodes

Map<String,Integer> getInterfacesForNodes()
Returns a map of all IP to node ID mappings in the database.



Copyright © 2009. All Rights Reserved.