public interface AdminResourceAPI
| Modifier and Type | Field and Description |
|---|---|
static String |
BASE_PATH |
static String |
BLOCKED |
static String |
BRANCH_ID |
static String |
BRANCH_LOGIN |
static String |
COUNTRY_CODE |
static String |
IBAN |
static String |
PAGE |
static String |
PASSWORD |
static String |
ROLE |
static String |
SIZE |
static String |
USER_ID |
static String |
USER_LOGIN |
| Modifier and Type | Method and 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<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) |
static final String BASE_PATH
static final String BRANCH_ID
static final String USER_ID
static final String BRANCH_LOGIN
static final String COUNTRY_CODE
static final String USER_LOGIN
static final String ROLE
static final String BLOCKED
static final String IBAN
static final String PAGE
static final String SIZE
static final String PASSWORD
@GetMapping(value="/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="blocked",required=false) Boolean blocked, @RequestParam(value="page") int page, @RequestParam(value="size") int size)
@GetMapping(value="/admins") org.springframework.http.ResponseEntity<CustomPageImpl<UserTO>> admins(@RequestParam(value="page") int page, @RequestParam(value="size") int size)
@GetMapping(value="/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="blocked",required=false) Boolean blocked, @RequestParam(value="page") int page, @RequestParam(value="size") int size)
@PutMapping(value="/password") org.springframework.http.ResponseEntity<Void> updatePassword(@RequestParam(value="branchId") String branchId, @RequestParam(value="password") String password)
@PostMapping(value="/status") org.springframework.http.ResponseEntity<Boolean> changeStatus(@RequestParam(value="userId") String userId)
@PostMapping(value="/user") org.springframework.http.ResponseEntity<UserTO> register(@RequestBody UserTO user)
Copyright © 2021. All rights reserved.