@UrlBinding(value="/action/featureinfo") @StrictBinding public class FeatureInfoActionBean extends Object implements net.sourceforge.stripes.action.ActionBean
| Constructor and Description |
|---|
FeatureInfoActionBean() |
| Modifier and Type | Method and Description |
|---|---|
protected org.json.JSONArray |
executeQuery(ApplicationLayer al,
SimpleFeatureType ft,
org.geotools.data.FeatureSource fs,
org.geotools.data.Query q,
javax.persistence.EntityManager em,
Application application,
javax.servlet.http.HttpServletRequest request)
This will execute the actual featureinfo query, can be overridden in
subclasses to modify behaviour such as workflow.
|
Application |
getApplication() |
List<Long> |
getAttributesToInclude() |
net.sourceforge.stripes.action.ActionBeanContext |
getContext() |
String |
getDistance() |
Layer |
getLayer() |
int |
getLimit() |
String |
getQueryJSON() |
String |
getRequestId() |
String |
getX() |
String |
getY() |
net.sourceforge.stripes.action.Resolution |
info() |
boolean |
isArrays() |
boolean |
isEdit() |
boolean |
isGraph() |
boolean |
isOrdered() |
void |
setApplication(Application application) |
void |
setArrays(boolean arrays) |
void |
setAttributesToInclude(List<Long> attributesToInclude) |
void |
setContext(net.sourceforge.stripes.action.ActionBeanContext context) |
void |
setDistance(String distance) |
void |
setEdit(boolean edit) |
void |
setGraph(boolean graph) |
void |
setLimit(int limit) |
void |
setOrdered(boolean ordered) |
void |
setQueryJSON(String queryJSON) |
void |
setRequestId(String requestId) |
void |
setX(String x) |
void |
setY(String y) |
public static final String FID
public net.sourceforge.stripes.action.ActionBeanContext getContext()
getContext in interface net.sourceforge.stripes.action.ActionBeanpublic void setContext(net.sourceforge.stripes.action.ActionBeanContext context)
setContext in interface net.sourceforge.stripes.action.ActionBeanpublic Application getApplication()
public void setApplication(Application application)
public int getLimit()
public void setLimit(int limit)
public String getDistance()
public void setDistance(String distance)
public String getQueryJSON()
public void setQueryJSON(String queryJSON)
public String getX()
public void setX(String x)
public String getY()
public void setY(String y)
public boolean isEdit()
public void setEdit(boolean edit)
public boolean isArrays()
public void setArrays(boolean arrays)
public String getRequestId()
public void setRequestId(String requestId)
public boolean isGraph()
public void setGraph(boolean graph)
public boolean isOrdered()
public void setOrdered(boolean ordered)
public Layer getLayer()
public net.sourceforge.stripes.action.Resolution info()
throws org.json.JSONException
org.json.JSONExceptionprotected org.json.JSONArray executeQuery(ApplicationLayer al, SimpleFeatureType ft, org.geotools.data.FeatureSource fs, org.geotools.data.Query q, javax.persistence.EntityManager em, Application application, javax.servlet.http.HttpServletRequest request) throws IOException, org.json.JSONException, Exception
al - the application layerft - the featuretypefs - the feature sourceq - a queryJSONArrayIOException - if anyorg.json.JSONException - if transforming to json failsException - if anyCopyright © 2019. All rights reserved.