Package org.cswteams.ms3.rest
Class DoctorRestEndpoint
java.lang.Object
org.cswteams.ms3.rest.DoctorRestEndpoint
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<?> addDoctorConditions(UpdateConditionsDTO updateConditionsDTO) org.springframework.http.ResponseEntity<?> addDoctorSpecialization(DoctorSpecializationDTO doctorSpecializationDTO) org.springframework.http.ResponseEntity<?> deleteDoctorPermanentCondition(PermanentConditionDTO permanentConditionDTO) org.springframework.http.ResponseEntity<?> deleteDoctorSpecialization(SingleDoctorSpecializationDTO doctorSpecializationDTO) org.springframework.http.ResponseEntity<?> deleteDoctorTemporaryCondition(TemporaryConditionDTO temporaryConditionDTO) org.springframework.http.ResponseEntity<?> org.springframework.http.ResponseEntity<?> getDoctorById(Long doctorId)
-
Constructor Details
-
DoctorRestEndpoint
public DoctorRestEndpoint()
-
-
Method Details
-
getAllDoctors
@RequestMapping(method=GET) public org.springframework.http.ResponseEntity<?> getAllDoctors() -
getDoctorById
@RequestMapping(method=GET, path="/{doctorId}") public org.springframework.http.ResponseEntity<?> getDoctorById(@PathVariable Long doctorId) -
deleteDoctorSpecialization
@RequestMapping(method=DELETE, path="/user-profile/delete-specialization") public org.springframework.http.ResponseEntity<?> deleteDoctorSpecialization(@RequestBody SingleDoctorSpecializationDTO doctorSpecializationDTO) -
addDoctorSpecialization
@RequestMapping(method=POST, path="/user-profile/add-specialization") public org.springframework.http.ResponseEntity<?> addDoctorSpecialization(@RequestBody DoctorSpecializationDTO doctorSpecializationDTO) -
deleteDoctorPermanentCondition
@RequestMapping(method=DELETE, path="/user-profile/delete-permanent-condition") public org.springframework.http.ResponseEntity<?> deleteDoctorPermanentCondition(@RequestBody PermanentConditionDTO permanentConditionDTO) -
deleteDoctorTemporaryCondition
@RequestMapping(method=DELETE, path="/user-profile/delete-temporary-condition") public org.springframework.http.ResponseEntity<?> deleteDoctorTemporaryCondition(@RequestBody TemporaryConditionDTO temporaryConditionDTO) -
addDoctorConditions
@RequestMapping(method=POST, path="/user-profile/add-condition") public org.springframework.http.ResponseEntity<?> addDoctorConditions(@RequestBody UpdateConditionsDTO updateConditionsDTO) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-