Interface AdminResourceAPI


  • public interface AdminResourceAPI
    • Method Detail

      • getAllUsers

        @GetMapping("users/all")
        org.springframework.http.ResponseEntity<List<UserTO>> getAllUsers()
      • users

        @GetMapping("/users")
        org.springframework.http.ResponseEntity<CustomPageImpl<UserExtendedTO>> users​(@RequestParam(value="country",defaultValue="",required=false)
                                                                                      String countryCode,
                                                                                      @RequestParam(value="branchId",defaultValue="",required=false)
                                                                                      String branchId,
                                                                                      @RequestParam(value="branchLogin",defaultValue="",required=false)
                                                                                      String branchLogin,
                                                                                      @RequestParam(value="userLogin",defaultValue="",required=false)
                                                                                      String userLogin,
                                                                                      @RequestParam(value="role",required=false)
                                                                                      UserRoleTO role,
                                                                                      @RequestParam(value="blockedParam",required=false)
                                                                                      Boolean blocked,
                                                                                      @RequestParam("page")
                                                                                      int page,
                                                                                      @RequestParam("size")
                                                                                      int size)
      • admins

        @GetMapping("/admins")
        org.springframework.http.ResponseEntity<CustomPageImpl<UserTO>> admins​(@RequestParam("page")
                                                                               int page,
                                                                               @RequestParam("size")
                                                                               int size)
      • accounts

        @GetMapping("/accounts")
        org.springframework.http.ResponseEntity<CustomPageImpl<AccountDetailsExtendedTO>> accounts​(@RequestParam(value="country",defaultValue="",required=false)
                                                                                                   String countryCode,
                                                                                                   @RequestParam(value="branchId",defaultValue="",required=false)
                                                                                                   String branchId,
                                                                                                   @RequestParam(value="branchLogin",defaultValue="",required=false)
                                                                                                   String branchLogin,
                                                                                                   @RequestParam(value="ibanParam",required=false,defaultValue="")
                                                                                                   String iban,
                                                                                                   @RequestParam(value="blockedParam",required=false)
                                                                                                   Boolean blocked,
                                                                                                   @RequestParam("page")
                                                                                                   int page,
                                                                                                   @RequestParam("size")
                                                                                                   int size)
      • updatePassword

        @PutMapping("/password")
        org.springframework.http.ResponseEntity<Void> updatePassword​(@RequestParam("branchId")
                                                                     String branchId,
                                                                     @RequestParam("password")
                                                                     String password)
      • changeStatus

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

        @PostMapping("/user")
        org.springframework.http.ResponseEntity<UserTO> register​(@RequestBody
                                                                 UserTO user)
      • user

        @PutMapping("/users")
        org.springframework.http.ResponseEntity<Void> user​(@RequestBody
                                                           UserTO user)