Interface OspfElementDao
-
- All Superinterfaces:
OnmsDao<OspfElement,Integer>
- All Known Implementing Classes:
OspfElementDaoHibernate
public interface OspfElementDao extends OnmsDao<OspfElement,Integer>
OspfElementDao interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
deleteByNodeId(Integer nodeId)
List<OspfElement>
findAllByRouterId(InetAddress routerId)
OspfElement
findByNodeId(Integer id)
OspfElement
findByRouterId(InetAddress routerId)
List<OspfElement>
findByRouterIdOfRelatedOspfLink(int nodeId)
Returns all OspfElements that have an ospfRouterId that matches an ospfRemRouterId of an OspfLink related to the given node.-
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
-
findByNodeId
OspfElement findByNodeId(Integer id)
-
findByRouterId
OspfElement findByRouterId(InetAddress routerId)
-
findAllByRouterId
List<OspfElement> findAllByRouterId(InetAddress routerId)
-
findByRouterIdOfRelatedOspfLink
List<OspfElement> findByRouterIdOfRelatedOspfLink(int nodeId)
Returns all OspfElements that have an ospfRouterId that matches an ospfRemRouterId of an OspfLink related to the given node. Used to retrieve all OspfElements that need to be accessed when finding Ospf links of a node.
-
deleteByNodeId
void deleteByNodeId(Integer nodeId)
-
-