Class StatisticsHistoryBean

All Implemented Interfaces:
Serializable

@Named @ViewScoped public class StatisticsHistoryBean extends AStatisticsBean
Author:
XIMA MEDIA GmbH
See Also:
  • Constructor Details

    • StatisticsHistoryBean

      public StatisticsHistoryBean()
  • Method Details

    • init

      @PostConstruct protected void init()
    • getCurrentProjekt

      public Projekt getCurrentProjekt()
    • setCurrentProjekt

      public void setCurrentProjekt(Projekt currentProject)
    • setOffset

      public void setOffset(int offset)
      Parameters:
      offset - the offset to set
    • getOffset

      public int getOffset()
      Returns:
      the offset
    • incrementOffset

      public void incrementOffset()
    • decrementOffset

      public void decrementOffset()
    • getCurrentTimeSpan

      public ETimeSpan getCurrentTimeSpan()
      Returns:
      the currentTimeSpan
    • setCurrentTimeSpan

      public void setCurrentTimeSpan(ETimeSpan currentTimeSpan)
      Parameters:
      currentTimeSpan - the currentTimeSpan to set
    • getHistoryModel

      public org.primefaces.model.charts.line.LineChartModel getHistoryModel()
    • isLive

      public boolean isLive()
    • getProjekte

      public List<Projekt> getProjekte()
    • getExportFilename

      protected String getExportFilename()
      Specified by:
      getExportFilename in class AStatisticsBean
      Returns:
      The file name for the downloaded image file with the chart.
    • fillHistoryModel

      public void fillHistoryModel()
    • fillLiveModel

      public void fillLiveModel()
      Befüllung für die Live-Ansicht (6 Stunden)
    • fillDayModel

      public void fillDayModel()
      Befüllung für die 24-Stunden-Anischt
    • fillWeekModel

      public void fillWeekModel()
      Befüllung für die 7-Tage-Ansicht
    • fillMonthModel

      public void fillMonthModel()
      Befüllung für die Ansicht eines Monats (28 Tage)
    • fillYearModel

      public void fillYearModel()
      Befüllung für die Jahres-Anischt (12 Monate)