Class DefaultCheckInEvaluatorStrategy
java.lang.Object
de.hybris.platform.travelfacades.strategies.impl.DefaultCheckInEvaluatorStrategy
- All Implemented Interfaces:
CheckInEvaluatorStrategy
- Direct Known Subclasses:
DefaultTravellerCheckinEvaluatorStrategy
Default implementation of CheckInEvaluatorStrategy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BooleancheckReservationAndStatus(ReservationData reservation) Check reservation and status boolean.protected de.hybris.platform.servicelayer.config.ConfigurationServiceGets configuration service.protected List<TransportOfferingStatus>Gets not allowed statuses.protected de.hybris.platform.servicelayer.time.TimeServiceGets time service.booleanisCheckInPossible(ReservationData reservation, int originDestinationRefNumber) Is check in possible boolean.voidsetConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService) Sets configuration service.voidsetNotAllowedStatuses(List<TransportOfferingStatus> notAllowedStatuses) Sets not allowed statuses.voidsetTimeService(de.hybris.platform.servicelayer.time.TimeService timeService) Sets time service.
-
Constructor Details
-
DefaultCheckInEvaluatorStrategy
public DefaultCheckInEvaluatorStrategy()
-
-
Method Details
-
isCheckInPossible
Description copied from interface:CheckInEvaluatorStrategyIs check in possible boolean.- Specified by:
isCheckInPossiblein interfaceCheckInEvaluatorStrategy- Parameters:
reservation- the reservationoriginDestinationRefNumber- the origin destination ref number- Returns:
- the boolean
-
checkReservationAndStatus
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
Gets not allowed statuses.- Returns:
- the notAllowedStatuses
-
setNotAllowedStatuses
Sets not allowed statuses.- Parameters:
notAllowedStatuses- the notAllowedStatuses to set
-