Class CustomerReviewController


  • @Controller
    @RequestMapping("/my-account/order")
    public class CustomerReviewController
    extends AbstractPageController
    • Constructor Detail

      • CustomerReviewController

        public CustomerReviewController()
    • Method Detail

      • initBinder

        @InitBinder
        public void initBinder​(org.springframework.web.bind.WebDataBinder binder)
      • enterPage

        @RequestMapping(value="/{orderCode:.*}/review/{consignmentCode:.*}",
                        method=GET)
        public java.lang.String enterPage​(@PathVariable
                                          java.lang.String orderCode,
                                          @PathVariable
                                          java.lang.String consignmentCode,
                                          OrderReviewForm orderReviewForm,
                                          org.springframework.ui.Model model)
                                   throws CMSItemNotFoundException
        Throws:
        CMSItemNotFoundException
      • postReview

        @RequestMapping(value="/{orderCode:.*}/review/{consignmentCode:.*}",
                        method=POST)
        public java.lang.String postReview​(@PathVariable
                                           java.lang.String orderCode,
                                           @PathVariable
                                           java.lang.String consignmentCode,
                                           OrderReviewForm orderReviewForm,
                                           org.springframework.ui.Model model,
                                           org.springframework.validation.BindingResult result,
                                           org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttrs)
                                    throws CMSItemNotFoundException
        Throws:
        CMSItemNotFoundException
      • getCustomerReviewValidator

        protected org.springframework.validation.Validator getCustomerReviewValidator()
      • getOrderFacade

        protected OrderFacade getOrderFacade()