@RestController @MiddlewareUserResource @RequestMapping(value="/staff-access/accounts") public class AccountMgmStaffResource extends Object implements AccountMgmStaffResourceAPI
ACCOUNT_ID, BASE_PATH, PAGE, QUERY_PARAM, SIZE, USER_ID| Constructor and Description |
|---|
AccountMgmStaffResource() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<Boolean> |
changeStatus(String accountId) |
org.springframework.http.ResponseEntity<Void> |
createDepositAccountForUser(String userId,
AccountDetailsTO accountDetailsTO) |
org.springframework.http.ResponseEntity<Void> |
depositCash(String accountId,
AmountTO amount) |
org.springframework.http.ResponseEntity<AccountDetailsTO> |
getAccountDetailsById(String accountId) |
org.springframework.http.ResponseEntity<List<AccountDetailsTO>> |
getAccountsByIbanAndCurrency(String iban,
String currency) |
org.springframework.http.ResponseEntity<AccountReportTO> |
getExtendedAccountDetailsById(String accountId) |
org.springframework.http.ResponseEntity<List<AccountDetailsTO>> |
getListOfAccounts() |
org.springframework.http.ResponseEntity<CustomPageImpl<AccountDetailsTO>> |
getListOfAccountsPaged(String queryParam,
int page,
int size) |
public org.springframework.http.ResponseEntity<List<AccountDetailsTO>> getAccountsByIbanAndCurrency(String iban, String currency)
getAccountsByIbanAndCurrency in interface AccountMgmStaffResourceAPI@PreAuthorize(value="hasAnyRole(\'STAFF\',\'SYSTEM\')") public org.springframework.http.ResponseEntity<Void> createDepositAccountForUser(String userId, AccountDetailsTO accountDetailsTO)
createDepositAccountForUser in interface AccountMgmStaffResourceAPI@PreAuthorize(value="hasRole(\'STAFF\')") public org.springframework.http.ResponseEntity<List<AccountDetailsTO>> getListOfAccounts()
getListOfAccounts in interface AccountMgmStaffResourceAPI@PreAuthorize(value="hasRole(\'STAFF\')") public org.springframework.http.ResponseEntity<CustomPageImpl<AccountDetailsTO>> getListOfAccountsPaged(String queryParam, int page, int size)
getListOfAccountsPaged in interface AccountMgmStaffResourceAPI@PreAuthorize(value="accountInfoById(#accountId)") public org.springframework.http.ResponseEntity<AccountDetailsTO> getAccountDetailsById(String accountId)
getAccountDetailsById in interface AccountMgmStaffResourceAPI@PreAuthorize(value="hasAnyRole(\'STAFF\',\'SYSTEM\')&&accountInfoById(#accountId)") public org.springframework.http.ResponseEntity<Void> depositCash(String accountId, AmountTO amount)
depositCash in interface AccountMgmStaffResourceAPI@PreAuthorize(value="accountInfoById(#accountId)") public org.springframework.http.ResponseEntity<AccountReportTO> getExtendedAccountDetailsById(String accountId)
getExtendedAccountDetailsById in interface AccountMgmStaffResourceAPI@PreAuthorize(value="hasAnyRole(\'STAFF\',\'SYSTEM\')") public org.springframework.http.ResponseEntity<Boolean> changeStatus(String accountId)
changeStatus in interface AccountMgmStaffResourceAPICopyright © 2021. All rights reserved.