Package com.day.cq.reporting
Interface ReportExtensions
-
public interface ReportExtensions
This interface provides several extensions to reports that were introduced later and were not added to the originalReport
interface to not break backward compatibility.- Since:
- 5.5
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getReportingVersion()
Gets the version of reporting a report has been created for.long
getReportTimeReference()
Gets the time the report is created for.
-
-
-
Method Detail
-
getReportingVersion
int getReportingVersion()
Gets the version of reporting a report has been created for.- Returns:
- 0 for CQ 5.4, 1 for CQ 5.5
-
getReportTimeReference
long getReportTimeReference()
Gets the time the report is created for.
This is used for calculating time differences to "now", to have a single reference for such calculations.
- Returns:
- The time code (in milliseconds)
-
-