diff --git a/database/database.go b/database/database.go index 5f33a14dcb6c095a69dd0f23e4cb32272dafb947..d6ca805a15a3c75d052b6368cb12b8118052e3e6 100644 --- a/database/database.go +++ b/database/database.go @@ -110,11 +110,14 @@ func (d Database) StorePND(pnd *PND) neo4j.Node { //RemovePND removes the given principle network domain by id. func (d Database) RemovePND(id string) {} +//GetPNDByID gets a specific PND by the given ID. func (d Database) GetPNDByID(id string) {} +//GetNodesByLabel gets all nodes that belong to a specific label. func (d Database) GetNodesByLabel(label string) {} -func (d Database) GetDeviceByID(id string) {} +//GetNodeByID gets a specific node by ID. +func (d Database) GetNodeByID(id string) {} //storeNodesTxFunc transaction to store devices from a json. //relates them to a specific pnd id.