| olstore.controller.UpdateOrderController
UpdateOrderController | public class UpdateOrderController extends SimpleFormController (Code) | | A controller to handle the update order action.
|
Constructor Summary | |
public | UpdateOrderController() Create a new form controller and set the form views as well as the
backing object class. |
UpdateOrderController | public UpdateOrderController()(Code) | | Create a new form controller and set the form views as well as the
backing object class.
|
formBackingObject | protected Object formBackingObject(HttpServletRequest request) throws Exception(Code) | | Return a new helper object that will be used as this form's backing object.
Parameters: request - the HttpServletRequest. a backing object for this form. |
onBindAndValidate | protected void onBindAndValidate(HttpServletRequest request, Object command, BindException errors) throws Exception(Code) | | This form's validation method to handle the backing object's fields.
Parameters: request - the HttpServletRequest. Parameters: command - the form's backing object. Parameters: errors - the reported from the validation. |
onSubmit | protected ModelAndView onSubmit(HttpServletRequest request, HttpServletResponse response, Object command, BindException errors) throws Exception(Code) | | Handles the submission of this form.
Parameters: request - the HttpServletRequest. Parameters: response - the HttpServletResponse. Parameters: command - this forms backing object. Parameters: errors - this form's errors as reported via validation. a new model and view to represent this form. |
referenceData | protected Map referenceData(HttpServletRequest request) throws Exception(Code) | | The map used in this form's view.
Parameters: request - the HttpServletRequest. a map representing the data for this form's view. |
setOlstore | public void setOlstore(OlstoreFacade olstore)(Code) | | Spring injection setter method.
Parameters: olstore - the bean instance that is injected via Spring. |
|
|