public static PageResponse createPageResponse(final List<?> values) {
        if (values != null && !values.isEmpty()) {
            return new PageResponse(0L, values.size(), (long) values.size(), true);
        }
        return PageResponse.empty();
    }
Used for full queries (not bounded).
stroom-util-shared/src/main/java/stroom/util/shared/ResultPage.java