int endRecord = ((i + recordsData.getBlockSize()) < recordsData
.getRecordsCount()) ? (i + recordsData.getBlockSize())
: recordsData.getRecordsCount();
OptionBean ob = new OptionBean();
ob.setProperty(response.encodeURL(url.toString() + "&block="
+ i));
ob.setLabelProperty((i + 1) + "-" + endRecord);
options.add(ob);
if (i == recordsData.getCurrBlock()) {