105106107108109110111
return new PersonResponse().withResults(result); } @Override protected PersonFindResponse createFindResponse(List<Person> results) { return new PersonFindResponse().withResults(results).withCount(results.size()); }
110111112113114115116
return new PersonFindResponse().withResults(results).withCount(results.size()); } @Override protected PersonFindResponse createFindResponse(List<Person> results, long count) { return new PersonFindResponse().withResults(results).withCount(count); }