Class WizardController

java.lang.Object
ch.admin.bit.jeap.initializer.ui.WizardController

@Controller @RequestMapping("/wizard") public class WizardController extends Object
  • Constructor Details

    • WizardController

      public WizardController(ch.admin.bit.jeap.initializer.ui.ProjectRequestFactory projectRequestFactory, TemplateService templateService, InitializerController initializerController)
  • Method Details

    • showStepSelectTemplate

      @GetMapping("/step/select-template") public String showStepSelectTemplate(org.springframework.ui.Model model)
    • processStepSelectTemplate

      @PostMapping("/step/select-template") public String processStepSelectTemplate(@Valid @ModelAttribute("templateSelectionModel") @Valid TemplateSelectionModel templateSelectionModel, org.springframework.validation.BindingResult bindingResult, org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
    • showStepConfigureTemplate

      @GetMapping("/step/configure-template") public String showStepConfigureTemplate(@ModelAttribute("templateSelectionModel") TemplateSelectionModel templateSelectionModel, org.springframework.ui.Model model)
    • processStepConfigureTemplate

      @PostMapping("/step/configure-template") public String processStepConfigureTemplate(@Valid @ModelAttribute("templateSelectionModel") @Valid TemplateSelectionModel templateSelectionModel, @Valid @ModelAttribute("templateConfigurationModel") @Valid TemplateConfigurationModel templateConfigurationModel, org.springframework.validation.BindingResult bindingResult, jakarta.servlet.http.HttpServletRequest request, org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
    • showStepConfigureModules

      @GetMapping("/step/configure-modules") public String showStepConfigureModules(@RequestParam("templateSelectionModel") TemplateSelectionModel templateSelectionModel, @RequestParam("templateConfigurationModel") TemplateConfigurationModel templateConfigurationModel, org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
    • processStepConfigureModules

      @PostMapping("/step/configure-modules") public String processStepConfigureModules(@Valid @ModelAttribute("templateSelectionModel") @Valid TemplateSelectionModel templateSelectionModel, @Valid @ModelAttribute("templateConfigurationModel") @Valid TemplateConfigurationModel templateConfigurationModel, @Valid @ModelAttribute("moduleConfigurationModel") @Valid ModuleConfigurationModel moduleConfigurationModel, org.springframework.validation.BindingResult bindingResult, jakarta.servlet.http.HttpServletRequest request, org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
    • review

      @GetMapping("/step/review") public String review(@RequestParam("templateSelectionModel") TemplateSelectionModel templateSelectionModel, @RequestParam("templateConfigurationModel") TemplateConfigurationModel templateConfigurationModel, @RequestParam("moduleConfigurationModel") ModuleConfigurationModel moduleConfigurationModel, org.springframework.ui.Model model)
    • generate

      @PostMapping("/step/generate") public org.springframework.http.ResponseEntity<org.springframework.core.io.InputStreamResource> generate(@Valid @ModelAttribute("templateSelectionModel") @Valid TemplateSelectionModel templateSelectionModel, @Valid @ModelAttribute("templateConfigurationModel") @Valid TemplateConfigurationModel templateConfigurationModel, @Valid @ModelAttribute("moduleConfigurationModel") @Valid ModuleConfigurationModel moduleConfigurationModel) throws IOException
      Throws:
      IOException
    • reset

      @PostMapping("/reset") public String reset()