Package org.opennms.netmgt.graph.dao.api
Interface GraphContainerDao
-
- All Known Implementing Classes:
GraphContainerDaoImpl
public interface GraphContainerDao
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
delete(java.lang.String containerId)
Looks up the given entity by its container id and afterwards deletes that entity.GraphContainerEntity
findContainerById(java.lang.String containerId)
Returns the GraphContainerEntity identified by the containerId.GraphContainerEntity
findContainerInfoById(java.lang.String containerId)
Returns the GraphContainerEntity, but only populating the properties.void
save(GraphContainerEntity graphContainerEntity)
Saves or Updates the entity.void
update(GraphContainerEntity graphContainerEntity)
Updates the given entity
-
-
-
Method Detail
-
save
void save(GraphContainerEntity graphContainerEntity)
Saves or Updates the entity.- Parameters:
graphContainerEntity
- The entity to save or update
-
findContainerById
GraphContainerEntity findContainerById(java.lang.String containerId)
Returns the GraphContainerEntity identified by the containerId. It is not fully populated.- Parameters:
containerId
- The containerId of the entity- Returns:
- The container or null
-
findContainerInfoById
GraphContainerEntity findContainerInfoById(java.lang.String containerId)
Returns the GraphContainerEntity, but only populating the properties. Vertices and Edges are not initialized.- Parameters:
containerId
- The container id of the entity- Returns:
-
delete
void delete(java.lang.String containerId)
Looks up the given entity by its container id and afterwards deletes that entity.- Parameters:
containerId
- the container id of the entity.
-
update
void update(GraphContainerEntity graphContainerEntity)
Updates the given entity- Parameters:
graphContainerEntity
-
-
-