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