public function addAccessEntity(AccessEntity $accessEntity)
    {
        try {
            $em = $this->entityManager->getDoctrineEntityManager();
            $em->persist($accessEntity);
            $em->flush();
            
            return $accessEntity->getUuid();
        } catch (\Exception $e) {
            throw new Exception('Cannot add the new access entitiy "' . $accessEntity->getName() . '".', 0, $e);
        }
    }