public class ResultHistoryReport extends Report
ResultHistoryReport implements a report that returns historical
data about a given result.| Constructor and Description |
|---|
ResultHistoryReport(String dataPath,
String path)
Creates a new report.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getPeriod() |
Iterator |
getResult(Session session)
Runs the report and returns a result iterator over
Object[]
instances. |
void |
setPeriod(int period) |
public Iterator getResult(Session session) throws RepositoryException
Object[]
instances.
Returns result rows with the following objects:
String, which indicates the monthLong count (how many times the result was selected)getResult 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 days.Copyright © 2010 - 2020 Adobe. All Rights Reserved