Interface CdpElementDao
-
- All Superinterfaces:
OnmsDao<CdpElement,Integer>
- All Known Implementing Classes:
CdpElementDaoHibernate
public interface CdpElementDao extends OnmsDao<CdpElement,Integer>
CdpElementDao interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
deleteByNodeId(Integer nodeId)
List<CdpElement>
findByCacheDeviceIdOfCdpLinksOfNode(int nodeId)
Returns all CdpElements that have a globalDeviceId that matches a cacheDeviceId of a CdpLink related to the given node.CdpElement
findByGlobalDeviceId(String deviceId)
CdpElement
findByNodeId(Integer id)
-
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
CdpElement findByNodeId(Integer id)
-
findByGlobalDeviceId
CdpElement findByGlobalDeviceId(String deviceId)
-
findByCacheDeviceIdOfCdpLinksOfNode
List<CdpElement> findByCacheDeviceIdOfCdpLinksOfNode(int nodeId)
Returns all CdpElements that have a globalDeviceId that matches a cacheDeviceId of a CdpLink related to the given node. Used to retrieve all CdpElements that need to be accessed when finding cdp links of a node.
-
deleteByNodeId
void deleteByNodeId(Integer nodeId)
-
-