Class JourneyCheckInRestrictionStrategy

java.lang.Object
de.hybris.platform.travelfacades.booking.action.strategies.impl.JourneyCheckInRestrictionStrategy
All Implemented Interfaces:
BookingActionEnabledEvaluatorStrategy

public class JourneyCheckInRestrictionStrategy extends Object implements BookingActionEnabledEvaluatorStrategy
Strategy to evaluate the enabled property of the List, setting it to false if all the travellers have been checked in in every leg, true otherwise
  • Constructor Details

    • JourneyCheckInRestrictionStrategy

      public JourneyCheckInRestrictionStrategy()
  • Method Details

    • applyStrategy

      public void applyStrategy(List<BookingActionData> bookingActionDataList, ReservationData reservationData)
      Description copied from interface: BookingActionEnabledEvaluatorStrategy
      Applies the strategy for List
      Specified by:
      applyStrategy in interface BookingActionEnabledEvaluatorStrategy
      Parameters:
      bookingActionDataList - the booking action data list
      reservationData - the reservation data
    • checkedInOrCancelledOrPastLeg

      protected boolean checkedInOrCancelledOrPastLeg(ConsignmentModel consignment)
    • 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
    • getTimeService

      protected de.hybris.platform.servicelayer.time.TimeService getTimeService()
      Returns:
      the timeService
    • setTimeService

      public void setTimeService(de.hybris.platform.servicelayer.time.TimeService timeService)
      Parameters:
      timeService - the timeService to set
    • getConsignmentStatusList

      protected List<ConsignmentStatus> getConsignmentStatusList()
      Returns:
      the consignmentStatusList
    • setConsignmentStatusList

      public void setConsignmentStatusList(List<ConsignmentStatus> consignmentStatusList)
      Parameters:
      consignmentStatusList - the consignmentStatusList to set