public function getNodePathString(VersionInfo $versionInfo)
{
$connection = $this->getConnection();
$selectQuery = $connection->createSelectQuery();
$selectQuery->select('path_identification_string')->from($connection->quoteTable('ezcontentobject_tree'))->where($selectQuery->expr->lAnd($selectQuery->expr->eq($connection->quoteColumn('contentobject_id'), $selectQuery->bindValue($versionInfo->contentInfo->id)), $selectQuery->expr->eq($connection->quoteColumn('contentobject_version'), $selectQuery->bindValue($versionInfo->versionNo)), $selectQuery->expr->eq($connection->quoteColumn('node_id'), $connection->quoteColumn('main_node_id'))));
$statement = $selectQuery->prepare();
$statement->execute();
return $statement->fetchColumn();
}