Class DefaultCountryZoneDeliveryModeDao
- java.lang.Object
-
- de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
-
- de.hybris.platform.commerceservices.delivery.dao.impl.DefaultCountryZoneDeliveryModeDao
-
- All Implemented Interfaces:
CountryZoneDeliveryModeDao,Dao
- Direct Known Subclasses:
ChineseC2LItemZoneDeliveryModeDao
public class DefaultCountryZoneDeliveryModeDao extends AbstractItemDao implements CountryZoneDeliveryModeDao
Default implementation ofCountryZoneDeliveryModeDao.
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
flexibleSearchService, modelService
-
-
Constructor Summary
Constructors Constructor Description DefaultCountryZoneDeliveryModeDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected <T> java.util.List<T>doSearch(java.lang.String query, java.util.Map<java.lang.String,java.lang.Object> params, java.lang.Class<T> resultClass)java.util.Collection<DeliveryModeModel>findDeliveryModes(AbstractOrderModel abstractOrder)Find the delivery modes for the delivery country, currency, net flag and store.java.util.Collection<DeliveryModeModel>findDeliveryModesByCountryAndCurrency(CountryModel deliveryCountry, CurrencyModel currency, java.lang.Boolean net)Deprecated, for removal: This API element is subject to removal in a future version.Since 5.0.protected java.lang.StringgetQuery()Deprecated, for removal: This API element is subject to removal in a future version.Since 5.0.-
Methods inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelService
-
-
-
-
Method Detail
-
findDeliveryModesByCountryAndCurrency
@Deprecated(since="5.0", forRemoval=true) public java.util.Collection<DeliveryModeModel> findDeliveryModesByCountryAndCurrency(CountryModel deliveryCountry, CurrencyModel currency, java.lang.Boolean net)Deprecated, for removal: This API element is subject to removal in a future version.Since 5.0.Description copied from interface:CountryZoneDeliveryModeDaoFind the delivery modes for the delivery country, currency and net flag.- Specified by:
findDeliveryModesByCountryAndCurrencyin interfaceCountryZoneDeliveryModeDao- Parameters:
deliveryCountry- the delivery countrycurrency- the cart currencynet- the net flag- Returns:
- the matching delivery modes
-
findDeliveryModes
public java.util.Collection<DeliveryModeModel> findDeliveryModes(AbstractOrderModel abstractOrder)
Description copied from interface:CountryZoneDeliveryModeDaoFind the delivery modes for the delivery country, currency, net flag and store.- Specified by:
findDeliveryModesin interfaceCountryZoneDeliveryModeDao- Parameters:
abstractOrder- the order with search parameters.- Returns:
- the matching delivery modes
-
getQuery
@Deprecated(since="5.0", forRemoval=true) protected java.lang.String getQuery()Deprecated, for removal: This API element is subject to removal in a future version.Since 5.0.- Returns:
-
doSearch
protected <T> java.util.List<T> doSearch(java.lang.String query, java.util.Map<java.lang.String,java.lang.Object> params, java.lang.Class<T> resultClass)
-
-