function findByPath($path)
{
Validation::notEmpty($path, 'path');
$em = $this->getManager();
$resources = $em->getRepository($this->entityClassName)->findByPath($path);
if (isset($resources) && count($resources) > 0) {
return $resources[0];
}
return NULL;
}