Package org.cswteams.ms3.rest
Class UsersRestEndpoint
java.lang.Object
org.cswteams.ms3.rest.UsersRestEndpoint
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<?> addUserSystemActor(UserSystemActorsDTO userSystemActorsDTO) org.springframework.http.ResponseEntity<?> createUser(UserCreationDTO doctor) org.springframework.http.ResponseEntity<?> deleteUserSystemActor(UserSystemActorDTO userSystemActorDTO) org.springframework.http.ResponseEntity<?> org.springframework.http.ResponseEntity<?> getSingleUser(Long userId) org.springframework.http.ResponseEntity<?> getSingleUserProfileInfos(Long userId)
-
Constructor Details
-
UsersRestEndpoint
public UsersRestEndpoint()
-
-
Method Details
-
createUser
@RequestMapping(method=POST, path="") public org.springframework.http.ResponseEntity<?> createUser(@RequestBody UserCreationDTO doctor) -
getAllUsers
@RequestMapping(method=GET) public org.springframework.http.ResponseEntity<?> getAllUsers() -
getSingleUser
@RequestMapping(method=GET, path="/user_id={userId}") public org.springframework.http.ResponseEntity<?> getSingleUser(@PathVariable Long userId) -
getSingleUserProfileInfos
@RequestMapping(method=GET, path="/user-profile/user_id={userId}") public org.springframework.http.ResponseEntity<?> getSingleUserProfileInfos(@PathVariable Long userId) -
deleteUserSystemActor
@RequestMapping(method=DELETE, path="/user-profile/delete-system-actor") public org.springframework.http.ResponseEntity<?> deleteUserSystemActor(@RequestBody UserSystemActorDTO userSystemActorDTO) -
addUserSystemActor
@RequestMapping(method=POST, path="/user-profile/add-system-actors") public org.springframework.http.ResponseEntity<?> addUserSystemActor(@RequestBody UserSystemActorsDTO userSystemActorsDTO)
-