public class KommunePlanStrategiHandler extends Pdk2FeatureHandler
PdkFeatureHandler.Filter<X>
Modifier and Type | Field and Description |
---|---|
protected static Logger |
logger |
endPoint, pm
Constructor and Description |
---|
KommunePlanStrategiHandler(PdkWsCommon handler,
PlanMetaData pm) |
Modifier and Type | Method and Description |
---|---|
boolean |
allowsChildren()
Previously named: isRootType() Every feature type is either a "root" type
or a "child" type.
|
protected boolean |
assertConstraints(FeatureTransaction event)
Asserts that specialized data constraints are not violated when a plan's
features are inserted or updated.
|
protected java.lang.Integer |
getParentCode(Row pf)
In the database each feature row may contain a foreign-key to a parent
row.
|
boolean |
isValidChildOf(int parentCode)
Tells if this feature-type is a valid child of some parent feature type.
|
boolean |
validateGlKomNr()
Should constraints on GlKomNr be validated.
|
insertNewSpecType, insertUpdateFeature, updateChildren, willCascadeUpdate
appendCurrentId, appendCurrentId, appendCurrentPState, appendIsCurrent, appendIsCurrent, appendOrderByPState, appendPState, appendPState, appendStateId, areaOverlapCheck, assertAccessRights, assertDeletionState, assertGeometryIsValid, assertGlKomNrIsValid, checkIsNotNull, createAdminCodesSql, createAreaNodeIdentifier, createAreaNodeIdentifier, createAreaNodeIdentifier, createPlanFeature, createPlanFeatureFromRow, deleteFeature, deleteFeature, deleteFeatureNonPersistent, deleteFeaturePersistent, distanceCheck, elementExists, establishAdminCodes, establishExistingPlanFeature, establishPdfDocument, getABestem, getAdminCodeForFeatureID, getChildrenByParentIdResult, getChildTypes, getFeatureByAdminCodesResult, getFeatureByIdResult, getFeatureCollection, getFeatureCollectionPaged, getFeatureCount, getFeatureEnvelopeById, getFeatureListByParentId, getFeatureWithinGeometryResult, getId, getNewFeatureId, getOverlapParams, getParentIdColumnIndex, getPlanFeature, getPlanFeatureByStatus, getPlanFeatureByStatusWithTransaction, getPlanFeatureByVersion, getRowByIdState, getSpecific, getSpecificByFilterId, getSpecificForCode, getStateTable, getTvaergaaende, lengthOverlapCheck, metaData, pointDistanceCheck, saveFeature, setState, setTransactionError, supportsSelectForUpdate, testPlanStatusChange, validateFeature
public KommunePlanStrategiHandler(PdkWsCommon handler, PlanMetaData pm)
public boolean allowsChildren()
PdkFeatureHandler
allowsChildren
in class PdkFeatureHandler
public boolean isValidChildOf(int parentCode)
PdkFeatureHandler
isValidChildOf
in class PdkFeatureHandler
protected java.lang.Integer getParentCode(Row pf)
PdkFeatureHandler
getParentCode
in class PdkFeatureHandler
public final boolean validateGlKomNr()
PdkFeatureHandler
validateGlKomNr
in class PdkFeatureHandler
protected final boolean assertConstraints(FeatureTransaction event) throws java.sql.SQLException, DBException, java.lang.Exception
PdkFeatureHandler
assertConstraints
in class PdkFeatureHandler
java.sql.SQLException
DBException
java.lang.Exception