Class NodeDaoImpl
- java.lang.Object
-
- org.opennms.features.apilayer.dao.NodeDaoImpl
-
- All Implemented Interfaces:
org.opennms.integration.api.v1.dao.NodeDao
public class NodeDaoImpl extends java.lang.Object implements org.opennms.integration.api.v1.dao.NodeDao
-
-
Constructor Summary
Constructors Constructor Description NodeDaoImpl(NodeDao nodeDao, SessionUtils sessionUtils)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDefaultLocationName()
org.opennms.integration.api.v1.model.Node
getNodeByCriteria(java.lang.String nodeCriteria)
org.opennms.integration.api.v1.model.Node
getNodeByForeignSourceAndForeignId(java.lang.String foreignSource, java.lang.String foreignId)
org.opennms.integration.api.v1.model.Node
getNodeById(java.lang.Integer nodeId)
org.opennms.integration.api.v1.model.Node
getNodeByLabel(java.lang.String nodeLabel)
java.lang.Long
getNodeCount()
java.util.List<java.lang.Integer>
getNodeIds()
java.util.List<org.opennms.integration.api.v1.model.Node>
getNodes()
java.util.List<org.opennms.integration.api.v1.model.Node>
getNodesInForeignSource(java.lang.String foreignSource)
java.util.List<org.opennms.integration.api.v1.model.Node>
getNodesInLocation(java.lang.String locationName)
-
-
-
Constructor Detail
-
NodeDaoImpl
public NodeDaoImpl(NodeDao nodeDao, SessionUtils sessionUtils)
-
-
Method Detail
-
getDefaultLocationName
public java.lang.String getDefaultLocationName()
- Specified by:
getDefaultLocationName
in interfaceorg.opennms.integration.api.v1.dao.NodeDao
-
getNodes
public java.util.List<org.opennms.integration.api.v1.model.Node> getNodes()
- Specified by:
getNodes
in interfaceorg.opennms.integration.api.v1.dao.NodeDao
-
getNodeCount
public java.lang.Long getNodeCount()
- Specified by:
getNodeCount
in interfaceorg.opennms.integration.api.v1.dao.NodeDao
-
getNodeIds
public java.util.List<java.lang.Integer> getNodeIds()
- Specified by:
getNodeIds
in interfaceorg.opennms.integration.api.v1.dao.NodeDao
-
getNodeByCriteria
public org.opennms.integration.api.v1.model.Node getNodeByCriteria(java.lang.String nodeCriteria)
- Specified by:
getNodeByCriteria
in interfaceorg.opennms.integration.api.v1.dao.NodeDao
-
getNodeById
public org.opennms.integration.api.v1.model.Node getNodeById(java.lang.Integer nodeId)
- Specified by:
getNodeById
in interfaceorg.opennms.integration.api.v1.dao.NodeDao
-
getNodeByLabel
public org.opennms.integration.api.v1.model.Node getNodeByLabel(java.lang.String nodeLabel)
- Specified by:
getNodeByLabel
in interfaceorg.opennms.integration.api.v1.dao.NodeDao
-
getNodeByForeignSourceAndForeignId
public org.opennms.integration.api.v1.model.Node getNodeByForeignSourceAndForeignId(java.lang.String foreignSource, java.lang.String foreignId)
- Specified by:
getNodeByForeignSourceAndForeignId
in interfaceorg.opennms.integration.api.v1.dao.NodeDao
-
getNodesInLocation
public java.util.List<org.opennms.integration.api.v1.model.Node> getNodesInLocation(java.lang.String locationName)
- Specified by:
getNodesInLocation
in interfaceorg.opennms.integration.api.v1.dao.NodeDao
-
getNodesInForeignSource
public java.util.List<org.opennms.integration.api.v1.model.Node> getNodesInForeignSource(java.lang.String foreignSource)
- Specified by:
getNodesInForeignSource
in interfaceorg.opennms.integration.api.v1.dao.NodeDao
-
-