String paramCompanyName = form.getCompanyName();
String paramFirstName = form.getFirstName();
String paramLastName = form.getLastName();
PersonListDAO dao = new PersonListDAO();
count = dao.countList(paramFirstName, paramLastName, null, null, null, null, paramCompanyName, null, isUserExcluded(), ignoredPersons, user);
if (count < page.getFirstEntry())
page.setPage(1);
if (count > 0)
list = dao.getList(paramFirstName, paramLastName, null, null, null, null, paramCompanyName, null, isUserExcluded(), ignoredPersons, sort, page, user);
else
list = new ArrayList<PersonListVO>();
ScrollBean scroll = new ScrollBean();
scroll.setCount(count);