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
 Collection<OnmsIpInterface> findByIpAddress(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, delete, findAll, findMatching, flush, get, initialize, load, save, saveOrUpdate, update
 

Method Detail

get

OnmsIpInterface get(OnmsNode node,
                    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.