Class DefaultZDMVConsistencyStrategy
- java.lang.Object
-
- de.hybris.platform.order.strategies.deliveryzone.impl.DefaultZDMVConsistencyStrategy
-
- All Implemented Interfaces:
ZDMVConsistencyStrategy
public class DefaultZDMVConsistencyStrategy extends java.lang.Object implements ZDMVConsistencyStrategy
Default implementation of theZDMVConsistencyStrategy.
-
-
Constructor Summary
Constructors Constructor Description DefaultZDMVConsistencyStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<CountryModel,java.util.Set<ZoneModel>>getAmbiguousCountriesForZones(java.util.Set<ZoneModel> zones)Gets allCountryModels and its correspondingZoneModels when theCountryModelbelongs to more than oneZoneModel.voidsetZoneDeliveryModeDao(ZoneDeliveryModeDao zoneDeliveryModeDao)
-
-
-
Method Detail
-
getAmbiguousCountriesForZones
public java.util.Map<CountryModel,java.util.Set<ZoneModel>> getAmbiguousCountriesForZones(java.util.Set<ZoneModel> zones)
Description copied from interface:ZDMVConsistencyStrategyGets allCountryModels and its correspondingZoneModels when theCountryModelbelongs to more than oneZoneModel.- Specified by:
getAmbiguousCountriesForZonesin interfaceZDMVConsistencyStrategy- Parameters:
zones- the zones- Returns:
- a
Mapwhich containsCountryModeland itsZoneModels, when theCountryModelbelongs to more than oneZoneModel. Collections.EMPTY_MAP otherwise.
-
setZoneDeliveryModeDao
public void setZoneDeliveryModeDao(ZoneDeliveryModeDao zoneDeliveryModeDao)
-
-