Class DepositAccountDomainServiceJpa
java.lang.Object
org.apache.fineract.portfolio.savings.domain.DepositAccountDomainServiceJpa
- All Implemented Interfaces:
DepositAccountDomainService
@Service
public class DepositAccountDomainServiceJpa
extends Object
implements DepositAccountDomainService
-
Constructor Summary
ConstructorsConstructorDescriptionDepositAccountDomainServiceJpa(org.apache.fineract.portfolio.savings.domain.SavingsAccountRepositoryWrapper savingsAccountRepository, JournalEntryWritePlatformService journalEntryWritePlatformService, AccountNumberGenerator accountNumberGenerator, DepositAccountAssembler depositAccountAssembler, org.apache.fineract.portfolio.savings.service.SavingsAccountDomainService savingsAccountDomainService, AccountTransfersWritePlatformService accountTransfersWritePlatformService, org.apache.fineract.infrastructure.configuration.domain.ConfigurationDomainService configurationDomainService, AccountNumberFormatRepositoryWrapper accountNumberFormatRepository, CalendarInstanceRepository calendarInstanceRepository) -
Method Summary
Modifier and TypeMethodDescriptionhandleFDAccountClosure(FixedDepositAccount account, org.apache.fineract.portfolio.paymentdetail.domain.PaymentDetail paymentDetail, org.apache.fineract.useradministration.domain.AppUser user, org.apache.fineract.infrastructure.core.api.JsonCommand command, Map<String, Object> changes) handleFDAccountMaturityClosure(FixedDepositAccount account, org.apache.fineract.portfolio.paymentdetail.domain.PaymentDetail paymentDetail, org.apache.fineract.useradministration.domain.AppUser user, DateTimeFormatter fmt, LocalDate closedDate, Integer onAccountClosureId, Long toSavingsId, String transferDescription, Map<String, Object> changes) handleFDAccountPreMatureClosure(FixedDepositAccount account, org.apache.fineract.portfolio.paymentdetail.domain.PaymentDetail paymentDetail, org.apache.fineract.useradministration.domain.AppUser user, org.apache.fineract.infrastructure.core.api.JsonCommand command, Map<String, Object> changes) org.apache.fineract.portfolio.savings.domain.SavingsAccountTransactionhandleFDDeposit(FixedDepositAccount account, DateTimeFormatter fmt, LocalDate transactionDate, BigDecimal transactionAmount, org.apache.fineract.portfolio.paymentdetail.domain.PaymentDetail paymentDetail) handleRDAccountClosure(RecurringDepositAccount account, org.apache.fineract.portfolio.paymentdetail.domain.PaymentDetail paymentDetail, org.apache.fineract.useradministration.domain.AppUser user, org.apache.fineract.infrastructure.core.api.JsonCommand command, Map<String, Object> changes) handleRDAccountPreMatureClosure(RecurringDepositAccount account, org.apache.fineract.portfolio.paymentdetail.domain.PaymentDetail paymentDetail, org.apache.fineract.useradministration.domain.AppUser user, org.apache.fineract.infrastructure.core.api.JsonCommand command, Map<String, Object> changes) org.apache.fineract.portfolio.savings.domain.SavingsAccountTransactionhandleRDDeposit(RecurringDepositAccount account, DateTimeFormatter fmt, LocalDate transactionDate, BigDecimal transactionAmount, org.apache.fineract.portfolio.paymentdetail.domain.PaymentDetail paymentDetail, boolean isRegularTransaction) org.apache.fineract.portfolio.savings.domain.SavingsAccountTransactionhandleSavingDeposit(org.apache.fineract.portfolio.savings.domain.SavingsAccount account, DateTimeFormatter fmt, LocalDate transactionDate, BigDecimal transactionAmount, org.apache.fineract.portfolio.paymentdetail.domain.PaymentDetail paymentDetail, boolean isRegularTransaction) org.apache.fineract.portfolio.savings.domain.SavingsAccountTransactionhandleWithdrawal(org.apache.fineract.portfolio.savings.domain.SavingsAccount account, DateTimeFormatter fmt, LocalDate transactionDate, BigDecimal transactionAmount, org.apache.fineract.portfolio.paymentdetail.domain.PaymentDetail paymentDetail, boolean applyWithdrawFee, boolean isRegularTransaction)
-
Constructor Details
-
DepositAccountDomainServiceJpa
@Autowired public DepositAccountDomainServiceJpa(org.apache.fineract.portfolio.savings.domain.SavingsAccountRepositoryWrapper savingsAccountRepository, JournalEntryWritePlatformService journalEntryWritePlatformService, AccountNumberGenerator accountNumberGenerator, DepositAccountAssembler depositAccountAssembler, org.apache.fineract.portfolio.savings.service.SavingsAccountDomainService savingsAccountDomainService, AccountTransfersWritePlatformService accountTransfersWritePlatformService, org.apache.fineract.infrastructure.configuration.domain.ConfigurationDomainService configurationDomainService, AccountNumberFormatRepositoryWrapper accountNumberFormatRepository, CalendarInstanceRepository calendarInstanceRepository)
-
-
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, boolean applyWithdrawFee, boolean isRegularTransaction) - Specified by:
handleWithdrawalin interfaceDepositAccountDomainService
-
handleFDDeposit
@Transactional public org.apache.fineract.portfolio.savings.domain.SavingsAccountTransaction handleFDDeposit(FixedDepositAccount account, DateTimeFormatter fmt, LocalDate transactionDate, BigDecimal transactionAmount, org.apache.fineract.portfolio.paymentdetail.domain.PaymentDetail paymentDetail) - Specified by:
handleFDDepositin interfaceDepositAccountDomainService
-
handleRDDeposit
@Transactional public org.apache.fineract.portfolio.savings.domain.SavingsAccountTransaction handleRDDeposit(RecurringDepositAccount account, DateTimeFormatter fmt, LocalDate transactionDate, BigDecimal transactionAmount, org.apache.fineract.portfolio.paymentdetail.domain.PaymentDetail paymentDetail, boolean isRegularTransaction) - Specified by:
handleRDDepositin interfaceDepositAccountDomainService
-
handleSavingDeposit
@Transactional public org.apache.fineract.portfolio.savings.domain.SavingsAccountTransaction handleSavingDeposit(org.apache.fineract.portfolio.savings.domain.SavingsAccount account, DateTimeFormatter fmt, LocalDate transactionDate, BigDecimal transactionAmount, org.apache.fineract.portfolio.paymentdetail.domain.PaymentDetail paymentDetail, boolean isRegularTransaction) - Specified by:
handleSavingDepositin interfaceDepositAccountDomainService
-
handleFDAccountClosure
@Transactional public Long handleFDAccountClosure(FixedDepositAccount account, org.apache.fineract.portfolio.paymentdetail.domain.PaymentDetail paymentDetail, org.apache.fineract.useradministration.domain.AppUser user, org.apache.fineract.infrastructure.core.api.JsonCommand command, Map<String, Object> changes) - Specified by:
handleFDAccountClosurein interfaceDepositAccountDomainService
-
handleFDAccountMaturityClosure
@Transactional public Long handleFDAccountMaturityClosure(FixedDepositAccount account, org.apache.fineract.portfolio.paymentdetail.domain.PaymentDetail paymentDetail, org.apache.fineract.useradministration.domain.AppUser user, DateTimeFormatter fmt, LocalDate closedDate, Integer onAccountClosureId, Long toSavingsId, String transferDescription, Map<String, Object> changes) - Specified by:
handleFDAccountMaturityClosurein interfaceDepositAccountDomainService
-
handleRDAccountClosure
@Transactional public Long handleRDAccountClosure(RecurringDepositAccount account, org.apache.fineract.portfolio.paymentdetail.domain.PaymentDetail paymentDetail, org.apache.fineract.useradministration.domain.AppUser user, org.apache.fineract.infrastructure.core.api.JsonCommand command, Map<String, Object> changes) - Specified by:
handleRDAccountClosurein interfaceDepositAccountDomainService
-
handleFDAccountPreMatureClosure
@Transactional public Long handleFDAccountPreMatureClosure(FixedDepositAccount account, org.apache.fineract.portfolio.paymentdetail.domain.PaymentDetail paymentDetail, org.apache.fineract.useradministration.domain.AppUser user, org.apache.fineract.infrastructure.core.api.JsonCommand command, Map<String, Object> changes) - Specified by:
handleFDAccountPreMatureClosurein interfaceDepositAccountDomainService
-
handleRDAccountPreMatureClosure
@Transactional public Long handleRDAccountPreMatureClosure(RecurringDepositAccount account, org.apache.fineract.portfolio.paymentdetail.domain.PaymentDetail paymentDetail, org.apache.fineract.useradministration.domain.AppUser user, org.apache.fineract.infrastructure.core.api.JsonCommand command, Map<String, Object> changes) - Specified by:
handleRDAccountPreMatureClosurein interfaceDepositAccountDomainService
-