Class DefaultCosServiceUtils
java.lang.Object
com.sap.sapoaacosintegration.services.common.util.impl.DefaultCosServiceUtils
- All Implemented Interfaces:
CosServiceUtils
Default COS service utility implementation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionde.hybris.platform.storelocator.GPSfetchDestinationCoordinates(de.hybris.platform.storelocator.data.AddressData addressData) Provides the GPS coordinates for the givenAddressDatagenerates a random item number in follwing pattern: ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$protected StringgetConsumedDestinationModelById(String destinationId) de.hybris.platform.servicelayer.search.FlexibleSearchServicede.hybris.platform.storelocator.GeoWebServiceWrappervoidsetFlexibleSearchService(de.hybris.platform.servicelayer.search.FlexibleSearchService flexibleSearchService) voidsetGeoWebServiceWrapper(de.hybris.platform.storelocator.GeoWebServiceWrapper geoWebServiceWrapper)
-
Constructor Details
-
DefaultCosServiceUtils
public DefaultCosServiceUtils()
-
-
Method Details
-
generateItemNumber
generates a random item number in follwing pattern: ^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$- Specified by:
generateItemNumberin interfaceCosServiceUtils- Returns:
String
-
fetchDestinationCoordinates
public de.hybris.platform.storelocator.GPS fetchDestinationCoordinates(de.hybris.platform.storelocator.data.AddressData addressData) Provides the GPS coordinates for the givenAddressData- Specified by:
fetchDestinationCoordinatesin interfaceCosServiceUtils- Parameters:
addressData-- Returns:
GPS
-
generateRandomString
-
getGeoWebServiceWrapper
public de.hybris.platform.storelocator.GeoWebServiceWrapper getGeoWebServiceWrapper()- Returns:
- the geoWebServiceWrapper
-
getConsumedDestinationModelById
- Specified by:
getConsumedDestinationModelByIdin interfaceCosServiceUtils- Returns:
ConsumedDestinationModel
-
setGeoWebServiceWrapper
public void setGeoWebServiceWrapper(de.hybris.platform.storelocator.GeoWebServiceWrapper geoWebServiceWrapper) - Parameters:
geoWebServiceWrapper- the geoWebServiceWrapper to set
-
getFlexibleSearchService
public de.hybris.platform.servicelayer.search.FlexibleSearchService getFlexibleSearchService()- Returns:
- the flexibleSearchService
-
setFlexibleSearchService
public void setFlexibleSearchService(de.hybris.platform.servicelayer.search.FlexibleSearchService flexibleSearchService) - Parameters:
flexibleSearchService- the flexibleSearchService to set
-