return getUniqueVisitorCountByTimeRange(siteId, null);
}
public Pagination flowAnalysisPage(String groupCondition, Integer siteId,
Integer pageNo, Integer pageSize) {
Finder f = createCacheableFinder("select count(*),bean."
+ groupCondition
+ " from CmsSiteFlow bean where bean.site.id=:siteId group by bean."
+ groupCondition + " order by count(*) desc");
f.setParam("siteId", siteId);
f.setMaxResults(pageSize);
f.setFirstResult((pageNo - 1) * pageSize);
return new Pagination(pageNo, pageSize, getTotalCount(f.getOrigHql(),
siteId), find(f));
}