Class EdgeDaoImpl

  • All Implemented Interfaces:
    org.opennms.integration.api.v1.dao.EdgeDao

    public class EdgeDaoImpl
    extends java.lang.Object
    implements org.opennms.integration.api.v1.dao.EdgeDao
    This class acts as a simple intermediary layer on top of OnmsTopologyDao to satisfy the contract of the integration API by exposing the functionality only via OSGI.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getEdgeCount()  
      long getEdgeCount​(org.opennms.integration.api.v1.model.TopologyProtocol protocol)  
      java.util.Set<org.opennms.integration.api.v1.model.TopologyEdge> getEdges()  
      java.util.Set<org.opennms.integration.api.v1.model.TopologyEdge> getEdges​(org.opennms.integration.api.v1.model.TopologyProtocol protocol)  
      java.util.Set<org.opennms.integration.api.v1.model.TopologyProtocol> getProtocols()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getEdgeCount

        public long getEdgeCount()
        Specified by:
        getEdgeCount in interface org.opennms.integration.api.v1.dao.EdgeDao
      • getEdgeCount

        public long getEdgeCount​(org.opennms.integration.api.v1.model.TopologyProtocol protocol)
        Specified by:
        getEdgeCount in interface org.opennms.integration.api.v1.dao.EdgeDao
      • getEdges

        public java.util.Set<org.opennms.integration.api.v1.model.TopologyEdge> getEdges()
        Specified by:
        getEdges in interface org.opennms.integration.api.v1.dao.EdgeDao
      • getEdges

        public java.util.Set<org.opennms.integration.api.v1.model.TopologyEdge> getEdges​(org.opennms.integration.api.v1.model.TopologyProtocol protocol)
        Specified by:
        getEdges in interface org.opennms.integration.api.v1.dao.EdgeDao
      • getProtocols

        public java.util.Set<org.opennms.integration.api.v1.model.TopologyProtocol> getProtocols()
        Specified by:
        getProtocols in interface org.opennms.integration.api.v1.dao.EdgeDao