@Controller
@RequestMapping(value="/plugin/questionnaires")
public class QuestionnairePluginController
extends org.molgenis.web.PluginController
| Modifier and Type | Class and Description |
|---|---|
static class |
QuestionnairePluginController.Questionnaire |
| Constructor and Description |
|---|
QuestionnairePluginController(DataService dataService,
ThankYouTextService thankYouTextService,
EntityManager entityManager) |
| Modifier and Type | Method and Description |
|---|---|
String |
showQuestionnairForm(String name,
org.springframework.ui.Model model,
javax.servlet.http.HttpServletResponse response) |
String |
showThanks(String name,
org.springframework.ui.Model model,
javax.servlet.http.HttpServletResponse response) |
String |
showView(org.springframework.ui.Model model) |
public static final String ID
public static final String URI
public QuestionnairePluginController(DataService dataService, ThankYouTextService thankYouTextService, EntityManager entityManager)
@GetMapping public String showView(org.springframework.ui.Model model)
@GetMapping(value="/{name}")
public String showQuestionnairForm(@PathVariable(value="name")
String name,
org.springframework.ui.Model model,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOException@GetMapping(value="/{name}/thanks")
public String showThanks(@PathVariable(value="name")
String name,
org.springframework.ui.Model model,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOExceptionCopyright © 2018. All rights reserved.