@UrlBinding(value="/action/feature/ibisedit") @StrictBinding public class IbisEditFeatureActionBean extends nl.b3p.viewer.stripes.EditFeatureActionBean implements IbisConstants
ID_FIELDNAME, KAVEL_LAYER_NAME, KAVEL_TERREIN_ID_FIELDNAME, MUTATIEDATUM_FIELDNAME, TERREIN_LAYER_NAME, WORKFLOW_FIELDNAME
Constructor and Description |
---|
IbisEditFeatureActionBean() |
Modifier and Type | Method and Description |
---|---|
protected String |
addNewFeature() |
protected void |
deleteFeature(String fid)
Override to not delete a feature but set workflow status to
WorkflowStatus.archief |
static Locale |
determineLocaleForBundle(net.sourceforge.stripes.action.ActionBeanContext arg0,
nl.b3p.viewer.config.app.Application arg1) |
protected void |
editFeature(String fid)
Override the method from the base class to process our workflow.
|
protected boolean |
isAttributeUserEditingDisabled(String attrName)
Check that if
disableUserEdit flag is set on the attribute. |
boolean |
isHistorisch() |
boolean |
isReject() |
void |
setHistorisch(boolean historisch) |
void |
setReject(boolean reject) |
delete, edit, getAppLayer, getApplication, getAuditMessageObject, getContext, getFeature, getFID, getJsonFeature, getJsonFeature, getLayer, getStore, initAudit, removeRelatedFeatures, saveRelatedFeatures, setAppLayer, setApplication, setContext, setFeature, setJsonFeature
protected String addNewFeature() throws Exception
addNewFeature
in class nl.b3p.viewer.stripes.EditFeatureActionBean
Exception
protected void deleteFeature(String fid) throws IOException, Exception
WorkflowStatus.archief
deleteFeature
in class nl.b3p.viewer.stripes.EditFeatureActionBean
fid
- feature idIOException
- if anyException
- if anyWorkflowStatus
protected void editFeature(String fid) throws Exception
editFeature
in class nl.b3p.viewer.stripes.EditFeatureActionBean
fid
- feature idException
- if anyprotected boolean isAttributeUserEditingDisabled(String attrName)
disableUserEdit
flag is set on the attribute.
Override superclass behaviour for the workflow field, so that it's not
editable client side, but it can be set programatically in the client.isAttributeUserEditingDisabled
in class nl.b3p.viewer.stripes.EditFeatureActionBean
attrName
- attribute to checktrue
when the configured attribute is flagged as
"readOnly" except when this is workflow statuspublic boolean isHistorisch()
public void setHistorisch(boolean historisch)
public boolean isReject()
public void setReject(boolean reject)
public static Locale determineLocaleForBundle(net.sourceforge.stripes.action.ActionBeanContext arg0, nl.b3p.viewer.config.app.Application arg1)
Copyright © 2023 B3partners. All rights reserved.