public class GeolocSearchAction extends SearchAction
Modifier and Type | Field and Description |
---|---|
String |
lat |
String |
lng |
String |
radius |
DEFAULT_NUMBER_OF_RESULTS_PER_PAGE, errorMessage, POPUP_VIEW
Constructor and Description |
---|
GeolocSearchAction() |
Modifier and Type | Method and Description |
---|---|
com.gisgraphy.serializer.common.OutputFormat[] |
getFormats() |
String |
getLat() |
String |
getLng() |
String |
getPlacetype() |
String |
getRadius() |
com.gisgraphy.geoloc.GeolocResultsDto |
getResponseDTO() |
boolean |
isDisplayResults() |
boolean |
isDistance() |
String |
search()
Execute a GeolocSearch from the request parameters
|
String |
searchpopup()
Execute a geolocSearch from the request parameters
|
void |
setDistance(boolean distance) |
void |
setGeolocSearchEngine(com.gisgraphy.geocoloc.IGeolocSearchEngine geolocSearchEngine) |
void |
setLat(String lat) |
void |
setLng(String lng) |
void |
setPlacetype(String placetype) |
void |
setRadius(String radius) |
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 isDistance()
public void setDistance(boolean distance)
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 setGeolocSearchEngine(com.gisgraphy.geocoloc.IGeolocSearchEngine geolocSearchEngine)
geolocSearchEngine
- the geolocSearchEngine to setpublic String getLat()
public void setLat(String lat)
lat
- the lat to setpublic String getLng()
public void setLng(String lng)
lng
- the lng to setpublic String getRadius()
public void setRadius(String radius)
radius
- the radius to setpublic void setPlacetype(String placetype)
placetype
- the placetype to setpublic String getPlacetype()
public com.gisgraphy.geoloc.GeolocResultsDto getResponseDTO()
Copyright © 2015. All rights reserved.