Interface StatisticManager


public interface StatisticManager
  • Method Details

    • getLatestStats

      StatisticDTO getLatestStats()
      get last generated statistic
      Returns:
      last generated stat
    • getAllStats

      List<StatisticDTO> getAllStats()
      get all generated statistics
      Returns:
      list of stats
    • updateStats

      StatisticDTO updateStats() throws StatisticException
      creates a new stat entry
      Returns:
      created stat entry
      Throws:
      StatisticException
    • addStat

      void addStat(StatisticDTO stat)
      insert a new statisic bean into the database
      Parameters:
      stat - statistical data
    • enableScheduling

      void enableScheduling(boolean enable)