public class KommunePlanRammeHandler extends Pdk2FeatureHandler
PdkFeatureHandler.Filter<X>
endPoint, pm
Constructor and Description |
---|
KommunePlanRammeHandler(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 ft)
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.
|
protected boolean |
supportsSelectForUpdate()
Select FOR UPDATE is not supported by this handler, as the underlying
functional view contains outer joins due to that a KommunePlanRamme is
either a child of a Kommuneplane or a KommunePlanTillaeg.
|
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, testPlanStatusChange, validateFeature
public KommunePlanRammeHandler(PdkWsCommon handler, PlanMetaData pm)
public final 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 final java.lang.Integer getParentCode(Row pf)
PdkFeatureHandler
getParentCode
in class PdkFeatureHandler
protected final int getParentIdColumnIndex(int parentType)
PdkFeatureHandler
getParentIdColumnIndex
in class PdkFeatureHandler
protected final boolean supportsSelectForUpdate()
supportsSelectForUpdate
in class PdkFeatureHandler
protected final boolean assertConstraints(FeatureTransaction ft) throws java.sql.SQLException, DBException, java.lang.Exception
PdkFeatureHandler
assertConstraints
in class PdkFeatureHandler
java.sql.SQLException
DBException
java.lang.Exception