public class Pdk3FeatureHandler extends PdkGenerelRegistreringFeatureHandler
PdkFeatureHandler.Filter<X>
Modifier and Type | Field and Description |
---|---|
protected static Logger |
logger |
endPoint, pm
Constructor and Description |
---|
Pdk3FeatureHandler(PdkWsCommon endPoint,
PlanMetaData pm) |
Modifier and Type | Method and Description |
---|---|
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.
|
void |
testPlanStatusChange(java.lang.String featureId,
java.lang.String newState) |
allowsChildren, followParentState, insertNewSpecType, insertUpdateFeature, supportsSelectForUpdate, updateChildren, validateGlKomNr, 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, validateFeature
public Pdk3FeatureHandler(PdkWsCommon endPoint, PlanMetaData pm)
public 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
public void testPlanStatusChange(java.lang.String featureId, java.lang.String newState) throws java.lang.Exception
testPlanStatusChange
in class PdkFeatureHandler
java.lang.Exception
public final boolean isValidChildOf(int parentCode)
PdkFeatureHandler
isValidChildOf
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