public class DeliveryAddressCheckoutStepController
extends AbstractCheckoutStepController
| Constructor and Description |
|---|
DeliveryAddressCheckoutStepController() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
add(AddressForm addressForm,
BindingResult bindingResult,
Model model,
RedirectAttributes redirectModel) |
java.lang.String |
back(RedirectAttributes redirectAttributes) |
java.lang.String |
doSelectDeliveryAddress(java.lang.String selectedAddressCode,
RedirectAttributes redirectAttributes)
This method gets called when the "Use this Address" button is clicked.
|
java.lang.String |
doSelectSuggestedAddress(AddressForm addressForm,
RedirectAttributes redirectModel) |
java.lang.String |
edit(AddressForm addressForm,
BindingResult bindingResult,
Model model,
RedirectAttributes redirectModel) |
java.lang.String |
editAddressForm(java.lang.String editAddressCode,
Model model,
RedirectAttributes redirectAttributes) |
java.lang.String |
enterStep(Model model,
RedirectAttributes redirectAttributes) |
protected java.lang.String |
getBreadcrumbKey() |
protected CheckoutStep |
getCheckoutStep() |
java.lang.String |
next(RedirectAttributes redirectAttributes) |
protected void |
populateCommonModelAttributes(Model model,
CartData cartData,
AddressForm addressForm) |
protected void |
processAddressVisibility(AddressForm addressForm,
AddressData newAddress) |
protected void |
processAddressVisibilityAndDefault(AddressForm addressForm,
AddressData newAddress) |
java.lang.String |
removeAddress(java.lang.String addressCode,
RedirectAttributes redirectModel,
Model model) |
protected void |
setDeliveryAddress(AddressData selectedAddressData) |
public DeliveryAddressCheckoutStepController()
public java.lang.String enterStep(Model model,
RedirectAttributes redirectAttributes)
throws CMSItemNotFoundException
CMSItemNotFoundExceptionpublic java.lang.String add(AddressForm addressForm,
BindingResult bindingResult,
Model model,
RedirectAttributes redirectModel)
throws CMSItemNotFoundException
CMSItemNotFoundExceptionprotected void processAddressVisibilityAndDefault(AddressForm addressForm,
AddressData newAddress)
public java.lang.String editAddressForm(java.lang.String editAddressCode,
Model model,
RedirectAttributes redirectAttributes)
throws CMSItemNotFoundException
CMSItemNotFoundExceptionpublic java.lang.String edit(AddressForm addressForm,
BindingResult bindingResult,
Model model,
RedirectAttributes redirectModel)
throws CMSItemNotFoundException
CMSItemNotFoundExceptionprotected void processAddressVisibility(AddressForm addressForm,
AddressData newAddress)
public java.lang.String removeAddress(java.lang.String addressCode,
RedirectAttributes redirectModel,
Model model)
throws CMSItemNotFoundException
CMSItemNotFoundExceptionpublic java.lang.String doSelectSuggestedAddress(AddressForm addressForm,
RedirectAttributes redirectModel)
public java.lang.String doSelectDeliveryAddress(java.lang.String selectedAddressCode,
RedirectAttributes redirectAttributes)
selectedAddressCode - - the id of the delivery address.protected void setDeliveryAddress(AddressData selectedAddressData)
public java.lang.String back(RedirectAttributes redirectAttributes)
public java.lang.String next(RedirectAttributes redirectAttributes)
protected java.lang.String getBreadcrumbKey()
protected CheckoutStep getCheckoutStep()
protected void populateCommonModelAttributes(Model model,
CartData cartData,
AddressForm addressForm)
throws CMSItemNotFoundException
CMSItemNotFoundExceptionCopyright © 2018 SAP SE. All Rights Reserved.