Class SimpleSurveyCreationController
java.lang.Object
org.openforis.collect.web.controller.SimpleSurveyCreationController
@Controller
@RequestMapping("/api/survey")
public class SimpleSurveyCreationController
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateSimpleSurvey(SimpleSurveyCreationParameters parameters, org.springframework.validation.BindingResult bindingResult) protected voidinitBinder(org.springframework.web.bind.WebDataBinder binder)
-
Constructor Details
-
SimpleSurveyCreationController
public SimpleSurveyCreationController()
-
-
Method Details
-
initBinder
@InitBinder protected void initBinder(org.springframework.web.bind.WebDataBinder binder) -
createSimpleSurvey
@Transactional @RequestMapping(value="simple", method=POST) @ResponseBody public SurveyView createSimpleSurvey(@RequestBody SimpleSurveyCreationParameters parameters, org.springframework.validation.BindingResult bindingResult) throws Exception - Throws:
Exception
-