@UrlBinding(value="/action/feature/edit") @StrictBinding public class EditFeatureActionBean extends Object implements net.sourceforge.stripes.action.ActionBean
| Constructor and Description |
|---|
EditFeatureActionBean() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
addNewFeature() |
net.sourceforge.stripes.action.Resolution |
delete() |
protected void |
deleteFeature(String fid) |
net.sourceforge.stripes.action.Resolution |
edit() |
protected void |
editFeature(String fid) |
ApplicationLayer |
getAppLayer() |
Application |
getApplication() |
net.sourceforge.stripes.action.ActionBeanContext |
getContext() |
String |
getFeature() |
String |
getFID() |
org.json.JSONObject |
getJsonFeature() |
Layer |
getLayer() |
org.geotools.data.simple.SimpleFeatureStore |
getStore() |
protected boolean |
isAttributeUserEditingDisabled(String attrName)
Check that if
disableUserEdit flag is set on the attribute. |
void |
setAppLayer(ApplicationLayer appLayer) |
void |
setApplication(Application application) |
void |
setContext(net.sourceforge.stripes.action.ActionBeanContext context) |
void |
setFeature(String feature) |
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 String getFeature()
public void setFeature(String feature)
public ApplicationLayer getAppLayer()
public void setAppLayer(ApplicationLayer appLayer)
public org.geotools.data.simple.SimpleFeatureStore getStore()
public org.json.JSONObject getJsonFeature()
public Layer getLayer()
public String getFID()
@DefaultHandler
public net.sourceforge.stripes.action.Resolution edit()
throws org.json.JSONException
org.json.JSONExceptionpublic net.sourceforge.stripes.action.Resolution delete()
throws org.json.JSONException
org.json.JSONExceptionprotected void deleteFeature(String fid) throws IOException, Exception
IOExceptionExceptionprotected boolean isAttributeUserEditingDisabled(String attrName)
disableUserEdit flag is set on the attribute.attrName - attribute to checktrue when the configured attribute is flagged as
"readOnly"Copyright © 2019. All rights reserved.