Class DataMgmtStaffResource
- java.lang.Object
-
- de.adorsys.ledgers.middleware.rest.resource.DataMgmtStaffResource
-
- All Implemented Interfaces:
DataMgmtStaffAPI
@RestController @MiddlewareResetResource @RequestMapping("/staff-access/data") public class DataMgmtStaffResource extends Object implements DataMgmtStaffAPI
-
-
Field Summary
-
Fields inherited from interface de.adorsys.ledgers.middleware.rest.resource.DataMgmtStaffAPI
BASE_PATH
-
-
Constructor Summary
Constructors Constructor Description DataMgmtStaffResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<Void>account(String accountId)org.springframework.http.ResponseEntity<Void>branch(String branchId)org.springframework.http.ResponseEntity<String>branchId(BbanStructure bbanStructure)org.springframework.http.ResponseEntity<Void>createPoint(RecoveryPointTO recoveryPoint)org.springframework.http.ResponseEntity<Set<Currency>>currencies()org.springframework.http.ResponseEntity<Void>deletePoint(Long id)org.springframework.http.ResponseEntity<Void>depositAccount(String accountId)org.springframework.http.ResponseEntity<List<RecoveryPointTO>>getAllPoints()org.springframework.http.ResponseEntity<RecoveryPointTO>getPoint(Long id)org.springframework.http.ResponseEntity<Void>uploadData(UploadedDataTO data)org.springframework.http.ResponseEntity<Void>user(String userId)
-
-
-
Method Detail
-
account
@PreAuthorize("hasManagerAccessToAccountId(#accountId)") public org.springframework.http.ResponseEntity<Void> account(String accountId)- Specified by:
accountin interfaceDataMgmtStaffAPI
-
depositAccount
@PreAuthorize("hasManagerAccessToAccountId(#accountId)") public org.springframework.http.ResponseEntity<Void> depositAccount(String accountId)- Specified by:
depositAccountin interfaceDataMgmtStaffAPI
-
user
@PreAuthorize("hasManagerAccessToUser(#userId)") public org.springframework.http.ResponseEntity<Void> user(String userId)- Specified by:
userin interfaceDataMgmtStaffAPI
-
branch
@PreAuthorize("hasManagerAccessToUser(#branchId)") public org.springframework.http.ResponseEntity<Void> branch(String branchId)- Specified by:
branchin interfaceDataMgmtStaffAPI
-
uploadData
@PreAuthorize("hasAnyRole(\'STAFF\',\'SYSTEM\')") public org.springframework.http.ResponseEntity<Void> uploadData(UploadedDataTO data)- Specified by:
uploadDatain interfaceDataMgmtStaffAPI
-
currencies
@PreAuthorize("hasAnyRole(\'STAFF\',\'SYSTEM\')") public org.springframework.http.ResponseEntity<Set<Currency>> currencies()- Specified by:
currenciesin interfaceDataMgmtStaffAPI
-
branchId
public org.springframework.http.ResponseEntity<String> branchId(BbanStructure bbanStructure)
- Specified by:
branchIdin interfaceDataMgmtStaffAPI
-
createPoint
@PreAuthorize("hasRole(\'STAFF\')") public org.springframework.http.ResponseEntity<Void> createPoint(RecoveryPointTO recoveryPoint)- Specified by:
createPointin interfaceDataMgmtStaffAPI
-
getAllPoints
@PreAuthorize("hasRole(\'STAFF\')") public org.springframework.http.ResponseEntity<List<RecoveryPointTO>> getAllPoints()- Specified by:
getAllPointsin interfaceDataMgmtStaffAPI
-
getPoint
@PreAuthorize("hasRole(\'STAFF\')") public org.springframework.http.ResponseEntity<RecoveryPointTO> getPoint(Long id)- Specified by:
getPointin interfaceDataMgmtStaffAPI
-
deletePoint
@PreAuthorize("hasRole(\'STAFF\')") public org.springframework.http.ResponseEntity<Void> deletePoint(Long id)- Specified by:
deletePointin interfaceDataMgmtStaffAPI
-
-