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 voiddelete(String containerId)Looks up the given entity by its container id and afterwards deletes that entity.GraphContainerEntityfindContainerById(String containerId)Returns the GraphContainerEntity identified by the containerId.GraphContainerEntityfindContainerInfoById(String containerId)Returns the GraphContainerEntity, but only populating the properties.voidsave(GraphContainerEntity graphContainerEntity)Saves or Updates the entity.voidupdate(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(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(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(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-
-
-