private boolean notEqual(final Object obj1, final Object obj2) {
        if (obj1 == null) {
            return obj2 != null;
        }

        return !obj1.equals(obj2);
    }
Page size to use, e.g. 10 is 10 records
stroom-legacy/stroom-legacy-model_6_1/src/main/java/stroom/legacy/model_6_1/PageRequest.java