Class AccommodationReservationStatusHandler

java.lang.Object
de.hybris.platform.travelfacades.reservation.handlers.impl.AccommodationReservationStatusHandler
All Implemented Interfaces:
AccommodationReservationHandler

public class AccommodationReservationStatusHandler extends Object implements AccommodationReservationHandler
This handler is responsible for populating the Status values of the AccommodationReservationData. If the order is one of the previous version, the latest orderModel is retrieve and its status property value is set on the AccommodationReservationData, otherwise is populated from the status property of the order.
  • Constructor Details

    • AccommodationReservationStatusHandler

      public AccommodationReservationStatusHandler()
  • Method Details

    • handle

      public void handle(AbstractOrderModel abstractOrder, AccommodationReservationData accommodationReservationData) throws AccommodationPipelineException
      Description copied from interface: AccommodationReservationHandler
      Handle method to populate AccommodationReservationData with details from AbstractOrderModel.
      Specified by:
      handle in interface AccommodationReservationHandler
      Parameters:
      abstractOrder - the abstract order
      accommodationReservationData - the accommodation reservation data
      Throws:
      AccommodationPipelineException - the accommodation pipeline exception
    • getCustomerAccountService

      protected de.hybris.platform.commerceservices.customer.CustomerAccountService getCustomerAccountService()
      Gets customer account service.
      Returns:
      the customerAccountService
    • setCustomerAccountService

      public void setCustomerAccountService(de.hybris.platform.commerceservices.customer.CustomerAccountService customerAccountService)
      Sets customer account service.
      Parameters:
      customerAccountService - the customerAccountService to set
    • getBaseStoreService

      protected de.hybris.platform.store.services.BaseStoreService getBaseStoreService()
      Gets base store service.
      Returns:
      the baseStoreService
    • setBaseStoreService

      public void setBaseStoreService(de.hybris.platform.store.services.BaseStoreService baseStoreService)
      Sets base store service.
      Parameters:
      baseStoreService - the baseStoreService to set
    • getEnumerationService

      protected de.hybris.platform.enumeration.EnumerationService getEnumerationService()
      Gets enumeration service.
      Returns:
      the enumerationService
    • setEnumerationService

      public void setEnumerationService(de.hybris.platform.enumeration.EnumerationService enumerationService)
      Sets enumeration service.
      Parameters:
      enumerationService - the enumerationService to set
    • getI18NService

      protected de.hybris.platform.servicelayer.i18n.I18NService getI18NService()
      Gets i 18 n service.
      Returns:
      the i18NService
    • setI18NService

      public void setI18NService(de.hybris.platform.servicelayer.i18n.I18NService i18nService)
      Sets i 18 n service.
      Parameters:
      i18nService - the i18NService to set