Class DefaultZoneDeliveryModeValueDao
- java.lang.Object
-
- de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao<ZoneDeliveryModeValueModel>
-
- de.hybris.platform.order.daos.impl.DefaultZoneDeliveryModeValueDao
-
- All Implemented Interfaces:
ZoneDeliveryModeValueDao,GenericDao<ZoneDeliveryModeValueModel>
public class DefaultZoneDeliveryModeValueDao extends DefaultGenericDao<ZoneDeliveryModeValueModel> implements ZoneDeliveryModeValueDao
Data Access Object forZoneDeliveryModeValueModel
-
-
Constructor Summary
Constructors Constructor Description DefaultZoneDeliveryModeValueDao()
-
Method Summary
All Methods Instance Methods Concrete 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.-
Methods inherited from class de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao
find, find, find, find, find, getFlexibleSearchService, setFlexibleSearchService
-
-
-
-
Method Detail
-
findZoneDeliveryModeValuesByCurrency
public java.util.List<ZoneDeliveryModeValueModel> findZoneDeliveryModeValuesByCurrency(CurrencyModel currency)
Description copied from interface:ZoneDeliveryModeValueDaoFinds allZoneDeliveryModeValueModels with matching currency.- Specified by:
findZoneDeliveryModeValuesByCurrencyin interfaceZoneDeliveryModeValueDao- Parameters:
currency- - currency to match- Returns:
- List of
ZoneDeliveryModeValueModels with the given currency. Returning collection is sorted in descending order by creation time.
-
findZoneDeliveryModeValuesByZone
public java.util.List<ZoneDeliveryModeValueModel> findZoneDeliveryModeValuesByZone(ZoneModel zone)
Description copied from interface:ZoneDeliveryModeValueDaoFinds allZoneDeliveryModeValueModels with matching zone.- Specified by:
findZoneDeliveryModeValuesByZonein interfaceZoneDeliveryModeValueDao- Parameters:
zone- - zone to match- Returns:
- List of
ZoneDeliveryModeValueModels with the given zone. Returning collection is sorted in descending order by creation time.
-
findDeliveryValues
public java.util.Collection<ZoneDeliveryModeValueModel> findDeliveryValues(ZoneModel zone, CurrencyModel currency, java.lang.Double min, ZoneDeliveryModeModel zoneDeliveryMode)
Description copied from interface:ZoneDeliveryModeValueDaoFinds specificZoneDeliveryModeValueModels for the given zone, currency, minimum value, and zone delivery mode.- Specified by:
findDeliveryValuesin interfaceZoneDeliveryModeValueDao- Parameters:
zone- the zonecurrency- the currencymin- the minimum valuezoneDeliveryMode- the zone delivery mode- Returns:
- all found
ZoneDeliveryModeValueModels, or empty list if not found.
-
-