public List<DiscoverabilityEntity> getDiscoverabilityById(String id) {
        return getCriteriaBuilderFactory().create(getActiveEntityManager(), DiscoverabilityEntity.class, "discoverability")
                .where("id").eqExpression(":id")
                .setParameter("id", id)
                .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