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