Interface TppUsersRestApi


  • public interface TppUsersRestApi
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.springframework.http.ResponseEntity<Boolean> changeStatus​(String userId)  
      org.springframework.http.ResponseEntity<de.adorsys.ledgers.middleware.api.domain.um.UserTO> createUser​(User user)  
      org.springframework.http.ResponseEntity<de.adorsys.ledgers.util.domain.CustomPageImpl<de.adorsys.ledgers.middleware.api.domain.um.UserTO>> getAllUsers​(String queryParam, int page, int size)  
      org.springframework.http.ResponseEntity<de.adorsys.ledgers.middleware.api.domain.um.UserTO> getSelf()  
      org.springframework.http.ResponseEntity<de.adorsys.ledgers.middleware.api.domain.um.UserTO> getUser​(String userId)  
      org.springframework.http.ResponseEntity<Void> resetPasswordViaEmail​(String login)  
      org.springframework.http.ResponseEntity<Void> updateUser​(User user)  
    • Method Detail

      • createUser

        @PostMapping
        org.springframework.http.ResponseEntity<de.adorsys.ledgers.middleware.api.domain.um.UserTO> createUser​(@RequestBody
                                                                                                               User user)
      • getAllUsers

        @GetMapping
        org.springframework.http.ResponseEntity<de.adorsys.ledgers.util.domain.CustomPageImpl<de.adorsys.ledgers.middleware.api.domain.um.UserTO>> getAllUsers​(@RequestParam(value="queryParam",required=false,defaultValue="")
                                                                                                                                                               String queryParam,
                                                                                                                                                               @RequestParam(value="page",required=false,defaultValue="0")
                                                                                                                                                               int page,
                                                                                                                                                               @RequestParam(value="size",required=false,defaultValue="25")
                                                                                                                                                               int size)
      • updateUser

        @PutMapping
        org.springframework.http.ResponseEntity<Void> updateUser​(@RequestBody
                                                                 User user)
      • getUser

        @GetMapping("/{userId}")
        org.springframework.http.ResponseEntity<de.adorsys.ledgers.middleware.api.domain.um.UserTO> getUser​(@PathVariable("userId")
                                                                                                            String userId)
      • getSelf

        @GetMapping("/me")
        org.springframework.http.ResponseEntity<de.adorsys.ledgers.middleware.api.domain.um.UserTO> getSelf()
      • changeStatus

        @PostMapping("/status")
        org.springframework.http.ResponseEntity<Boolean> changeStatus​(@RequestParam("userId")
                                                                      String userId)
      • resetPasswordViaEmail

        @PostMapping("/reset/password/{login}")
        org.springframework.http.ResponseEntity<Void> resetPasswordViaEmail​(@PathVariable("login")
                                                                            String login)