public function deleteNodeData($nodeId)
    {
        $query = $this->getEntityManager()->createQuery('DELETE FROM YdleHubBundle:NodeData d WHERE d.node = :node')->setParameter('node', $nodeId);
        
        return $query->execute();
    }