Class DepositAccountServiceImpl
- java.lang.Object
-
- de.adorsys.ledgers.deposit.api.service.impl.AbstractServiceImpl
-
- de.adorsys.ledgers.deposit.api.service.impl.DepositAccountServiceImpl
-
- All Implemented Interfaces:
DepositAccountService
@Service public class DepositAccountServiceImpl extends AbstractServiceImpl implements DepositAccountService
-
-
Field Summary
-
Fields inherited from class de.adorsys.ledgers.deposit.api.service.impl.AbstractServiceImpl
depositAccountConfigService, ledgerService
-
-
Constructor Summary
Constructors Constructor Description DepositAccountServiceImpl(DepositAccountConfigService depositAccountConfigService, de.adorsys.ledgers.postings.api.service.LedgerService ledgerService, DepositAccountRepository depositAccountRepository, de.adorsys.ledgers.postings.api.service.AccountStmtService accountStmtService, de.adorsys.ledgers.postings.api.service.PostingService postingService, TransactionDetailsMapper transactionDetailsMapper, CurrencyExchangeRatesService exchangeRatesService)
-
Method Summary
-
Methods inherited from class de.adorsys.ledgers.deposit.api.service.impl.AbstractServiceImpl
loadClearingAccount, loadLedger
-
-
-
-
Constructor Detail
-
DepositAccountServiceImpl
public DepositAccountServiceImpl(DepositAccountConfigService depositAccountConfigService, de.adorsys.ledgers.postings.api.service.LedgerService ledgerService, DepositAccountRepository depositAccountRepository, de.adorsys.ledgers.postings.api.service.AccountStmtService accountStmtService, de.adorsys.ledgers.postings.api.service.PostingService postingService, TransactionDetailsMapper transactionDetailsMapper, CurrencyExchangeRatesService exchangeRatesService)
-
-
Method Detail
-
getAccountsByIbanAndParamCurrency
public List<DepositAccountBO> getAccountsByIbanAndParamCurrency(String iban, String currency)
- Specified by:
getAccountsByIbanAndParamCurrencyin interfaceDepositAccountService
-
getAccountByIbanAndCurrency
public DepositAccountBO getAccountByIbanAndCurrency(String iban, Currency currency)
- Specified by:
getAccountByIbanAndCurrencyin interfaceDepositAccountService
-
getAccountById
public DepositAccountBO getAccountById(String accountId)
- Specified by:
getAccountByIdin interfaceDepositAccountService
-
getOptionalAccountByIbanAndCurrency
public Optional<DepositAccountBO> getOptionalAccountByIbanAndCurrency(String iban, Currency currency)
- Specified by:
getOptionalAccountByIbanAndCurrencyin interfaceDepositAccountService
-
getOptionalAccountById
public Optional<DepositAccountBO> getOptionalAccountById(String accountId)
- Specified by:
getOptionalAccountByIdin interfaceDepositAccountService
-
getAccountDetailsByIbanAndCurrency
public DepositAccountDetailsBO getAccountDetailsByIbanAndCurrency(String iban, Currency currency, LocalDateTime refTime, boolean withBalances)
- Specified by:
getAccountDetailsByIbanAndCurrencyin interfaceDepositAccountService
-
getAccountDetailsById
public DepositAccountDetailsBO getAccountDetailsById(String accountId, LocalDateTime refTime, boolean withBalances)
- Specified by:
getAccountDetailsByIdin interfaceDepositAccountService
-
getTransactionById
public TransactionDetailsBO getTransactionById(String accountId, String transactionId)
- Specified by:
getTransactionByIdin interfaceDepositAccountService
-
getTransactionsByDates
public List<TransactionDetailsBO> getTransactionsByDates(String accountId, LocalDateTime dateFrom, LocalDateTime dateTo)
- Specified by:
getTransactionsByDatesin interfaceDepositAccountService
-
getTransactionsByDatesPaged
public org.springframework.data.domain.Page<TransactionDetailsBO> getTransactionsByDatesPaged(String accountId, LocalDateTime dateFrom, LocalDateTime dateTo, org.springframework.data.domain.Pageable pageable)
- Specified by:
getTransactionsByDatesPagedin interfaceDepositAccountService
-
confirmationOfFunds
public boolean confirmationOfFunds(FundsConfirmationRequestBO requestBO)
- Specified by:
confirmationOfFundsin interfaceDepositAccountService
-
readIbanById
public String readIbanById(String id)
- Specified by:
readIbanByIdin interfaceDepositAccountService
-
findDetailsByBranch
public List<DepositAccountDetailsBO> findDetailsByBranch(String branch)
- Specified by:
findDetailsByBranchin interfaceDepositAccountService
-
findDetailsByBranchPaged
public org.springframework.data.domain.Page<DepositAccountDetailsBO> findDetailsByBranchPaged(String branch, String queryParam, org.springframework.data.domain.Pageable pageable)
- Specified by:
findDetailsByBranchPagedin interfaceDepositAccountService
-
changeAccountsBlockedStatus
@Transactional public void changeAccountsBlockedStatus(String userId, boolean isSystemBlock, boolean lockStatusToSet)
- Specified by:
changeAccountsBlockedStatusin interfaceDepositAccountService
-
findByBranchIdsAndMultipleParams
public org.springframework.data.domain.Page<DepositAccountBO> findByBranchIdsAndMultipleParams(Collection<String> branchIds, String iban, Boolean blocked, org.springframework.data.domain.Pageable pageable)
- Specified by:
findByBranchIdsAndMultipleParamsin interfaceDepositAccountService
-
changeAccountsBlockedStatus
public void changeAccountsBlockedStatus(Set<String> accountIds, boolean isSystemBlock, boolean lockStatusToSet)
- Specified by:
changeAccountsBlockedStatusin interfaceDepositAccountService
-
changeCreditLimit
@Transactional public void changeCreditLimit(String accountId, BigDecimal creditLimit)
- Specified by:
changeCreditLimitin interfaceDepositAccountService
-
createNewAccount
public DepositAccountBO createNewAccount(DepositAccountBO depositAccountBO, String userName, String branch)
- Specified by:
createNewAccountin interfaceDepositAccountService
-
-