Package de.hybris.platform.order.daos
Interface ZoneDeliveryModeValueDao
- All Superinterfaces:
GenericDao<ZoneDeliveryModeValueModel>
- All Known Implementing Classes:
DefaultZoneDeliveryModeValueDao
Data Access Object fetching
ZoneDeliveryModeValueModel objects.- Spring Bean ID:
- zoneDeliveryModeValueDao
-
Method Summary
Modifier and TypeMethodDescriptionfindDeliveryValues(ZoneModel zone, CurrencyModel currency, Double min, ZoneDeliveryModeModel zoneDeliveryMode) Finds specificZoneDeliveryModeValueModels for the given zone, currency, minimum value, and zone delivery mode.Finds allZoneDeliveryModeValueModels with matching currency.Finds allZoneDeliveryModeValueModels with matching zone.
-
Method Details
-
findZoneDeliveryModeValuesByCurrency
Finds allZoneDeliveryModeValueModels with matching currency.- Parameters:
currency- - currency to match- Returns:
- List of
ZoneDeliveryModeValueModels with the given currency. Returning collection is sorted in descending order by creation time.
-
findZoneDeliveryModeValuesByZone
Finds allZoneDeliveryModeValueModels with matching zone.- Parameters:
zone- - zone to match- Returns:
- List of
ZoneDeliveryModeValueModels with the given zone. Returning collection is sorted in descending order by creation time.
-
findDeliveryValues
Collection<ZoneDeliveryModeValueModel> findDeliveryValues(ZoneModel zone, CurrencyModel currency, Double min, ZoneDeliveryModeModel zoneDeliveryMode) Finds specificZoneDeliveryModeValueModels for the given zone, currency, minimum value, and zone delivery mode.- Parameters:
zone- the zonecurrency- the currencymin- the minimum valuezoneDeliveryMode- the zone delivery mode- Returns:
- all found
ZoneDeliveryModeValueModels, or empty list if not found.
-