Interface StatisticsService


  • @Deprecated
    public interface StatisticsService
    Deprecated.
    Please use Adobe Analytics instead StatisticsService...
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      void addEntry​(com.day.crx.statistics.Entry entry)
      Deprecated.
      Adds an entry to the statistics workspace.
      java.lang.String getPath()
      Deprecated.
       
      java.util.Iterator runReport​(com.day.crx.statistics.Report report)
      Deprecated.
      Runs a report and returns the result of the report.
      java.util.Iterator runReport​(javax.jcr.Session session, com.day.crx.statistics.Report report)
      Deprecated.
      Runs a report and returns the result of the report.
    • Method Detail

      • runReport

        java.util.Iterator runReport​(com.day.crx.statistics.Report report)
                              throws javax.jcr.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, use runReport(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:
        javax.jcr.RepositoryException - if an error occurs while reading from the workspace.
      • runReport

        java.util.Iterator runReport​(javax.jcr.Session session,
                                     com.day.crx.statistics.Report report)
                              throws javax.jcr.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 report
        report - the report to run.
        Returns:
        the result of the report.
        Throws:
        javax.jcr.RepositoryException - if an error occurs while reading from the workspace.
      • addEntry

        void addEntry​(com.day.crx.statistics.Entry entry)
               throws javax.jcr.RepositoryException
        Deprecated.
        Adds an entry to the statistics workspace.
        Parameters:
        entry - the entry to add.
        Throws:
        javax.jcr.RepositoryException - if an error occurs while writing to the workspace.
      • getPath

        java.lang.String getPath()
        Deprecated.
        Returns:
        the path where statistics are written to.