Class SavingsAccountDomainServiceJpa

java.lang.Object
org.apache.fineract.portfolio.savings.domain.SavingsAccountDomainServiceJpa
All Implemented Interfaces:
org.apache.fineract.portfolio.savings.service.SavingsAccountDomainService

@Service public class SavingsAccountDomainServiceJpa extends Object implements org.apache.fineract.portfolio.savings.service.SavingsAccountDomainService
  • Constructor Summary

    Constructors
    Constructor
    Description
    SavingsAccountDomainServiceJpa(org.apache.fineract.portfolio.savings.domain.SavingsAccountRepositoryWrapper savingsAccountRepository, org.apache.fineract.portfolio.savings.domain.SavingsAccountTransactionRepository savingsAccountTransactionRepository, org.apache.fineract.organisation.monetary.domain.ApplicationCurrencyRepositoryWrapper applicationCurrencyRepositoryWrapper, JournalEntryWritePlatformService journalEntryWritePlatformService, org.apache.fineract.infrastructure.configuration.domain.ConfigurationDomainService configurationDomainService, org.apache.fineract.infrastructure.security.service.PlatformSecurityContext context, DepositAccountOnHoldTransactionRepository depositAccountOnHoldTransactionRepository, org.apache.fineract.infrastructure.event.business.service.BusinessEventNotifierService businessEventNotifierService)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.fineract.portfolio.savings.domain.SavingsAccountTransaction
    handleDeposit(org.apache.fineract.portfolio.savings.domain.SavingsAccount account, DateTimeFormatter fmt, LocalDate transactionDate, BigDecimal transactionAmount, org.apache.fineract.portfolio.paymentdetail.domain.PaymentDetail paymentDetail, boolean isAccountTransfer, boolean isRegularTransaction, boolean backdatedTxnsAllowedTill)
     
    org.apache.fineract.portfolio.savings.domain.SavingsAccountTransaction
    handleDividendPayout(org.apache.fineract.portfolio.savings.domain.SavingsAccount account, LocalDate transactionDate, BigDecimal transactionAmount, boolean backdatedTxnsAllowedTill)
     
    org.apache.fineract.portfolio.savings.domain.SavingsAccountTransaction
    handleHold(org.apache.fineract.portfolio.savings.domain.SavingsAccount account, BigDecimal amount, LocalDate transactionDate, Boolean lienAllowed)
     
    org.apache.fineract.portfolio.savings.domain.SavingsAccountTransaction
    handleReversal(org.apache.fineract.portfolio.savings.domain.SavingsAccount account, List<org.apache.fineract.portfolio.savings.domain.SavingsAccountTransaction> savingsAccountTransactions, boolean backdatedTxnsAllowedTill)
     
    org.apache.fineract.portfolio.savings.domain.SavingsAccountTransaction
    handleWithdrawal(org.apache.fineract.portfolio.savings.domain.SavingsAccount account, DateTimeFormatter fmt, LocalDate transactionDate, BigDecimal transactionAmount, org.apache.fineract.portfolio.paymentdetail.domain.PaymentDetail paymentDetail, org.apache.fineract.portfolio.savings.SavingsTransactionBooleanValues transactionBooleanValues, boolean backdatedTxnsAllowedTill)
     
    void
    postJournalEntries(org.apache.fineract.portfolio.savings.domain.SavingsAccount account, Set<Long> existingTransactionIds, Set<Long> existingReversedTransactionIds, boolean backdatedTxnsAllowedTill)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SavingsAccountDomainServiceJpa

      @Autowired public SavingsAccountDomainServiceJpa(org.apache.fineract.portfolio.savings.domain.SavingsAccountRepositoryWrapper savingsAccountRepository, org.apache.fineract.portfolio.savings.domain.SavingsAccountTransactionRepository savingsAccountTransactionRepository, org.apache.fineract.organisation.monetary.domain.ApplicationCurrencyRepositoryWrapper applicationCurrencyRepositoryWrapper, JournalEntryWritePlatformService journalEntryWritePlatformService, org.apache.fineract.infrastructure.configuration.domain.ConfigurationDomainService configurationDomainService, org.apache.fineract.infrastructure.security.service.PlatformSecurityContext context, DepositAccountOnHoldTransactionRepository depositAccountOnHoldTransactionRepository, org.apache.fineract.infrastructure.event.business.service.BusinessEventNotifierService businessEventNotifierService)
  • Method Details

    • handleWithdrawal

      @Transactional public org.apache.fineract.portfolio.savings.domain.SavingsAccountTransaction handleWithdrawal(org.apache.fineract.portfolio.savings.domain.SavingsAccount account, DateTimeFormatter fmt, LocalDate transactionDate, BigDecimal transactionAmount, org.apache.fineract.portfolio.paymentdetail.domain.PaymentDetail paymentDetail, org.apache.fineract.portfolio.savings.SavingsTransactionBooleanValues transactionBooleanValues, boolean backdatedTxnsAllowedTill)
      Specified by:
      handleWithdrawal in interface org.apache.fineract.portfolio.savings.service.SavingsAccountDomainService
    • handleDeposit

      @Transactional public org.apache.fineract.portfolio.savings.domain.SavingsAccountTransaction handleDeposit(org.apache.fineract.portfolio.savings.domain.SavingsAccount account, DateTimeFormatter fmt, LocalDate transactionDate, BigDecimal transactionAmount, org.apache.fineract.portfolio.paymentdetail.domain.PaymentDetail paymentDetail, boolean isAccountTransfer, boolean isRegularTransaction, boolean backdatedTxnsAllowedTill)
      Specified by:
      handleDeposit in interface org.apache.fineract.portfolio.savings.service.SavingsAccountDomainService
    • handleHold

      @Transactional public org.apache.fineract.portfolio.savings.domain.SavingsAccountTransaction handleHold(org.apache.fineract.portfolio.savings.domain.SavingsAccount account, BigDecimal amount, LocalDate transactionDate, Boolean lienAllowed)
      Specified by:
      handleHold in interface org.apache.fineract.portfolio.savings.service.SavingsAccountDomainService
    • handleDividendPayout

      public org.apache.fineract.portfolio.savings.domain.SavingsAccountTransaction handleDividendPayout(org.apache.fineract.portfolio.savings.domain.SavingsAccount account, LocalDate transactionDate, BigDecimal transactionAmount, boolean backdatedTxnsAllowedTill)
      Specified by:
      handleDividendPayout in interface org.apache.fineract.portfolio.savings.service.SavingsAccountDomainService
    • postJournalEntries

      @Transactional public void postJournalEntries(org.apache.fineract.portfolio.savings.domain.SavingsAccount account, Set<Long> existingTransactionIds, Set<Long> existingReversedTransactionIds, boolean backdatedTxnsAllowedTill)
      Specified by:
      postJournalEntries in interface org.apache.fineract.portfolio.savings.service.SavingsAccountDomainService
    • handleReversal

      public org.apache.fineract.portfolio.savings.domain.SavingsAccountTransaction handleReversal(org.apache.fineract.portfolio.savings.domain.SavingsAccount account, List<org.apache.fineract.portfolio.savings.domain.SavingsAccountTransaction> savingsAccountTransactions, boolean backdatedTxnsAllowedTill)
      Specified by:
      handleReversal in interface org.apache.fineract.portfolio.savings.service.SavingsAccountDomainService