Class DefaultCheckInEvaluatorStrategy

java.lang.Object
de.hybris.platform.travelfacades.strategies.impl.DefaultCheckInEvaluatorStrategy
All Implemented Interfaces:
CheckInEvaluatorStrategy
Direct Known Subclasses:
DefaultTravellerCheckinEvaluatorStrategy

public class DefaultCheckInEvaluatorStrategy extends Object implements CheckInEvaluatorStrategy
Default implementation of CheckInEvaluatorStrategy
  • Constructor Details

    • DefaultCheckInEvaluatorStrategy

      public DefaultCheckInEvaluatorStrategy()
  • Method Details

    • isCheckInPossible

      public boolean isCheckInPossible(ReservationData reservation, int originDestinationRefNumber)
      Description copied from interface: CheckInEvaluatorStrategy
      Is check in possible boolean.
      Specified by:
      isCheckInPossible in interface CheckInEvaluatorStrategy
      Parameters:
      reservation - the reservation
      originDestinationRefNumber - the origin destination ref number
      Returns:
      the boolean
    • checkReservationAndStatus

      protected Boolean checkReservationAndStatus(ReservationData reservation)
      Check reservation and status boolean.
      Parameters:
      reservation - the reservation
      Returns:
      the boolean
    • getConfigurationService

      protected de.hybris.platform.servicelayer.config.ConfigurationService getConfigurationService()
      Gets configuration service.
      Returns:
      the configurationService
    • setConfigurationService

      public void setConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService)
      Sets configuration service.
      Parameters:
      configurationService - the configurationService to set
    • getTimeService

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

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

      protected List<TransportOfferingStatus> getNotAllowedStatuses()
      Gets not allowed statuses.
      Returns:
      the notAllowedStatuses
    • setNotAllowedStatuses

      public void setNotAllowedStatuses(List<TransportOfferingStatus> notAllowedStatuses)
      Sets not allowed statuses.
      Parameters:
      notAllowedStatuses - the notAllowedStatuses to set