Class DefaultGraphRepository
- java.lang.Object
-
- org.opennms.netmgt.graph.persistence.DefaultGraphRepository
-
- All Implemented Interfaces:
GraphRepository
public class DefaultGraphRepository extends java.lang.Object implements GraphRepository
-
-
Constructor Summary
Constructors Constructor Description DefaultGraphRepository(SessionUtils sessionUtils, GraphContainerDao graphContainerDao)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteContainer(java.lang.String containerId)
GenericGraphContainer
findContainerById(java.lang.String containerId)
GraphContainerInfo
findContainerInfoById(java.lang.String containerId)
void
save(ImmutableGraphContainer graphContainer)
void
save(GraphContainerInfo containerInfo)
-
-
-
Constructor Detail
-
DefaultGraphRepository
public DefaultGraphRepository(SessionUtils sessionUtils, GraphContainerDao graphContainerDao)
-
-
Method Detail
-
findContainerById
public GenericGraphContainer findContainerById(java.lang.String containerId)
- Specified by:
findContainerById
in interfaceGraphRepository
-
findContainerInfoById
public GraphContainerInfo findContainerInfoById(java.lang.String containerId)
- Specified by:
findContainerInfoById
in interfaceGraphRepository
-
deleteContainer
public void deleteContainer(java.lang.String containerId)
- Specified by:
deleteContainer
in interfaceGraphRepository
-
save
public void save(ImmutableGraphContainer graphContainer)
- Specified by:
save
in interfaceGraphRepository
-
save
public void save(GraphContainerInfo containerInfo)
- Specified by:
save
in interfaceGraphRepository
-
-