Class DefaultGeolocationService
- java.lang.Object
-
- org.opennms.features.geolocation.services.DefaultGeolocationService
-
- All Implemented Interfaces:
GeolocationService
public class DefaultGeolocationService extends Object implements GeolocationService
-
-
Constructor Summary
Constructors Constructor Description DefaultGeolocationService(GenericPersistenceAccessor genericPersistenceAccessor, NodeStatusCalculator nodeStatusCalculator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<GeolocationInfo>getLocations(GeolocationQuery query)Returns a list ofGeolocationInfobased on theGeolocationQuery.
-
-
-
Constructor Detail
-
DefaultGeolocationService
public DefaultGeolocationService(GenericPersistenceAccessor genericPersistenceAccessor, NodeStatusCalculator nodeStatusCalculator)
-
-
Method Detail
-
getLocations
public List<GeolocationInfo> getLocations(GeolocationQuery query)
Description copied from interface:GeolocationServiceReturns a list ofGeolocationInfobased on theGeolocationQuery.- Specified by:
getLocationsin interfaceGeolocationService- Parameters:
query- the query to perform- Returns:
- All nodes which have coordinates (may be resolved) with a status and additional information.
-
-