@Controller @RequestMapping(value="/plugin/questionnaires") public class QuestionnairePluginController extends MolgenisPluginController
| Modifier and Type | Class and Description |
|---|---|
static class |
QuestionnairePluginController.Questionnaire |
| Modifier and Type | Field and Description |
|---|---|
static String |
ID |
static String |
URI |
PLUGIN_URI_PREFIX| Constructor and Description |
|---|
QuestionnairePluginController(DataService dataService,
ThankYouTextService thankYouTextService,
LanguageService languageService,
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) |
getId, getPluginSettings, getUripublic static final String ID
public static final String URI
@Autowired public QuestionnairePluginController(DataService dataService, ThankYouTextService thankYouTextService, LanguageService languageService, EntityManager entityManager)
@RequestMapping(method=GET) public String showView(org.springframework.ui.Model model)
@RequestMapping(value="/{name}")
public String showQuestionnairForm(@PathVariable(value="name")
String name,
org.springframework.ui.Model model,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOException@RequestMapping(value="/{name}/thanks")
public String showThanks(@PathVariable(value="name")
String name,
org.springframework.ui.Model model,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOExceptionCopyright © 2017. All Rights Reserved.