Class LegCheckInRestrictionStrategy
java.lang.Object
de.hybris.platform.travelfacades.booking.action.strategies.impl.LegCheckInRestrictionStrategy
- All Implemented Interfaces:
BookingActionEnabledEvaluatorStrategy
public class LegCheckInRestrictionStrategy
extends Object
implements BookingActionEnabledEvaluatorStrategy
Strategy to evaluate the enabled property of the List. For each leg, the value is set to false if
all the passenger have already checked in, 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
-
LegCheckInRestrictionStrategy
public LegCheckInRestrictionStrategy()
-
-
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
-