String paramUserName = form.getUserName();
String paramFirstName = form.getFirstName();
String paramLastName = form.getLastName();
String paramName = form.getName();
CalendarListDAO dao = new CalendarListDAO();
count = dao.countList(paramName, paramUserName, paramFirstName, paramLastName, null, user);
if (count < page.getFirstEntry())
page.setPage(1);
if (count > 0)
list = dao.getList(paramName, paramUserName, paramFirstName, paramLastName, null, sort, page, user);
else
list = new ArrayList<CalendarListVO>();
ScrollBean scroll = new ScrollBean();
scroll.setCount(count);