Interface LldpElementDao
-
- All Superinterfaces:
OnmsDao<LldpElement,Integer>
- All Known Implementing Classes:
LldpElementDaoHibernate
public interface LldpElementDao extends OnmsDao<LldpElement,Integer>
LldpElementDao interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
deleteByNodeId(Integer nodeid)
List<LldpElement>
findByChassisId(String chassisId, LldpUtils.LldpChassisIdSubType type)
List<LldpElement>
findByChassisOfLldpLinksOfNode(int nodeId)
Returns all LldpElements that have a chassisId/chassisIdSubType that match the corresponding fields of a LldpElement that is related to the given node.LldpElement
findByNodeId(Integer id)
LldpElement
findBySysname(String sysname)
-
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
LldpElement findByNodeId(Integer id)
-
findByChassisId
List<LldpElement> findByChassisId(String chassisId, LldpUtils.LldpChassisIdSubType type)
-
findByChassisOfLldpLinksOfNode
List<LldpElement> findByChassisOfLldpLinksOfNode(int nodeId)
Returns all LldpElements that have a chassisId/chassisIdSubType that match the corresponding fields of a LldpElement that is related to the given node. Used to retrieve all LldpElements that need to be accessed when finding lldp links of a node.
-
findBySysname
LldpElement findBySysname(String sysname)
-
deleteByNodeId
void deleteByNodeId(Integer nodeid)
-
-