Package org.opennms.netmgt.dao.api
Interface SnmpInterfaceDao
-
- All Superinterfaces:
LegacyOnmsDao<OnmsSnmpInterface,Integer>
,OnmsDao<OnmsSnmpInterface,Integer>
- All Known Implementing Classes:
MockSnmpInterfaceDao
,SnmpInterfaceDaoHibernate
public interface SnmpInterfaceDao extends LegacyOnmsDao<OnmsSnmpInterface,Integer>
SnmpInterfaceDao interface.
- Author:
- Ted Kazmark, David Hustace
-
-
Method Summary
-
Methods inherited from interface org.opennms.netmgt.dao.api.LegacyOnmsDao
countMatching, findMatching
-
Methods inherited from interface org.opennms.netmgt.dao.api.OnmsDao
clear, countAll, countMatching, delete, delete, findAll, findMatching, flush, get, initialize, load, lock, save, saveOrUpdate, update
-
-
-
-
Method Detail
-
findByNodeIdAndIfIndex
OnmsSnmpInterface findByNodeIdAndIfIndex(Integer nodeId, Integer ifIndex)
findByNodeIdAndIfIndex
- Parameters:
nodeId
- aInteger
object.ifIndex
- aInteger
object.- Returns:
- a
OnmsSnmpInterface
object.
-
findByNodeId
List<OnmsSnmpInterface> findByNodeId(Integer nodeId)
-
findByMacLinksOfNode
List<OnmsSnmpInterface> findByMacLinksOfNode(Integer nodeId)
-
findBySnpaAddressOfRelatedIsIsLink
List<OnmsSnmpInterface> findBySnpaAddressOfRelatedIsIsLink(int nodeId)
Returns all OnmsSnmpInterfaces that have a physAddr that matches an isisISAdjNeighSNPAAddress of an IsIsLink related to the given node. Used to retrieve all OnmsSnmpInterfaces that need to be accessed when finding IsIs links of a node.
-
findByForeignKeyAndIfIndex
OnmsSnmpInterface findByForeignKeyAndIfIndex(String foreignSource, String foreignId, Integer ifIndex)
findByForeignKeyAndIfIndex
- Parameters:
foreignSource
- aString
object.foreignId
- aString
object.ifIndex
- aInteger
object.- Returns:
- a
OnmsSnmpInterface
object.
-
findByNodeIdAndDescription
OnmsSnmpInterface findByNodeIdAndDescription(Integer nodeId, String description)
-
markHavingIngressFlows
void markHavingIngressFlows(Integer nodeId, Collection<Integer> ingressSnmpIfIndexes)
-
markHavingEgressFlows
void markHavingEgressFlows(Integer nodeId, Collection<Integer> egressSnmpIfIndexes)
-
findAllHavingFlows
List<OnmsSnmpInterface> findAllHavingFlows(Integer nodeId)
-
findAllHavingIngressFlows
List<OnmsSnmpInterface> findAllHavingIngressFlows(Integer nodeId)
-
findAllHavingEgressFlows
List<OnmsSnmpInterface> findAllHavingEgressFlows(Integer nodeId)
-
-