Class AbstractBookingDetailsComponentController
java.lang.Object
de.hybris.platform.addonsupport.controllers.AbstractAddOnController
de.hybris.platform.addonsupport.controllers.cms.AbstractCMSAddOnComponentController<T>
de.hybris.platform.travelacceleratorstorefront.controllers.cms.SubstitutingCMSAddOnComponentController<AbstractBookingDetailsComponentModel>
de.hybris.platform.travelacceleratorstorefront.controllers.cms.AbstractBookingDetailsComponentController
- Direct Known Subclasses:
AccommodationBookingDetailsComponentController,ShoppingBookingDetailsComponentController,ShoppingTransportBookingDetailsComponentController,ShoppingTravelBookingPaymentDetailsComponentController,TransportBookingDetailsComponentController,TravelBookingDetailsComponentController,TravelBookingPaymentDetailsComponentController
public abstract class AbstractBookingDetailsComponentController
extends SubstitutingCMSAddOnComponentController<AbstractBookingDetailsComponentModel>
Abstract Controller for the Booking Details Components, that exposes the common methods called by its implementations
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.addonsupport.controllers.AbstractAddOnController
de.hybris.platform.addonsupport.controllers.AbstractAddOnController.HttpNotFoundException -
Field Summary
FieldsFields inherited from class de.hybris.platform.addonsupport.controllers.cms.AbstractCMSAddOnComponentController
COMPONENT, COMPONENT_UID, FORWARD_PREFIX, REDIRECT_PREFIX, ROOT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BookingActionRequestDatacreateAccommodationBookingActionRequest(String bookingReference) This method will create a bookingActionRequestData for the Accommodation Booking Details Pageprotected BookingActionRequestDatacreateTransportBookingActionRequest(String bookingReference) This method will create a bookingActionRequestData for the Booking Details Pageprotected ActionFacadeprotected BookingFacadeprotected de.hybris.platform.commercefacades.customer.CustomerFacadeprotected PackageFacadeprotected de.hybris.platform.servicelayer.session.SessionServiceprotected TravelCommercePriceFacadeprotected voidhandleDisruptedReservation(org.springframework.ui.Model model, String bookingReference, ReservationData reservationData) Method that handles the reservation in case of status disruptedMethods inherited from class de.hybris.platform.travelacceleratorstorefront.controllers.cms.SubstitutingCMSAddOnComponentController
getAddonUiExtensionName, getConfigurationService, setMaxAllowedCheckInCheckOutDateDifferenceMethods inherited from class de.hybris.platform.addonsupport.controllers.cms.AbstractCMSAddOnComponentController
checkIfComponentNotEmpty, fillModel, getCmsComponentFolder, getCmsComponentService, getCmsPageContextService, getRequestContextData, getTypeCode, getView, getViewResourceName, handleComponent, handleGet, setCmsComponentServiceMethods inherited from class de.hybris.platform.addonsupport.controllers.AbstractAddOnController
addRequestToModel, getBean
-
Field Details
-
PAGE_NOT_AVAILABLE
- See Also:
-
-
Constructor Details
-
AbstractBookingDetailsComponentController
public AbstractBookingDetailsComponentController()
-
-
Method Details
-
handleDisruptedReservation
protected void handleDisruptedReservation(org.springframework.ui.Model model, String bookingReference, ReservationData reservationData) Method that handles the reservation in case of status disrupted- Parameters:
model-bookingReference-reservationData-
-
createTransportBookingActionRequest
This method will create a bookingActionRequestData for the Booking Details Page- Parameters:
bookingReference- as the booking reference number- Returns:
- the bookingActionRequestData to be used to get the BookingActionResponseData
-
createAccommodationBookingActionRequest
This method will create a bookingActionRequestData for the Accommodation Booking Details Page- Parameters:
bookingReference- as the booking reference number- Returns:
- the bookingActionRequestData to be used to get the BookingActionResponseData
-
getBookingFacade
- Returns:
- the bookingFacade
-
getCustomerFacade
protected de.hybris.platform.commercefacades.customer.CustomerFacade getCustomerFacade()- Returns:
- the customerFacade
-
getActionFacade
- Returns:
- the actionFacade
-
getTravelCommercePriceFacade
- Returns:
- the travelCommercePriceFacade
-
getPackageFacade
- Returns:
- the packageFacade
-
getSessionService
protected de.hybris.platform.servicelayer.session.SessionService getSessionService()- Returns:
- the sessionService
-