Class PricedPropertiesFirstSortStrategy
java.lang.Object
de.hybris.platform.travelfacades.facades.accommodation.search.strategies.impl.PricedPropertiesFirstSortStrategy
- All Implemented Interfaces:
AccommodationOfferingSearchResponseSortStrategy
public class PricedPropertiesFirstSortStrategy
extends Object
implements AccommodationOfferingSearchResponseSortStrategy
The type Priced properties first sort strategy. This strategy will sort the list of
PropertyData on the
AccommodationSearchResponseData to have all properties with RateRangeData, i.e. priced properties, first
followed by all properties without, i.e. not available properties.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsort(AccommodationSearchResponseData response) Method to sort the AccommodationSearchResponseData
-
Constructor Details
-
PricedPropertiesFirstSortStrategy
public PricedPropertiesFirstSortStrategy()
-
-
Method Details
-
sort
Description copied from interface:AccommodationOfferingSearchResponseSortStrategyMethod to sort the AccommodationSearchResponseData- Specified by:
sortin interfaceAccommodationOfferingSearchResponseSortStrategy- Parameters:
response- as the accommodationSearchResponseData to be sorted
-