Class PlanregistratieCompletionService
java.lang.Object
nl.b3p.planmonitorwonen.api.service.PlanregistratieCompletionService
Fills in fields of a planregistratie the server can determine: the provincie of the gemeente, a default
vertrouwelijkheid and the regio and woonmilieu from the geometry when not set by the client. Also checks the gemeente
exists and the geometry lies (partly) within the gemeente.
-
Constructor Summary
ConstructorsConstructorDescriptionPlanregistratieCompletionService(PlanmonitorWonenDatabaseService pmwDb, PlanregistratieAutofillService autofillService) -
Method Summary
Modifier and TypeMethodDescriptionvoidcomplete(Planregistratie planregistratie) Fills in the fields the server can determine.
-
Constructor Details
-
PlanregistratieCompletionService
public PlanregistratieCompletionService(PlanmonitorWonenDatabaseService pmwDb, PlanregistratieAutofillService autofillService)
-
-
Method Details
-
complete
Fills in the fields the server can determine.- Parameters:
planregistratie- a planregistratie which passedPlanregistratieValidator- Throws:
PlanregistratieValidationException- for an unknown gemeente or a geometry outside the gemeenteorg.locationtech.jts.io.ParseException
-