Class SimpleSurveyCreationController

java.lang.Object
org.openforis.collect.web.controller.SimpleSurveyCreationController

@Controller @RequestMapping("/api/survey") public class SimpleSurveyCreationController extends Object
  • 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