public abstract class AbstractWizardController extends PluginController
PLUGIN_URI_PREFIX| Constructor and Description |
|---|
AbstractWizardController(String uri,
String wizardName) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Wizard |
createWizard() |
List<String> |
getJavascripts() |
List<String> |
getStylesheets() |
String |
init(javax.servlet.http.HttpServletRequest request) |
String |
next(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Wizard wizard,
org.springframework.validation.BindingResult result,
org.springframework.ui.Model model) |
protected void |
onInit(javax.servlet.http.HttpServletRequest request) |
String |
previous(javax.servlet.http.HttpServletResponse response,
Wizard wizard) |
String |
restart(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpSession session) |
Wizard |
wizard(javax.servlet.http.HttpSession session) |
getId, getPluginSettings, getUriprotected abstract Wizard createWizard()
@ModelAttribute(value="wizard") public Wizard wizard(javax.servlet.http.HttpSession session)
@GetMapping(value="/**") public String init(javax.servlet.http.HttpServletRequest request)
protected void onInit(javax.servlet.http.HttpServletRequest request)
@PostMapping(value="/next") public String next(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, @ModelAttribute(value="wizard") Wizard wizard, org.springframework.validation.BindingResult result, org.springframework.ui.Model model) throws IOException
IOException@PostMapping(value="/previous") public String previous(javax.servlet.http.HttpServletResponse response, @ModelAttribute(value="wizard") Wizard wizard) throws IOException
IOException@RequestMapping(value="/restart") public String restart(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpSession session)
Copyright © 2017. All rights reserved.