Package org.opennms.netmgt.dao.api
Interface SnmpInterfaceDao
-
- All Superinterfaces:
LegacyOnmsDao<OnmsSnmpInterface,java.lang.Integer>
,OnmsDao<OnmsSnmpInterface,java.lang.Integer>
- All Known Implementing Classes:
MockSnmpInterfaceDao
,SnmpInterfaceDaoHibernate
public interface SnmpInterfaceDao extends LegacyOnmsDao<OnmsSnmpInterface,java.lang.Integer>
SnmpInterfaceDao interface.
- Author:
- Ted Kazmark, David Hustace
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<OnmsSnmpInterface>
findAllHavingEgressFlows(java.lang.Integer nodeId)
java.util.List<OnmsSnmpInterface>
findAllHavingFlows(java.lang.Integer nodeId)
java.util.List<OnmsSnmpInterface>
findAllHavingIngressFlows(java.lang.Integer nodeId)
OnmsSnmpInterface
findByForeignKeyAndIfIndex(java.lang.String foreignSource, java.lang.String foreignId, java.lang.Integer ifIndex)
findByForeignKeyAndIfIndexOnmsSnmpInterface
findByNodeIdAndDescription(java.lang.Integer nodeId, java.lang.String description)
OnmsSnmpInterface
findByNodeIdAndIfIndex(java.lang.Integer nodeId, java.lang.Integer ifIndex)
findByNodeIdAndIfIndexvoid
markHavingEgressFlows(java.lang.Integer nodeId, java.util.Collection<java.lang.Integer> egressSnmpIfIndexes)
void
markHavingIngressFlows(java.lang.Integer nodeId, java.util.Collection<java.lang.Integer> ingressSnmpIfIndexes)
-
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(java.lang.Integer nodeId, java.lang.Integer ifIndex)
findByNodeIdAndIfIndex
- Parameters:
nodeId
- aInteger
object.ifIndex
- aInteger
object.- Returns:
- a
OnmsSnmpInterface
object.
-
findByForeignKeyAndIfIndex
OnmsSnmpInterface findByForeignKeyAndIfIndex(java.lang.String foreignSource, java.lang.String foreignId, java.lang.Integer ifIndex)
findByForeignKeyAndIfIndex
- Parameters:
foreignSource
- aString
object.foreignId
- aString
object.ifIndex
- aInteger
object.- Returns:
- a
OnmsSnmpInterface
object.
-
findByNodeIdAndDescription
OnmsSnmpInterface findByNodeIdAndDescription(java.lang.Integer nodeId, java.lang.String description)
-
markHavingIngressFlows
void markHavingIngressFlows(java.lang.Integer nodeId, java.util.Collection<java.lang.Integer> ingressSnmpIfIndexes)
-
markHavingEgressFlows
void markHavingEgressFlows(java.lang.Integer nodeId, java.util.Collection<java.lang.Integer> egressSnmpIfIndexes)
-
findAllHavingFlows
java.util.List<OnmsSnmpInterface> findAllHavingFlows(java.lang.Integer nodeId)
-
findAllHavingIngressFlows
java.util.List<OnmsSnmpInterface> findAllHavingIngressFlows(java.lang.Integer nodeId)
-
findAllHavingEgressFlows
java.util.List<OnmsSnmpInterface> findAllHavingEgressFlows(java.lang.Integer nodeId)
-
-