public class DisplayFeatureAction
extends com.opensymphony.xwork2.ActionSupport
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 featureId is not a numeric value
|
static String |
ERROR_REF_NON_UNIQUE_RESULT
The reference in the localized file for the error for the fact that more
than one features were founds for the specified featureId
|
static String |
ERROR_REF_NORESULT
The reference in the localized file for the error for the fact that no
gid were found for the specified featureId
|
static String |
ERROR_REF_REQUIRED_FEATURE_ID
The reference in the localized file for the error for the fact featureId
is required
|
Constructor and Description |
---|
DisplayFeatureAction() |
Modifier and Type | Method and Description |
---|---|
String |
execute() |
String |
getErrorMessage() |
String |
getErrorRef() |
String |
getPreferedName() |
com.gisgraphy.fulltext.SolrResponseDto |
getResult() |
String |
getShape() |
protected String |
retrieveShape(Long featureId) |
void |
setFeatureId(String featureId) |
void |
setFullTextSearchEngine(com.gisgraphy.fulltext.IFullTextSearchEngine fullTextSearchEngine) |
void |
setGisFeatureDao(IGisFeatureDao gisFeatureDao) |
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 ERROR_REF_REQUIRED_FEATURE_ID
public static final String ERROR_REF_NON_NUMERIC_FEATUREID
public static final String ERROR_REF_NON_UNIQUE_RESULT
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 void setFullTextSearchEngine(com.gisgraphy.fulltext.IFullTextSearchEngine fullTextSearchEngine)
fullTextSearchEngine
- the fullTextSearchEngine to setpublic void setGisFeatureDao(IGisFeatureDao gisFeatureDao)
public void setFeatureId(String featureId)
featureId
- the featureId to setpublic String getErrorRef()
public com.gisgraphy.fulltext.SolrResponseDto getResult()
public String getErrorMessage()
public String getShape()
Copyright © 2015. All rights reserved.