Interface AdminResourceAPI
-
public interface AdminResourceAPI
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<CustomPageImpl<AccountDetailsExtendedTO>>accounts(String countryCode, String branchId, String branchLogin, String iban, Boolean blocked, int page, int size)org.springframework.http.ResponseEntity<CustomPageImpl<UserTO>>admins(int page, int size)org.springframework.http.ResponseEntity<Boolean>changeStatus(String userId)org.springframework.http.ResponseEntity<List<UserTO>>getAllUsers()org.springframework.http.ResponseEntity<UserTO>register(UserTO user)org.springframework.http.ResponseEntity<Void>updatePassword(String branchId, String password)org.springframework.http.ResponseEntity<Void>user(UserTO user)org.springframework.http.ResponseEntity<CustomPageImpl<UserExtendedTO>>users(String countryCode, String branchId, String branchLogin, String userLogin, UserRoleTO role, Boolean blocked, int page, int size)
-
-
-
Field Detail
-
BASE_PATH
static final String BASE_PATH
- See Also:
- Constant Field Values
-
-
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)
-
-