Uses of Class
entity.TransactionLog
Packages that use TransactionLog
Package
Description
Service layer classes delegates the Requests from the servlet to DAO.
Data access layer providing Interface for multiple storage methods and Implementations.
-
Uses of TransactionLog in service
Methods in service that return types with arguments of type TransactionLogModifier and TypeMethodDescriptionAccountService.getTransactionHistory
(int accountNo) Gets transaction history for an account (default 50 records).AccountService.getTransactionHistory
(int accountNo, int limit) Gets transaction history for an account with specified limit. -
Uses of TransactionLog in storage
Methods in storage that return TransactionLogModifier and TypeMethodDescriptionprivate TransactionLog
DatabaseStorage.mapResultSetToTransactionLog
(ResultSet rs) Methods in storage that return types with arguments of type TransactionLogModifier and TypeMethodDescriptionDatabaseStorage.getTransactionHistory
(int accountNo) DatabaseStorage.getTransactionHistory
(int accountNo, int limit) Gets transaction history for an account with specified limit.default List
<TransactionLog> DataStorage.getTransactionHistory
(int accountNo) default List
<TransactionLog> DataStorage.getTransactionHistory
(int accountNo, int limit) Gets transaction history for an account with specified limit.default List
<TransactionLog> DataStorage.getTransactionHistoryByDateRange
(int accountNo, LocalDateTime startDate, LocalDateTime endDate) Gets transaction history for an account within date range.Methods in storage with parameters of type TransactionLogModifier and TypeMethodDescriptiondefault boolean
DataStorage.logTransaction
(TransactionLog transactionLog) Logs a transaction for audit purposes.private boolean
DatabaseStorage.logTransactionInTransaction
(Connection conn, TransactionLog transactionLog) Gets transaction history for an account with specified limit.