Class AStatisticsBean

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
StatisticsHistoryBean, StatisticsSessionsBean

public abstract class AStatisticsBean extends FCContextBean
Base class for beans for a PrimeFaces chart. Provides utility functions to offer a download link to the user.
Author:
XIMA MEDIA GmbH
See Also:
  • Constructor Details

    • AStatisticsBean

      public AStatisticsBean()
  • Method Details

    • setExportData

      public void setExportData()
      Saves the data to be exported.
    • getExport

      public org.primefaces.model.StreamedContent getExport()
      Returns:
      The image file containing the current chart.
    • getExportFilename

      protected abstract String getExportFilename()
      Returns:
      The file name for the downloaded image file with the chart.