@RequestMapping(value="/statistik") @Controller public class StatistikController extends Object
Modifier and Type | Field and Description |
---|---|
(package private) GrenzenDao |
grenzenDao |
(package private) KategorieDao |
kategorieDao |
(package private) org.apache.log4j.Logger |
logger |
(package private) SecurityService |
securityService |
(package private) SettingsService |
settingsService |
(package private) StatistikDao |
statistikDao |
(package private) VorgangDao |
vorgangDao |
Constructor and Description |
---|
StatistikController() |
Modifier and Type | Method and Description |
---|---|
String |
kumulativ(org.springframework.ui.Model model,
javax.servlet.http.HttpServletRequest request)
Die Methode verarbeitet den GET-Request auf der URL
/statistik/kumulativ Seitenbeschreibung: Eingabefelder für Kumulative Statistik |
String |
kumulativSubmit(StatistikCommand cmd,
org.springframework.ui.Model model,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
String |
zeitraum(org.springframework.ui.Model model,
javax.servlet.http.HttpServletRequest request)
Die Methode verarbeitet den GET-Request auf der URL
/statistik/zeitraum Seitenbeschreibung: Eingabefelder für Statistik innerhalb eines anzugebenen Zeitraumes |
String |
zeitraumSubmit(StatistikCommand cmd,
org.springframework.ui.Model model,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
org.apache.log4j.Logger logger
@Autowired GrenzenDao grenzenDao
@Autowired KategorieDao kategorieDao
@Autowired StatistikDao statistikDao
@Autowired VorgangDao vorgangDao
@Autowired SecurityService securityService
@Autowired SettingsService settingsService
@RequestMapping(value="/kumulativ", method=GET) public String kumulativ(org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request)
/statistik/kumulativ
model
- Model in dem ggf. Daten für die View abgelegt werdenrequest
- Request@RequestMapping(value="/kumulativ", method=POST) public String kumulativSubmit(@ModelAttribute(value="cmd") StatistikCommand cmd, org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException
IOException
@RequestMapping(value="/zeitraum", method=GET) public String zeitraum(org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request)
/statistik/zeitraum
model
- Model in dem ggf. Daten für die View abgelegt werdenrequest
- Request@RequestMapping(value="/zeitraum", method=POST) public String zeitraumSubmit(@ModelAttribute(value="cmd") StatistikCommand cmd, org.springframework.ui.Model model, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException
IOException
Copyright © 2019. All rights reserved.