Class ChineseUnitAddressHandler


  • @Component("chineseUnitAddressHandler")
    public class ChineseUnitAddressHandler
    extends java.lang.Object
    In charge of preparing chinese address data for saving in DB,and preparing chinese address form for displaying in storefront And delegate the validation of chinese unit address to the validator
    • Constructor Detail

      • ChineseUnitAddressHandler

        public ChineseUnitAddressHandler()
    • Method Detail

      • validate

        public void validate​(ChineseUnitAddressForm addressForm,
                             org.springframework.validation.BindingResult bindingResult)
      • setChineseAddressFormInModel

        public ChineseUnitAddressForm setChineseAddressFormInModel​(org.springframework.ui.Model model)
      • prepareAddressForm

        public void prepareAddressForm​(org.springframework.ui.Model model,
                                       ChineseUnitAddressForm addressForm)