public class GeocodingByTextAction extends SearchAction
DEFAULT_NUMBER_OF_RESULTS_PER_PAGE, errorMessage, POPUP_VIEW
Constructor and Description |
---|
GeocodingByTextAction() |
Modifier and Type | Method and Description |
---|---|
String |
getAddress() |
com.gisgraphy.addressparser.AddressResultsDto |
getAddressResultsDto() |
List<Country> |
getCountries() |
String |
getCountry() |
com.gisgraphy.serializer.common.OutputFormat[] |
getFormats() |
Boolean |
getStructured() |
String |
getStyle() |
boolean |
isAutosubmit() |
boolean |
isDisplayResults() |
String |
search()
Execute a fulltextSearch from the request parameters
|
String |
searchpopup()
Execute a fulltextSearch from the request parameters
|
void |
setAdress(String address) |
void |
setAutosubmit(boolean autosubmit) |
void |
setCountry(String country) |
void |
setCountryDao(CountryDao countryDao) |
void |
setGeocodingService(com.gisgraphy.geocoding.IGeocodingService geocodingService) |
void |
setStructured(Boolean structured) |
getDefaultNumberOfResultsPerPage, getErrorMessage, getFormat, getFrom, getPlacetypes, getTo, isAdvancedSearch, isIndent, setAdvancedSearch, setFormat, setFrom, setIndent, setTo
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, execute, 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
public boolean isDisplayResults()
public String search() throws Exception
Exception
- in case of errorspublic String searchpopup() throws Exception
Exception
- in case of errorspublic com.gisgraphy.serializer.common.OutputFormat[] getFormats()
public void setCountry(String country)
country
- the country parameter to setpublic void setAdress(String address)
address
- the address to setpublic String getCountry()
public String getStyle()
public String getAddress()
public void setCountryDao(CountryDao countryDao)
countryDao
- the countryDao to setpublic com.gisgraphy.addressparser.AddressResultsDto getAddressResultsDto()
public boolean isAutosubmit()
public void setAutosubmit(boolean autosubmit)
autosubmit
- the autosubmit to setpublic void setGeocodingService(com.gisgraphy.geocoding.IGeocodingService geocodingService)
public Boolean getStructured()
public void setStructured(Boolean structured)
Copyright © 2015. All rights reserved.