Interface ReportExtensions


  • public interface ReportExtensions
    This interface provides several extensions to reports that were introduced later and were not added to the original Report interface to not break backward compatibility.
    Since:
    5.5
    • 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)