Class EdgeDaoImpl

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

    public class EdgeDaoImpl
    extends 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 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 Set<org.opennms.integration.api.v1.model.TopologyEdge> getEdges()
        Specified by:
        getEdges in interface org.opennms.integration.api.v1.dao.EdgeDao
      • getEdges

        public 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 Set<org.opennms.integration.api.v1.model.TopologyProtocol> getProtocols()
        Specified by:
        getProtocols in interface org.opennms.integration.api.v1.dao.EdgeDao