| Package | Description |
|---|---|
| de.hybris.platform.storelocator | |
| de.hybris.platform.storelocator.location | |
| de.hybris.platform.storelocator.location.impl |
| Modifier and Type | Method and Description |
|---|---|
protected Location |
AbstractGeocodingTest.createAndStoreTestLocation(String name,
String street,
String buildingNo,
String postalCode,
String city,
String countryIsoCode) |
protected Location |
AbstractGeocodingTest.createTestLocation(String name,
String street,
String buildingNo,
String postalCode,
String city,
String countryIsoCode) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
LocationService.deleteLocation(T location)
Delete the given IAddress from the collection of stored addresses
|
T |
LocationService.getLocation(String streetName,
String streetNumber,
String postalCode,
String town,
String countryCode,
boolean geocode)
Get temporary, non-persisted location
|
T |
LocationService.getLocationByName(String name)
Returns persisted Location by name
|
List<T> |
LocationService.getLocationsForPoint(GPS gps,
int limitLocationsCount,
BaseStoreModel baseStore)
Method returns the nearest locations (points of interest) to the given coordinates, in the number adequate to user
definition.
|
List<T> |
LocationService.getLocationsForPostcode(String postalCode,
String countryCode,
int limitLocationsCount,
BaseStoreModel baseStore)
Method looks for nearest locations (points of interest) to the place defined by postal code and country.
|
List<T> |
LocationService.getLocationsForSearch(String searchTerm,
String countryCode,
int limitLocationsCount,
BaseStoreModel baseStore)
Method looks for nearby locations (points of interest) in the place defined by search term (that can be postal
code or town name) and country.
|
List<T> |
LocationService.getLocationsForTown(String town,
int limitLocationsCount,
BaseStoreModel baseStore)
Method looks for nearest locations (points of interest) to the place defined by city name.
|
List<T> |
LocationService.getLocationsNearby(GPS gps,
double distance)
Get all known addresses which are located in the circle centered in the given gps location and a given radius
|
List<T> |
LocationService.getLocationsNearby(GPS gps,
double distance,
BaseStoreModel baseStore)
Get all known addresses which are located in the circle centered in the given gps location and a given radius,
which belong to a given store
|
List<T> |
LocationService.getSortedLocationsNearby(GPS gps,
double distance,
BaseStoreModel baseStore)
Returns list of sorted
DistanceAwareLocations. |
boolean |
LocationService.saveOrUpdateLocation(T location)
Adds a new address or update existing one
|
void |
LocationServiceTest.testGetLocationsForSearch() |
void |
LocationServiceTest.testGetLocationsNearby() |
void |
LocationServiceTest.testGetLocationsNearbyByPostcode() |
void |
LocationServiceTest.testGetLocationsNearbyByPostcodeInputData() |
void |
LocationServiceTest.testGetLocationsNearbyByTown() |
void |
LocationServiceTest.testGetLocationsNearbyByTownInputData() |
void |
LocationServiceTest.testGetLocationsNearbyInputData() |
void |
LocationServiceTest.testGetLocationsNearbyRadius() |
void |
LocationServiceTest.testGetLocationsNearbySubList() |
void |
LocationMapServiceTest.testGetMapOfLocations() |
| Modifier and Type | Method and Description |
|---|---|
protected double |
DefaultLocationService.calculateDistance(GPS referenceGps,
PointOfServiceModel posModel) |
boolean |
DefaultLocationService.deleteLocation(Location location) |
Location |
DefaultLocationService.getLocation(String streetName,
String streetNumber,
String postalCode,
String town,
String countryCode,
boolean geocode) |
Location |
DefaultLocationService.getLocationByName(String name) |
List<Location> |
DefaultLocationService.getLocationsForPoint(GPS gps,
int limitLocationsCount,
BaseStoreModel baseStore) |
List<Location> |
DefaultLocationService.getLocationsForPostcode(String postalCode,
String countryCode,
int limitLocationsCount,
BaseStoreModel baseStore) |
List<Location> |
DefaultLocationService.getLocationsForTown(String town,
int limitLocationsCount,
BaseStoreModel baseStore) |
List<Location> |
DefaultLocationService.getLocationsNearby(GPS gps,
double distance) |
List<Location> |
DefaultLocationService.getLocationsNearby(GPS gps,
double distance,
BaseStoreModel baseStore) |
List<DistanceAwareLocation> |
DefaultLocationService.getSortedLocationsNearby(GPS gps,
double distance,
BaseStoreModel baseStore) |
boolean |
DefaultLocationService.saveOrUpdateLocation(Location location) |
void |
DefaultLocationServiceUnitTest.testGetSortedLocationNearbyWithNullLatitudeDistance() |
void |
DefaultLocationServiceUnitTest.testGetSortedLocationNearbyWithNullLongitudeDistance() |
void |
DefaultLocationServiceUnitTest.testGetSortedLocationsNearbyWithNotNullDistance() |
Copyright © 2017 SAP SE. All Rights Reserved.