Class SapServiceOrderCheckoutStepController

All Implemented Interfaces:
CheckoutStepController

@Controller @RequestMapping("/checkout/multi/service-details") public class SapServiceOrderCheckoutStepController extends AbstractCheckoutStepController
  • Constructor Details

    • SapServiceOrderCheckoutStepController

      public SapServiceOrderCheckoutStepController()
  • Method Details

    • enterStep

      @RequestMapping(method=GET) public String enterStep(org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes) throws de.hybris.platform.cms2.exceptions.CMSItemNotFoundException, de.hybris.platform.commerceservices.order.CommerceCartModificationException
      Description copied from interface: CheckoutStepController
      Swapping the parameter order might break the validation aspect from working.
      Returns:
      returns the result for entering the checkout step
      Throws:
      de.hybris.platform.cms2.exceptions.CMSItemNotFoundException
      de.hybris.platform.commerceservices.order.CommerceCartModificationException
    • getServiceDetailsForm

      protected ServiceDetailsForm getServiceDetailsForm()
      Populates service details and returns it
      Returns:
      serviceDetailsForm
    • populateServiceDetailsForm

      protected void populateServiceDetailsForm(ServiceDetailsForm form, Date serviceDate)
      Populate form with service date
      Parameters:
      form - service details form
      serviceDate - service date
    • choose

      @RequestMapping(value="/choose", method=POST) public String choose(@ModelAttribute ServiceDetailsForm serviceDetailsForm, org.springframework.validation.BindingResult bindingResult, org.springframework.ui.Model model) throws de.hybris.platform.cms2.exceptions.CMSItemNotFoundException, de.hybris.platform.commerceservices.order.CommerceCartModificationException, ParseException
      Throws:
      de.hybris.platform.cms2.exceptions.CMSItemNotFoundException
      de.hybris.platform.commerceservices.order.CommerceCartModificationException
      ParseException
    • back

      @RequestMapping(value="/back", method=GET) public String back(org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
      Returns:
      checkoutstep link for navigating back
    • next

      @RequestMapping(value="/next", method=GET) public String next(org.springframework.web.servlet.mvc.support.RedirectAttributes redirectAttributes)
      Returns:
      checkoutstep link for navigating next
    • getCheckoutStep

      protected CheckoutStep getCheckoutStep()