| Constructor and Description |
|---|
PageViewReport(String dataPath,
Page page,
WCMMode mode)
Creates a new report.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getPeriod() |
Iterator<Object[]> |
getResult(Session session)
Runs the report and returns a result iterator over
Object[]
instances. |
void |
setPeriod(int period) |
public Iterator<Object[]> getResult(Session session) throws RepositoryException
Object[]
instances. Returns result rows with the following objects:
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 Reportsession - the session giving access to the workspace.Object[] results.RepositoryException - if an error occurs while reading from the
repository.public int getPeriod()
public void setPeriod(int period)
period - the report period in number of daysCopyright © 2010 - 2020 Adobe. All Rights Reserved