Class StoreLocationsProvider
- java.lang.Object
-
- de.hybris.platform.assistedservicestorefront.customer360.provider.StoreLocationsProvider
-
- All Implemented Interfaces:
FragmentModelProvider<java.lang.String>
public class StoreLocationsProvider extends java.lang.Object implements FragmentModelProvider<java.lang.String>
This class provides the nearest stores that the as agent has been mapped to, otherwise the browsers location will be considered.
-
-
Constructor Summary
Constructors Constructor Description StoreLocationsProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AssistedServiceService
getAssistedServiceService()
java.lang.String
getModel(java.util.Map<java.lang.String,java.lang.String> parameters)
Return restricted results based on parametersprotected java.lang.String
prepareAddressData(AddressModel address)
void
setAssistedServiceService(AssistedServiceService assistedServiceService)
-
-
-
Method Detail
-
getModel
public java.lang.String getModel(java.util.Map<java.lang.String,java.lang.String> parameters)
Description copied from interface:FragmentModelProvider
Return restricted results based on parameters- Specified by:
getModel
in interfaceFragmentModelProvider<java.lang.String>
- Parameters:
parameters
- to restrict results- Returns:
- results depends on the provided type
-
prepareAddressData
protected java.lang.String prepareAddressData(AddressModel address)
-
getAssistedServiceService
protected AssistedServiceService getAssistedServiceService()
-
setAssistedServiceService
public void setAssistedServiceService(AssistedServiceService assistedServiceService)
-
-