public class DefaultGeolocationService extends Object implements GeolocationService
| Modifier and Type | Field and Description |
|---|---|
protected static StatusCalculator |
NULL_STATUS_CALCULATOR |
| Constructor and Description |
|---|
DefaultGeolocationService(GenericPersistenceAccessor genericPersistenceAccessor,
GeolocationResolver resolver) |
| Modifier and Type | Method and Description |
|---|---|
List<GeolocationInfo> |
getLocations(GeolocationQuery query)
Returns a list of
GeolocationInfo based on the GeolocationQuery. |
protected StatusCalculator |
getStatusCalculator(StatusCalculationStrategy strategy) |
protected static final StatusCalculator NULL_STATUS_CALCULATOR
public DefaultGeolocationService(GenericPersistenceAccessor genericPersistenceAccessor, GeolocationResolver resolver)
public List<GeolocationInfo> getLocations(GeolocationQuery query)
GeolocationServiceGeolocationInfo based on the GeolocationQuery.getLocations in interface GeolocationServicequery - the query to performprotected StatusCalculator getStatusCalculator(StatusCalculationStrategy strategy)
Copyright © 2020. All rights reserved.