Class PlanregistratieController
java.lang.Object
nl.b3p.planmonitorwonen.api.controller.PlanregistratieController
@RestController
@RequestMapping(path="${planmonitor-wonen-api.base-path}/{version}",
version="v2")
@Profile("!test")
public class PlanregistratieController
extends Object
-
Constructor Summary
ConstructorsConstructorDescriptionPlanregistratieController(PlanmonitorAuthenticationService authenticationService, PlanmonitorWonenDatabaseService planmonitorWonenDatabaseService, PlanregistratieCompletionService completionService, EnumValues enumValues) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Void> planregistratie(UUID id) planregistraties(boolean details) org.springframework.http.ResponseEntity<Planregistratie> put(UUID id, Planregistratie planregistratie) Creates or replaces a planregistratie.
-
Constructor Details
-
PlanregistratieController
public PlanregistratieController(PlanmonitorAuthenticationService authenticationService, PlanmonitorWonenDatabaseService planmonitorWonenDatabaseService, PlanregistratieCompletionService completionService, EnumValues enumValues)
-
-
Method Details
-
planregistraties
@GetMapping(path="/planregistraties") public List<Planregistratie> planregistraties(@RequestParam(required=false) boolean details) -
planregistratie
@GetMapping(path="/planregistratie/{id}") public Planregistratie planregistratie(@PathVariable("id") UUID id) -
put
@PutMapping(path="/planregistratie/{id}") public org.springframework.http.ResponseEntity<Planregistratie> put(@PathVariable("id") UUID id, @RequestBody Planregistratie planregistratie) throws org.locationtech.jts.io.ParseException Creates or replaces a planregistratie. Returns the saved planregistratie including the fields filled in by the server, with status 201 when it was created and 200 when it was replaced.- Throws:
org.locationtech.jts.io.ParseException
-
delete
-