Class FindEntitiesToDetermineLocationTask

java.lang.Object
ch.tocco.nice2.optional.geolocation.impl.batch.FindEntitiesToDetermineLocationTask
All Implemented Interfaces:
OptionalTask<GeoLocationEntityContribution,QueryBuilder>, PersistTask<GeoLocationEntityContribution,QueryBuilder>

public class FindEntitiesToDetermineLocationTask extends Object implements OptionalTask<GeoLocationEntityContribution,QueryBuilder>
Returns a query to find all entities with determine_geolocation set to true and Geo_location_status is not set or is error or timeout. Entities with geo location status unknown aren't taken into account intentionally, since there might be a lot of them. There may be addresses which are unknown to the geo location service → if they become known and should be determined again, you have to clear the status unknown by hand. Same with status undetermined.