Uses of Class
com.unosquare.carmigo.dto.response.PlatformUserResponse
-
Uses of PlatformUserResponse in com.unosquare.carmigo.controller
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<PlatformUserResponse>
PlatformUserController.createPlatformUser
(@Valid PlatformUserRequest platformUserRequest) Enables a user to create an account.org.springframework.http.ResponseEntity<PlatformUserResponse>
PlatformUserController.getCurrentPlatformUserProfile
(boolean refreshCache) Enables logged-in users to see their profiles.org.springframework.http.ResponseEntity<PlatformUserResponse>
PlatformUserController.getPlatformUserById
(int platformUserId, boolean refreshCache) Enables logged-in admin users to see other user's profiles.org.springframework.http.ResponseEntity<PlatformUserResponse>
PlatformUserController.patchCurrentPlatformUser
(com.github.fge.jsonpatch.JsonPatch patch) Enables logged-in users to correct their profiles.org.springframework.http.ResponseEntity<PlatformUserResponse>
PlatformUserController.patchPlatformUserById
(int platformUserId, com.github.fge.jsonpatch.JsonPatch patch) Enables admin logged-in users to correct other user's profiles. -
Uses of PlatformUserResponse in com.unosquare.carmigo.service
Modifier and TypeMethodDescriptionPlatformUserService.cacheableGetPlatformUserById
(int platformUserId) Fetches a platform user and caches them.PlatformUserService.createPlatformUser
(PlatformUserRequest platformUserRequest) Creates a platform user.PlatformUserService.patchPlatformUserById
(int platformUserId, com.github.fge.jsonpatch.JsonPatch patch) Corrects platform user information.
Pass an array of aJsonPatch
body with the operation, the path and the value.
Accepted operation values are “add”, "remove", "replace", "move", "copy" and "test".
Here is an example which updates a user's phone number and their access status:PlatformUserService.refreshableGetPlatformUserById
(int platformUserId) Fetches a platform user and refreshes the cache.