public class KommunePlanTillaegHandler extends Pdk2FeatureHandler
PdkFeatureHandler.Filter<X>
Modifier and Type | Field and Description |
---|---|
protected static Logger |
logger |
endPoint, pm
Constructor and Description |
---|
KommunePlanTillaegHandler(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.
|
protected int |
getParentIdColumnIndex(int parentType)
Given the feature type of this handler is not a "root" type feature
return the index to the foreign-key column in this handler's PlanMetaData
for specified parent feature type.
|
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, getPlanFeature, getPlanFeatureByStatus, getPlanFeatureByStatusWithTransaction, getPlanFeatureByVersion, getRowByIdState, getSpecific, getSpecificByFilterId, getSpecificForCode, getStateTable, getTvaergaaende, lengthOverlapCheck, metaData, pointDistanceCheck, saveFeature, setState, setTransactionError, supportsSelectForUpdate, testPlanStatusChange, validateFeature
public KommunePlanTillaegHandler(PdkWsCommon handler, PlanMetaData pm)
public boolean allowsChildren()
PdkFeatureHandler
allowsChildren
in class PdkFeatureHandler
public final boolean isValidChildOf(int parentCode)
PdkFeatureHandler
isValidChildOf
in class PdkFeatureHandler
public final boolean validateGlKomNr()
PdkFeatureHandler
validateGlKomNr
in class PdkFeatureHandler
protected java.lang.Integer getParentCode(Row pf)
PdkFeatureHandler
getParentCode
in class PdkFeatureHandler
protected int getParentIdColumnIndex(int parentType)
PdkFeatureHandler
getParentIdColumnIndex
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