Class ReservationStatusHandler

java.lang.Object
de.hybris.platform.travelfacades.reservation.handlers.impl.ReservationStatusHandler
All Implemented Interfaces:
ReservationHandler

public class ReservationStatusHandler extends Object implements ReservationHandler
This handler is responsible for populating the Status values of the ReservationData If the order is one of the previous version, the status is set to CANCELLED, otherwise is populated from the status property of the order.
  • Constructor Details

    • ReservationStatusHandler

      public ReservationStatusHandler()
  • Method Details

    • handle

      public void handle(AbstractOrderModel abstractOrderModel, ReservationData reservationData)
      Description copied from interface: ReservationHandler
      Handle method.
      Specified by:
      handle in interface ReservationHandler
      Parameters:
      abstractOrderModel - the abstract order model
      reservationData - the reservation data
    • 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