Class TravelManageBookingController

java.lang.Object
de.hybris.platform.acceleratorstorefrontcommons.controllers.AbstractController
de.hybris.platform.travelcommons.controllers.misc.TravelManageBookingController

@Controller public class TravelManageBookingController extends AbstractController
The type Travel manage booking controller.
  • Constructor Details

    • TravelManageBookingController

      public TravelManageBookingController()
  • Method Details

    • beginCancelTransportOrder

      @RequestMapping(value="/manage-booking/cancel-transport-order-request/{bookingReference}", method=GET) public String beginCancelTransportOrder(org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel, @PathVariable String bookingReference)
      Starts the process of cancellation of the transport order
      Parameters:
      model -
      redirectModel -
      bookingReference -
      Returns:
      transport cancellation modal
    • cancelTransportOrder

      @RequestMapping("/manage-booking/cancel-transport-order/{bookingReference}") public String cancelTransportOrder(org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel, @PathVariable String bookingReference)
      Proceeds with cancellation of the transport order and places a new (amended) order
      Parameters:
      redirectModel -
      bookingReference -
      Returns:
      the redirect to booking details page with result of cancellation process
    • beginCancelAccommodationOrder

      @RequestMapping(value="/manage-booking/cancel-accommodation-order-request/{bookingReference}", method=GET) public String beginCancelAccommodationOrder(org.springframework.ui.Model model, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel, @PathVariable String bookingReference)
      Starts the process of cancellation of the accommodation order
      Parameters:
      model -
      redirectModel -
      bookingReference -
      Returns:
      accommodation cancellation modal
    • cancelAccommodationOrder

      @RequestMapping("/manage-booking/cancel-accommodation-order/{bookingReference}") public String cancelAccommodationOrder(org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel, @PathVariable String bookingReference)
      Proceeds with cancellation of the accommodation order and places a new (amended) order
      Parameters:
      redirectModel -
      bookingReference -
      Returns:
      the redirect to booking details page with result of cancellation process
    • addAccommodationRoom

      @RequestMapping(value="/manage-booking/add-room-package/{orderCode}", method=POST) public String addAccommodationRoom(@PathVariable String orderCode, @ModelAttribute("accommodationAvailabilityForm") AccommodationAvailabilityForm accommodationAvailabilityForm, org.springframework.web.servlet.mvc.support.RedirectAttributes redirectModel, org.springframework.ui.Model model)
      Proceeds with cancellation of the accommodation order and places a new (amended) order
      Parameters:
      redirectModel -
      bookingReference -
      Returns:
      the redirect to booking details page with result of cancellation process
    • buildPackageDetailsQuery

      protected String buildPackageDetailsQuery(AccommodationAvailabilityForm accommodationAvailabilityForm)
    • getNumberOfRoomsQuery

      protected String getNumberOfRoomsQuery(AccommodationAvailabilityForm accommodationAvailabilityForm)