Package com.day.cq.statistics
Interface StatisticsService
-
@Deprecated public interface StatisticsServiceDeprecated.Please use Adobe Analytics insteadStatisticsService...
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidaddEntry(Entry entry)Deprecated.Adds an entry to the statistics workspace.java.lang.StringgetPath()Deprecated.java.util.IteratorrunReport(Report report)Deprecated.Runs a report and returns the result of the report.java.util.IteratorrunReport(Session session, Report report)Deprecated.Runs a report and returns the result of the report.
-
-
-
Method Detail
-
runReport
java.util.Iterator runReport(Report report) throws RepositoryException
Deprecated.Runs a report and returns the result of the report. Please note that this implementation serializes access to the underlying session that runs the report. For improved concurrency, userunReport(Session , Report)instead and provide your own session. This method is thread-safe.- Parameters:
report- the report to run.- Returns:
- the result of the report.
- Throws:
RepositoryException- if an error occurs while reading from the workspace.
-
runReport
java.util.Iterator runReport(Session session, Report report) throws RepositoryException
Deprecated.Runs a report and returns the result of the report. This method is thread-safe.- Parameters:
session- The Session to access the data from the repository to generate the reportreport- the report to run.- Returns:
- the result of the report.
- Throws:
RepositoryException- if an error occurs while reading from the workspace.
-
addEntry
void addEntry(Entry entry) throws RepositoryException
Deprecated.Adds an entry to the statistics workspace.- Parameters:
entry- the entry to add.- Throws:
RepositoryException- if an error occurs while writing to the workspace.
-
getPath
java.lang.String getPath()
Deprecated.- Returns:
- the path where statistics are written to.
-
-