public class AddressParserAction extends SearchAction
DEFAULT_NUMBER_OF_RESULTS_PER_PAGE, errorMessage, POPUP_VIEW
Constructor and Description |
---|
AddressParserAction() |
Modifier and Type | Method and Description |
---|---|
String |
getAddress() |
com.gisgraphy.addressparser.AddressResultsDto |
getAddressResultsDto() |
List<Country> |
getCountries() |
String |
getCountry() |
com.gisgraphy.serializer.common.OutputFormat[] |
getFormats() |
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 |
setAddressParser(com.gisgraphy.addressparser.IAddressParserService addressParser) |
void |
setAdress(String address) |
void |
setAutosubmit(boolean autosubmit) |
void |
setCountry(String country) |
void |
setCountryDao(CountryDao countryDao) |
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 setAddressParser(com.gisgraphy.addressparser.IAddressParserService addressParser)
addressParser
- the addressParser to setCopyright © 2015. All rights reserved.