public class PageViewReport
extends com.day.crx.statistics.Report
PageViewReport
implements a report that returns historical data
about Page
views.Constructor and Description |
---|
PageViewReport(java.lang.String dataPath,
Page page,
WCMMode mode)
Creates a new report.
|
Modifier and Type | Method and Description |
---|---|
int |
getPeriod() |
java.util.Iterator<java.lang.Object[]> |
getResult(Session session)
Returns result rows with the following objects:
Path
String , which indicates the day
Long count :how many times the page has been viewed on thath day
Long rollingCount: how many times the page has been viewed in the last 30days
|
void |
setPeriod(int period) |
public java.util.Iterator<java.lang.Object[]> getResult(Session session) throws RepositoryException
String
, which indicates the dayLong
count :how many times the page has been viewed on thath dayLong
rollingCount: how many times the page has been viewed in the last 30daysgetResult
in class com.day.crx.statistics.Report
RepositoryException
public int getPeriod()
public void setPeriod(int period)
period
- the report period in number of daysCopyright © 2010 - 2023 Adobe. All Rights Reserved