@UrlBinding(value="/action/feature/ibissplit") @StrictBinding public class IbisSplitFeatureActionBean extends nl.b3p.viewer.stripes.SplitFeatureActionBean implements IbisConstants
ID_FIELDNAME, KAVEL_LAYER_NAME, KAVEL_TERREIN_ID_FIELDNAME, MUTATIEDATUM_FIELDNAME, TERREIN_LAYER_NAME, WORKFLOW_FIELDNAME
Constructor and Description |
---|
IbisSplitFeatureActionBean() |
Modifier and Type | Method and Description |
---|---|
protected void |
afterSplit(List<org.opengis.filter.identity.FeatureId> ids)
Called after the split is completed and commit was performed.
|
static Locale |
determineLocaleForBundle(net.sourceforge.stripes.action.ActionBeanContext arg0,
nl.b3p.viewer.config.app.Application arg1) |
double |
getSliverMaxArea() |
double |
getSliverRatio() |
protected List<org.opengis.feature.simple.SimpleFeature> |
handleExtraData(List<org.opengis.feature.simple.SimpleFeature> features)
force the workflow status attribute on the feature.
|
protected List<org.opengis.filter.identity.FeatureId> |
handleStrategy(org.opengis.feature.simple.SimpleFeature feature,
List<? extends org.locationtech.jts.geom.Geometry> geoms,
org.opengis.filter.Filter filter,
org.geotools.data.simple.SimpleFeatureStore localStore,
String localStrategy)
Overrides deleting features by archiving them instead.
|
void |
setSliverMaxArea(double sliverMaxArea) |
void |
setSliverRatio(double sliverRatio) |
checkAuthorization, getAppLayer, getApplication, getAuditMessageObject, getContext, getExtraData, getLayer, getSplitFeatureFID, getStrategy, getToSplitWithFeature, handleExtraData, loadLayer, setAppLayer, setApplication, setContext, setExtraData, setSplitFeatureFID, setStrategy, setToSplitWithFeature, split, splitLine, splitPolygon
protected List<org.opengis.feature.simple.SimpleFeature> handleExtraData(List<org.opengis.feature.simple.SimpleFeature> features) throws org.json.JSONException
extraData
attribute is a piece of json with the
workflow, eg
{workflow_status:'afgevoerd',datum_mutatie:'2015-12-01Z00:00'}
.handleExtraData
in class nl.b3p.viewer.stripes.SplitFeatureActionBean
features
- A list of features to be modifiedorg.json.JSONException
- if json parsing failedprotected List<org.opengis.filter.identity.FeatureId> handleStrategy(org.opengis.feature.simple.SimpleFeature feature, List<? extends org.locationtech.jts.geom.Geometry> geoms, org.opengis.filter.Filter filter, org.geotools.data.simple.SimpleFeatureStore localStore, String localStrategy) throws Exception
handleStrategy
in class nl.b3p.viewer.stripes.SplitFeatureActionBean
Exception
protected void afterSplit(List<org.opengis.filter.identity.FeatureId> ids)
afterSplit
in class nl.b3p.viewer.stripes.SplitFeatureActionBean
public double getSliverRatio()
public void setSliverRatio(double sliverRatio)
public double getSliverMaxArea()
public void setSliverMaxArea(double sliverMaxArea)
public static Locale determineLocaleForBundle(net.sourceforge.stripes.action.ActionBeanContext arg0, nl.b3p.viewer.config.app.Application arg1)
Copyright © 2023 B3partners. All rights reserved.