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 for
ZoneDeliveryModeValueModel-
Constructor Summary
Constructors -
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.Methods inherited from class de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao
find, find, find, find, find, getFlexibleSearchService, setFlexibleSearchService
-
Constructor Details
-
DefaultZoneDeliveryModeValueDao
public DefaultZoneDeliveryModeValueDao()
-
-
Method Details
-
findZoneDeliveryModeValuesByCurrency
public 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
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 Collection<ZoneDeliveryModeValueModel> findDeliveryValues(ZoneModel zone, CurrencyModel currency, 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.
-