public class GeocodingAction extends com.opensymphony.xwork2.ActionSupport implements GoogleMapApiKeyAware
| Constructor and Description |
|---|
GeocodingAction() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
buildCityDisplayName(com.gisgraphy.fulltext.SolrResponseDto cityfound) |
String |
execute() |
List<com.gisgraphy.fulltext.SolrResponseDto> |
getAmbiguousCities() |
String |
getAmbiguousCity() |
String |
getCity() |
List<Country> |
getCountries() |
String |
getCountryCode() |
String |
getErrorMessage() |
String |
getGoogleMapAPIKey() |
String |
getLat() |
String |
getLatLongJson() |
String |
getLng() |
String |
getMessage() |
boolean |
isCityFound() |
void |
setAmbiguousCities(List<com.gisgraphy.fulltext.SolrResponseDto> ambiguousCities) |
void |
setAmbiguousCity(String ambiguousCity) |
void |
setCity(String city) |
void |
setCountryCode(String countryCode) |
void |
setCountryDao(ICountryDao countryDao) |
void |
setFullTextSearchEngine(com.gisgraphy.fulltext.IFullTextSearchEngine fullTextSearchEngine) |
void |
setLat(String lat) |
void |
setLng(String lng) |
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setFieldErrors, validatepublic String execute() throws Exception
execute in interface com.opensymphony.xwork2.Actionexecute in class com.opensymphony.xwork2.ActionSupportExceptionprotected String buildCityDisplayName(com.gisgraphy.fulltext.SolrResponseDto cityfound)
public String getLatLongJson()
public List<com.gisgraphy.fulltext.SolrResponseDto> getAmbiguousCities()
public void setAmbiguousCities(List<com.gisgraphy.fulltext.SolrResponseDto> ambiguousCities)
public String getAmbiguousCity()
public void setAmbiguousCity(String ambiguousCity)
ambiguousCity - the ambiguousCity to setpublic void setCountryDao(ICountryDao countryDao)
countryDao - the countryDao to setpublic void setFullTextSearchEngine(com.gisgraphy.fulltext.IFullTextSearchEngine fullTextSearchEngine)
fullTextSearchEngine - the fullTextSearchEngine to setpublic String getCity()
public void setCity(String city)
city - the city to setpublic String getCountryCode()
public void setCountryCode(String countryCode)
countryCode - the countryCode to setpublic String getMessage()
public String getErrorMessage()
public String getLng()
public void setLng(String lng)
lng - the lng to setpublic String getLat()
public void setLat(String lat)
lat - the lat to setpublic String getGoogleMapAPIKey()
getGoogleMapAPIKey in interface GoogleMapApiKeyAwarepublic boolean isCityFound()
Copyright © 2015. All rights reserved.