public function getNodeByIdentifier($uuid)
{
$this->assertLoggedIn();
$query = 'SELECT * FROM phpcr_nodes WHERE identifier = ? AND workspace_name = ?';
$row = $this->getConnection()->fetchAssoc($query, array($uuid, $this->workspaceName));
if (!$row) {
throw new ItemNotFoundException("Item {$uuid} not found in workspace " . $this->workspaceName);
}
$path = $row['path'];
$data = $this->getNodeData($row);
$data->{':jcr:path'} = $path;
return $data;
}