Interface TppUsersRestApi


  • public interface TppUsersRestApi
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String BASE_PATH  
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      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> 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(required=false,defaultValue="")
                                                                                                                                                               String queryParam,
                                                                                                                                                               @RequestParam(required=false,defaultValue="0")
                                                                                                                                                               int page,
                                                                                                                                                               @RequestParam(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
                                                                                                            String userId)
      • getSelf

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