public function getGenericResources($limit = 10, $mode = AbstractQuery::HYDRATE_OBJECT)
    {
        $builder = $this->getEntityManager()->createQueryBuilder();

        $builder->select('e')
            ->from($this->getEntity(), 'e')
            ->where('e.isGeneric = 1')
            ->setMaxResults($limit);

        $query = LocaleAwareTrait::addHints($builder->getQuery());

        return $query->execute($mode);
    }