Package de.hybris.platform.order.daos
Interface ZoneDeliveryModeValueDao
-
- All Superinterfaces:
GenericDao<ZoneDeliveryModeValueModel>
- All Known Implementing Classes:
DefaultZoneDeliveryModeValueDao
public interface ZoneDeliveryModeValueDao extends GenericDao<ZoneDeliveryModeValueModel>
Data Access Object fetchingZoneDeliveryModeValueModelobjects.- Spring Bean ID:
- zoneDeliveryModeValueDao
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<ZoneDeliveryModeValueModel>findDeliveryValues(ZoneModel zone, CurrencyModel currency, java.lang.Double min, ZoneDeliveryModeModel zoneDeliveryMode)Finds specificZoneDeliveryModeValueModels for the given zone, currency, minimum value, and zone delivery mode.java.util.List<ZoneDeliveryModeValueModel>findZoneDeliveryModeValuesByCurrency(CurrencyModel currency)Finds allZoneDeliveryModeValueModels with matching currency.java.util.List<ZoneDeliveryModeValueModel>findZoneDeliveryModeValuesByZone(ZoneModel zone)Finds allZoneDeliveryModeValueModels with matching zone.
-
-
-
Method Detail
-
findZoneDeliveryModeValuesByCurrency
java.util.List<ZoneDeliveryModeValueModel> findZoneDeliveryModeValuesByCurrency(CurrencyModel currency)
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
java.util.List<ZoneDeliveryModeValueModel> findZoneDeliveryModeValuesByZone(ZoneModel zone)
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
java.util.Collection<ZoneDeliveryModeValueModel> findDeliveryValues(ZoneModel zone, CurrencyModel currency, java.lang.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.
-
-