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 ofGeolocationInfo
based on theGeolocationQuery
.
-
-
-
Constructor Detail
-
DefaultGeolocationService
public DefaultGeolocationService(GenericPersistenceAccessor genericPersistenceAccessor, NodeStatusCalculator nodeStatusCalculator)
-
-
Method Detail
-
getLocations
public List<GeolocationInfo> getLocations(GeolocationQuery query)
Description copied from interface:GeolocationService
Returns a list ofGeolocationInfo
based on theGeolocationQuery
.- Specified by:
getLocations
in interfaceGeolocationService
- Parameters:
query
- the query to perform- Returns:
- All nodes which have coordinates (may be resolved) with a status and additional information.
-
-