@SessionAttributes(value="cmdlobhinweisekritik") @RequestMapping(value="/admin/lobhinweisekritik") @Controller public class AdminLobHinweiseKritikController extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) LobHinweiseKritikDao |
lobHinweiseKritikDao |
| Constructor and Description |
|---|
AdminLobHinweiseKritikController() |
| Modifier and Type | Method and Description |
|---|---|
private int |
calculateMaxPages(int size,
long count)
Ermittelt die Anzahl maximal benötigter Seiten aus:
|
AdminLobHinweiseKritikCommand |
initCommand() |
String |
lobhinweisekritik(AdminLobHinweiseKritikCommand cmdlobhinweisekritik,
org.springframework.ui.ModelMap modelMap)
Die Methode verarbeitet den GET-Request auf der URL
/admin/lobhinweisekritik |
@Autowired LobHinweiseKritikDao lobHinweiseKritikDao
@ModelAttribute(value="cmdlobhinweisekritik") public AdminLobHinweiseKritikCommand initCommand()
@RequestMapping(method=GET) public String lobhinweisekritik(@ModelAttribute(value="cmdlobhinweisekritik") AdminLobHinweiseKritikCommand cmdlobhinweisekritik, org.springframework.ui.ModelMap modelMap)
/admin/lobhinweisekritikcmdlobhinweisekritik - CommandmodelMap - Model in der ggf. Daten für die View abgelegt werdenprivate int calculateMaxPages(int size,
long count)
size - gewünschter Anzahl an Elementen pro Seitecount - gegebener Anzahl an darzustellender ElementeCopyright © 2019. All rights reserved.