|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.opensymphony.xwork2.ActionSupport
com.gisgraphy.webapp.action.GeocodingAction
public class GeocodingAction
Ggeocoding Action
Field Summary |
---|
Fields inherited from class com.opensymphony.xwork2.ActionSupport |
---|
LOG |
Fields inherited from interface com.opensymphony.xwork2.Action |
---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Constructor Summary | |
---|---|
GeocodingAction()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class com.opensymphony.xwork2.ActionSupport |
---|
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, validate |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GeocodingAction()
Method Detail |
---|
public String execute() throws Exception
execute
in interface com.opensymphony.xwork2.Action
execute
in class com.opensymphony.xwork2.ActionSupport
Exception
protected 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 List<Country> getCountries()
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 GoogleMapApiKeyAware
public boolean isCityFound()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |