@RestController @MiddlewareResetResource @RequestMapping(value="/admin") public class AdminResource extends Object implements AdminResourceAPI
BASE_PATH, BLOCKED, BRANCH_ID, BRANCH_LOGIN, COUNTRY_CODE, IBAN, PAGE, PASSWORD, ROLE, SIZE, USER_ID, USER_LOGIN| Constructor and Description |
|---|
AdminResource() |
| 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) |
@PreAuthorize(value="hasRole(\'SYSTEM\')") public org.springframework.http.ResponseEntity<CustomPageImpl<UserExtendedTO>> users(String countryCode, String branchId, String branchLogin, String userLogin, UserRoleTO role, Boolean blocked, int page, int size)
users in interface AdminResourceAPI@PreAuthorize(value="hasRole(\'SYSTEM\')") public org.springframework.http.ResponseEntity<CustomPageImpl<UserTO>> admins(int page, int size)
admins in interface AdminResourceAPI@PreAuthorize(value="hasRole(\'SYSTEM\')") public org.springframework.http.ResponseEntity<CustomPageImpl<AccountDetailsExtendedTO>> accounts(String countryCode, String branchId, String branchLogin, String iban, Boolean blocked, int page, int size)
accounts in interface AdminResourceAPI@PreAuthorize(value="hasRole(\'SYSTEM\')") public org.springframework.http.ResponseEntity<Void> updatePassword(String branchId, String password)
updatePassword in interface AdminResourceAPI@PreAuthorize(value="hasRole(\'SYSTEM\')") public org.springframework.http.ResponseEntity<Boolean> changeStatus(String userId)
changeStatus in interface AdminResourceAPI@PreAuthorize(value="hasRole(\'SYSTEM\')") public org.springframework.http.ResponseEntity<UserTO> register(UserTO user)
register in interface AdminResourceAPI@PreAuthorize(value="hasRole(\'SYSTEM\') and isEnabledUser(#user.id)") public org.springframework.http.ResponseEntity<Void> user(UserTO user)
user in interface AdminResourceAPICopyright © 2020. All rights reserved.