Class TravellerCheckInRestrictionStrategy
java.lang.Object
de.hybris.platform.travelfacades.booking.action.strategies.impl.TravellerCheckInRestrictionStrategy
- All Implemented Interfaces:
BookingActionEnabledEvaluatorStrategy
public class TravellerCheckInRestrictionStrategy
extends Object
implements BookingActionEnabledEvaluatorStrategy
Strategy to evaluate the enabled property of the List. For each leg and each traveller, the value
is set to false if the check in has already been done, true otherwise
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyStrategy(List<BookingActionData> bookingActionDataList, ReservationData reservationData) Applies the strategy for Listprotected de.hybris.platform.store.services.BaseStoreServiceprotected de.hybris.platform.commerceservices.customer.CustomerAccountServicevoidsetBaseStoreService(de.hybris.platform.store.services.BaseStoreService baseStoreService) voidsetCustomerAccountService(de.hybris.platform.commerceservices.customer.CustomerAccountService customerAccountService)
-
Constructor Details
-
TravellerCheckInRestrictionStrategy
public TravellerCheckInRestrictionStrategy()
-
-
Method Details
-
applyStrategy
public void applyStrategy(List<BookingActionData> bookingActionDataList, ReservationData reservationData) Description copied from interface:BookingActionEnabledEvaluatorStrategyApplies the strategy for List- Specified by:
applyStrategyin interfaceBookingActionEnabledEvaluatorStrategy- Parameters:
bookingActionDataList- the booking action data listreservationData- the reservation data
-
getBaseStoreService
protected de.hybris.platform.store.services.BaseStoreService getBaseStoreService()- Returns:
- the baseStoreService
-
setBaseStoreService
public void setBaseStoreService(de.hybris.platform.store.services.BaseStoreService baseStoreService) - Parameters:
baseStoreService- the baseStoreService to set
-
getCustomerAccountService
protected de.hybris.platform.commerceservices.customer.CustomerAccountService getCustomerAccountService()- Returns:
- the customerAccountService
-
setCustomerAccountService
public void setCustomerAccountService(de.hybris.platform.commerceservices.customer.CustomerAccountService customerAccountService) - Parameters:
customerAccountService- the customerAccountService to set
-