Class PropertyDataRatePlanConfigsHandler
java.lang.Object
de.hybris.platform.travelfacades.facades.accommodation.search.handlers.impl.AbstractDefaultPropertyHandler
de.hybris.platform.travelfacades.facades.accommodation.search.handlers.impl.PropertyDataRatePlanConfigsHandler
- All Implemented Interfaces:
PropertyHandler
public class PropertyDataRatePlanConfigsHandler
extends AbstractDefaultPropertyHandler
implements PropertyHandler
Concrete implementation of the
PropertyHandler interface. Handler is responsible to set ratePlanconfigs on
the PropertyData-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected de.hybris.platform.servicelayer.config.ConfigurationServicevoidhandle(Map<Integer, List<AccommodationOfferingDayRateData>> dayRatesForRoomStayCandidate, AccommodationSearchRequestData accommodationSearchRequest, PropertyData propertyData) Handle method.protected voidhandlingAttributes(Map<Integer, List<AccommodationOfferingDayRateData>> dayRatesForRoomStayCandidate, PropertyData propertyData) voidsetConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService) Methods inherited from class de.hybris.platform.travelfacades.facades.accommodation.search.handlers.impl.AbstractDefaultPropertyHandler
getRequestedDuration, validateDayRateAgainstDates, validateDayRateAgainstRoomStayCandidates, validateDayRatesAgainstRequest
-
Constructor Details
-
PropertyDataRatePlanConfigsHandler
public PropertyDataRatePlanConfigsHandler()
-
-
Method Details
-
handle
public void handle(Map<Integer, List<AccommodationOfferingDayRateData>> dayRatesForRoomStayCandidate, AccommodationSearchRequestData accommodationSearchRequest, PropertyData propertyData) Description copied from interface:PropertyHandlerHandle method.- Specified by:
handlein interfacePropertyHandler- Parameters:
dayRatesForRoomStayCandidate- the day rates for room stay candidateaccommodationSearchRequest- the accommodation search requestpropertyData- the property data
-
handlingAttributes
protected void handlingAttributes(Map<Integer, List<AccommodationOfferingDayRateData>> dayRatesForRoomStayCandidate, PropertyData propertyData) - Specified by:
handlingAttributesin classAbstractDefaultPropertyHandler
-
getConfigurationService
protected de.hybris.platform.servicelayer.config.ConfigurationService getConfigurationService()- Returns:
- the configurationService
-
setConfigurationService
public void setConfigurationService(de.hybris.platform.servicelayer.config.ConfigurationService configurationService) - Parameters:
configurationService- the configurationService to set
-