Class DefaultCustomerLocationFacade
- java.lang.Object
-
- de.hybris.platform.acceleratorfacades.customerlocation.impl.DefaultCustomerLocationFacade
-
- All Implemented Interfaces:
CustomerLocationFacade
public class DefaultCustomerLocationFacade extends java.lang.Object implements CustomerLocationFacade
Default implementation ofCustomerLocationFacade
-
-
Constructor Summary
Constructors Constructor Description DefaultCustomerLocationFacade()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CustomerLocationServicegetCustomerLocationService()UserLocationDatagetUserLocationData()Gets the user's location data which consists of the searchQuery of the preferred location and/or the geoPoint of the uservoidsetCustomerLocationService(CustomerLocationService customerLocationService)voidsetUserLocationData(UserLocationData userLocationData)Sets the user's location data which consists of the searchQuery of the preferred location and/or the geoPoint of the user If the searchQuery is null or only consists of spaces, it will be set as a blank string instead.
-
-
-
Method Detail
-
setUserLocationData
public void setUserLocationData(UserLocationData userLocationData)
Description copied from interface:CustomerLocationFacadeSets the user's location data which consists of the searchQuery of the preferred location and/or the geoPoint of the user If the searchQuery is null or only consists of spaces, it will be set as a blank string instead.- Specified by:
setUserLocationDatain interfaceCustomerLocationFacade- Parameters:
userLocationData- user's location data
-
getUserLocationData
public UserLocationData getUserLocationData()
Description copied from interface:CustomerLocationFacadeGets the user's location data which consists of the searchQuery of the preferred location and/or the geoPoint of the user- Specified by:
getUserLocationDatain interfaceCustomerLocationFacade- Returns:
- the user's location data
-
getCustomerLocationService
protected CustomerLocationService getCustomerLocationService()
-
setCustomerLocationService
public void setCustomerLocationService(CustomerLocationService customerLocationService)
-
-