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 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 String
getDefaultLocationName()
org.opennms.integration.api.v1.model.Node
getNodeByCriteria(String nodeCriteria)
org.opennms.integration.api.v1.model.Node
getNodeByForeignSourceAndForeignId(String foreignSource, String foreignId)
org.opennms.integration.api.v1.model.Node
getNodeById(Integer nodeId)
org.opennms.integration.api.v1.model.Node
getNodeByLabel(String nodeLabel)
Long
getNodeCount()
List<Integer>
getNodeIds()
List<org.opennms.integration.api.v1.model.Node>
getNodes()
List<org.opennms.integration.api.v1.model.Node>
getNodesInForeignSource(String foreignSource)
List<org.opennms.integration.api.v1.model.Node>
getNodesInLocation(String locationName)
-
-
-
Constructor Detail
-
NodeDaoImpl
public NodeDaoImpl(NodeDao nodeDao, SessionUtils sessionUtils)
-
-
Method Detail
-
getDefaultLocationName
public String getDefaultLocationName()
- Specified by:
getDefaultLocationName
in interfaceorg.opennms.integration.api.v1.dao.NodeDao
-
getNodes
public List<org.opennms.integration.api.v1.model.Node> getNodes()
- Specified by:
getNodes
in interfaceorg.opennms.integration.api.v1.dao.NodeDao
-
getNodeCount
public Long getNodeCount()
- Specified by:
getNodeCount
in interfaceorg.opennms.integration.api.v1.dao.NodeDao
-
getNodeIds
public List<Integer> getNodeIds()
- Specified by:
getNodeIds
in interfaceorg.opennms.integration.api.v1.dao.NodeDao
-
getNodeByCriteria
public org.opennms.integration.api.v1.model.Node getNodeByCriteria(String nodeCriteria)
- Specified by:
getNodeByCriteria
in interfaceorg.opennms.integration.api.v1.dao.NodeDao
-
getNodeById
public org.opennms.integration.api.v1.model.Node getNodeById(Integer nodeId)
- Specified by:
getNodeById
in interfaceorg.opennms.integration.api.v1.dao.NodeDao
-
getNodeByLabel
public org.opennms.integration.api.v1.model.Node getNodeByLabel(String nodeLabel)
- Specified by:
getNodeByLabel
in interfaceorg.opennms.integration.api.v1.dao.NodeDao
-
getNodeByForeignSourceAndForeignId
public org.opennms.integration.api.v1.model.Node getNodeByForeignSourceAndForeignId(String foreignSource, String foreignId)
- Specified by:
getNodeByForeignSourceAndForeignId
in interfaceorg.opennms.integration.api.v1.dao.NodeDao
-
getNodesInLocation
public List<org.opennms.integration.api.v1.model.Node> getNodesInLocation(String locationName)
- Specified by:
getNodesInLocation
in interfaceorg.opennms.integration.api.v1.dao.NodeDao
-
-