Class PractitionerController
java.lang.Object
org.diabetestechnology.drh.service.http.pg.ux.PractitionerController
-
Constructor Summary
ConstructorsConstructorDescriptionPractitionerController
(PractitionerService practitionerService, Presentation presentation) -
Method Summary
Modifier and TypeMethodDescriptioncheckEmailUniqueness
(String email) createPractitionerProfile
(PractitionerRequest pratitionerRequest) getUserName
(jakarta.servlet.http.HttpServletRequest request) updateProfileDetails
(com.fasterxml.jackson.databind.JsonNode jsonInput)
-
Constructor Details
-
PractitionerController
-
-
Method Details
-
createPractitionerProfile
@PostMapping("/practitioners") @ResponseBody public Response createPractitionerProfile(@RequestBody PractitionerRequest pratitionerRequest) -
checkUserExistence
-
checkEmailUniqueness
-
updateProfileDetails
@PutMapping("/profile") @ResponseBody public Response updateProfileDetails(@RequestBody com.fasterxml.jackson.databind.JsonNode jsonInput) -
getProfileDetails
-
getUserName
@GetMapping("/user-name") @ResponseBody public Response getUserName(jakarta.servlet.http.HttpServletRequest request)
-