@Profile(value={"mongo","fongo"})
@Service
public class BankAccountRepositoryImpl
extends Object
implements BankAccountRepositoryIf
| Constructor and Description |
|---|
BankAccountRepositoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
List<BankAccountEntity> |
deleteByBankAccess(String accessId) |
boolean |
exists(String accountId) |
List<BankAccountEntity> |
findByUserId(String userId) |
List<BankAccountEntity> |
findByUserIdAndBankAccessId(String userId,
String bankAccessId) |
Optional<BankAccountEntity> |
findByUserIdAndId(String userId,
String id) |
Optional<BankAccountEntity> |
findOne(String accountId) |
BankAccount.SyncStatus |
getSyncStatus(String accountId) |
void |
removeRulesVersion(String userId) |
void |
save(BankAccountEntity bankAccount) |
void |
save(List<BankAccountEntity> bankAccounts) |
void |
updateSyncStatus(String accountId,
BankAccount.SyncStatus syncStatus) |
public List<BankAccountEntity> findByUserId(String userId)
findByUserId in interface BankAccountRepositoryIfpublic List<BankAccountEntity> findByUserIdAndBankAccessId(String userId, String bankAccessId)
findByUserIdAndBankAccessId in interface BankAccountRepositoryIfpublic Optional<BankAccountEntity> findByUserIdAndId(String userId, String id)
findByUserIdAndId in interface BankAccountRepositoryIfpublic boolean exists(String accountId)
exists in interface BankAccountRepositoryIfpublic void save(List<BankAccountEntity> bankAccounts)
save in interface BankAccountRepositoryIfpublic void save(BankAccountEntity bankAccount)
save in interface BankAccountRepositoryIfpublic BankAccount.SyncStatus getSyncStatus(String accountId)
getSyncStatus in interface BankAccountRepositoryIfpublic void updateSyncStatus(String accountId, BankAccount.SyncStatus syncStatus)
updateSyncStatus in interface BankAccountRepositoryIfpublic void removeRulesVersion(String userId)
removeRulesVersion in interface BankAccountRepositoryIfpublic List<BankAccountEntity> deleteByBankAccess(String accessId)
deleteByBankAccess in interface BankAccountRepositoryIfpublic Optional<BankAccountEntity> findOne(String accountId)
findOne in interface BankAccountRepositoryIfCopyright © 2018. All rights reserved.