Package org.emau.icmvc.ganimed.ttp.psn
Interface StatisticManager
public interface StatisticManager
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addStat
(StatisticDTO stat) insert a new statisic bean into the databasevoid
enableScheduling
(boolean enable) get all generated statisticsget last generated statisticcreates a new stat entry
-
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()creates a new stat entry- Returns:
- created stat entry
-
addStat
insert a new statisic bean into the database- Parameters:
stat
- statistical data
-
enableScheduling
void enableScheduling(boolean enable)
-