58596061626364
Date[] dates = GnizrDaoUtil.getTimeRangeDate(timeRange); if(dates != null){ int numOfForUser = forUserDao.getForUserCount(user, dates[0],dates[1]); return calcMaxPageNum(numOfForUser, perPageCount); } throw new InvalidTimeRangeValueException(); }
79808182838485
List<ForUser> linksForUser = forUserDao.pageForUser(user, dates[0], dates[1], offset, count); logger.debug("return # of GnizrForUser: " + linksForUser.size()); return linksForUser; } throw new InvalidTimeRangeValueException(); }