public class DisplayStreetAction extends com.opensymphony.xwork2.ActionSupport implements GoogleMapApiKeyAware
Modifier and Type | Field and Description |
---|---|
static String |
ERROR |
static String |
ERROR_REF_NON_NUMERIC_FEATUREID
The reference in the localized file for the error for the fact that the
specified gid is not a numeric value
|
static String |
ERROR_REF_NORESULT
The reference in the localized file for the error for the fact that no
features were found for the specified gid
|
static String |
ERROR_REF_REQUIRED_FEATURE_ID
The reference in the localized file for the error for the fact gid
is required
|
static String |
GLOBAL_STREET_NONAME
The reference in the localized file for the fact that the street has no name
|
Constructor and Description |
---|
DisplayStreetAction() |
Modifier and Type | Method and Description |
---|---|
String |
execute() |
String |
getErrorMessage() |
String |
getErrorRef() |
String |
getGid() |
String |
getGoogleMapAPIKey() |
String |
getLat() |
String |
getLng() |
String |
getPreferedName() |
OpenStreetMap |
getResult() |
String |
getShape() |
protected String |
retrieveShape(Long gid) |
void |
setGid(String gid) |
void |
setLat(String lat) |
void |
setLng(String lng) |
void |
setOpenStreetMapDao(IOpenStreetMapDao openStreetMapDao) |
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
public static final String GLOBAL_STREET_NONAME
public static final String ERROR_REF_REQUIRED_FEATURE_ID
public static final String ERROR_REF_NON_NUMERIC_FEATUREID
public static final String ERROR_REF_NORESULT
public static final String ERROR
public String getPreferedName()
public String execute() throws Exception
execute
in interface com.opensymphony.xwork2.Action
execute
in class com.opensymphony.xwork2.ActionSupport
Exception
public String getGid()
public void setGid(String gid)
gid
- the gid to setpublic void setOpenStreetMapDao(IOpenStreetMapDao openStreetMapDao)
openStreetMapDao
- the openStreetMapDao to setpublic String getErrorRef()
public OpenStreetMap getResult()
public String getErrorMessage()
public String getGoogleMapAPIKey()
getGoogleMapAPIKey
in interface GoogleMapApiKeyAware
public String getShape()
public String getLat()
public void setLat(String lat)
public String getLng()
public void setLng(String lng)
Copyright © 2015. All rights reserved.