@UrlBinding(value="/action/feature/ibismerge") @StrictBinding public class IbisMergeFeaturesActionBean extends nl.b3p.viewer.stripes.MergeFeaturesActionBean implements IbisConstants
ID_FIELDNAME, KAVEL_LAYER_NAME, KAVEL_TERREIN_ID_FIELDNAME, MUTATIEDATUM_FIELDNAME, TERREIN_LAYER_NAME, WORKFLOW_FIELDNAME
Constructor and Description |
---|
IbisMergeFeaturesActionBean() |
Modifier and Type | Method and Description |
---|---|
protected void |
afterMerge(List<org.opengis.filter.identity.FeatureId> ids) |
static Locale |
determineLocaleForBundle(net.sourceforge.stripes.action.ActionBeanContext arg0,
nl.b3p.viewer.config.app.Application arg1) |
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 featureA,
org.opengis.feature.simple.SimpleFeature featureB,
org.locationtech.jts.geom.Geometry newGeom,
org.opengis.filter.Filter filterA,
org.opengis.filter.Filter filterB,
org.geotools.data.simple.SimpleFeatureStore localStore,
String localStrategy)
Overrides deleting features by archiving them instead.
|
checkAuthorization, getAppLayer, getApplication, getAuditMessageObject, getContext, getExtraData, getFidA, getFidB, getLayer, getMergeGapDist, getStrategy, handleExtraData, loadLayer, merge, setAppLayer, setApplication, setContext, setExtraData, setFidA, setFidB, setMergeGapDist, setStrategy
protected List<org.opengis.feature.simple.SimpleFeature> handleExtraData(List<org.opengis.feature.simple.SimpleFeature> features) throws org.json.JSONException
extraData
attribute is a piecs of json with the
workflow, eg
{workflow_status:'afgevoerd',datum_mutatie:'2015-12-01Z00:00'}
.handleExtraData
in class nl.b3p.viewer.stripes.MergeFeaturesActionBean
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 featureA, org.opengis.feature.simple.SimpleFeature featureB, org.locationtech.jts.geom.Geometry newGeom, org.opengis.filter.Filter filterA, org.opengis.filter.Filter filterB, org.geotools.data.simple.SimpleFeatureStore localStore, String localStrategy) throws Exception
handleStrategy
in class nl.b3p.viewer.stripes.MergeFeaturesActionBean
Exception
protected void afterMerge(List<org.opengis.filter.identity.FeatureId> ids)
afterMerge
in class nl.b3p.viewer.stripes.MergeFeaturesActionBean
public static Locale determineLocaleForBundle(net.sourceforge.stripes.action.ActionBeanContext arg0, nl.b3p.viewer.config.app.Application arg1)
Copyright © 2023 B3partners. All rights reserved.