Class CommerceMockGeoWebServiceWrapper
java.lang.Object
de.hybris.platform.storelocator.impl.CommerceMockGeoWebServiceWrapper
- All Implemented Interfaces:
GeoWebServiceWrapper
- Direct Known Subclasses:
BaiduMapsServiceWrapper,MockedGeoServiceWrapper,MockedGeoServiceWrapper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionformatAddress(Location address) Formats the address textual information depending on the implementationgeocodeAddress(AddressData address) Translate AddressData to IGPS using 3rd party servicegeocodeAddress(Location address) Translate IAddress to IGPS using 3rd party serviceprotected BaseStoreServicegetDistanceAndRoute(GPS start, Location destination) Get distance and route that is between start GPS location and destination addressgetDistanceAndRoute(Location start, Location destination) Get distance and route that is between two addressesvoidsetBaseStoreService(BaseStoreService baseStoreService) voidsetCountryIsoGPSLocationMap(Map<String, GPS> countryIsoGPSLocationMap)
-
Constructor Details
-
CommerceMockGeoWebServiceWrapper
public CommerceMockGeoWebServiceWrapper()
-
-
Method Details
-
geocodeAddress
Description copied from interface:GeoWebServiceWrapperTranslate IAddress to IGPS using 3rd party service- Specified by:
geocodeAddressin interfaceGeoWebServiceWrapper- Returns:
- IGPS
-
geocodeAddress
Description copied from interface:GeoWebServiceWrapperTranslate AddressData to IGPS using 3rd party service- Specified by:
geocodeAddressin interfaceGeoWebServiceWrapper- Returns:
- IGPS
-
getDistanceAndRoute
Description copied from interface:GeoWebServiceWrapperGet distance and route that is between two addresses- Specified by:
getDistanceAndRoutein interfaceGeoWebServiceWrapper- Parameters:
start-Locationdestination-Location- Returns:
DistanceAndRoute
-
getDistanceAndRoute
Description copied from interface:GeoWebServiceWrapperGet distance and route that is between start GPS location and destination address- Specified by:
getDistanceAndRoutein interfaceGeoWebServiceWrapper- Parameters:
start-GPSdestination-Location- Returns:
DistanceAndRoute
-
formatAddress
Description copied from interface:GeoWebServiceWrapperFormats the address textual information depending on the implementation- Specified by:
formatAddressin interfaceGeoWebServiceWrapper- Parameters:
address-Location- Returns:
String
-
getBaseStoreService
-
setBaseStoreService
-
setCountryIsoGPSLocationMap
-
getCountryIsoGPSLocationMap
-