public List<DiscoverabilityEntity> getDiscoverabilityByIdPrefix(String idPrefix) {
        return getCriteriaBuilderFactory().create(getActiveEntityManager(), DiscoverabilityEntity.class, "discoverability")
                .where("id").like().expression(":idPrefix%").noEscape()
                .setParameter("idPrefix", idPrefix)
                .getResultList();
    }
@param roleId the role id
@return a role by id
@throws StorageException
manager/api/jpa/src/main/java/io/apiman/manager/api/jpa/JpaStorage.java