Class ValidationController
java.lang.Object
org.openforis.collect.web.controller.BasicController
org.openforis.collect.web.controller.ValidationController
- Author:
- S. Ricci Controller that manages the validation of records
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidateAllRecords(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String s, String r) voidvalidationReport(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String surveyName, Integer rootEntityId, String locale, String[] recordKeys, Date modifiedSince) Methods inherited from class org.openforis.collect.web.controller.BasicController
generateFormValidationResponse, getSessionState
-
Constructor Details
-
ValidationController
public ValidationController()
-
-
Method Details
-
validateAllRecords
@RequestMapping(value="/validateAllRecords.htm", method=GET) public void validateAllRecords(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, @RequestParam String s, @RequestParam String r) throws IOException - Throws:
IOException
-
validationReport
@RequestMapping(value="/validationReport", method=GET) public void validationReport(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, @RequestParam(required=false) String surveyName, @RequestParam(required=false) Integer rootEntityId, @RequestParam(required=false,defaultValue="en_US") String locale, String[] recordKeys, @RequestParam(required=false) Date modifiedSince) throws IOException - Throws:
IOException
-