Class ReservationStatusHandler
java.lang.Object
de.hybris.platform.travelfacades.reservation.handlers.impl.ReservationStatusHandler
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected de.hybris.platform.store.services.BaseStoreServiceGets base store service.protected de.hybris.platform.commerceservices.customer.CustomerAccountServiceGets customer account service.protected de.hybris.platform.enumeration.EnumerationServiceGets enumeration service.protected de.hybris.platform.servicelayer.i18n.I18NServiceGets i 18 n service.voidhandle(AbstractOrderModel abstractOrderModel, ReservationData reservationData) Handle method.voidsetBaseStoreService(de.hybris.platform.store.services.BaseStoreService baseStoreService) Sets base store service.voidsetCustomerAccountService(de.hybris.platform.commerceservices.customer.CustomerAccountService customerAccountService) Sets customer account service.voidsetEnumerationService(de.hybris.platform.enumeration.EnumerationService enumerationService) Sets enumeration service.voidsetI18NService(de.hybris.platform.servicelayer.i18n.I18NService i18nService) Sets i 18 n service.
-
Constructor Details
-
ReservationStatusHandler
public ReservationStatusHandler()
-
-
Method Details
-
handle
Description copied from interface:ReservationHandlerHandle method.- Specified by:
handlein interfaceReservationHandler- Parameters:
abstractOrderModel- the abstract order modelreservationData- 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
-