Uses of Class
entity.SavingsAccount
Packages that use SavingsAccount
Package
Description
Entity classes representing core business objects in the banking system.
Background job processing system for automated banking operations.
Service layer classes delegates the Requests from the servlet to DAO.
Web layer servlets handling HTTP requests in the banking application from JSP's.
Data access layer providing Interface for multiple storage methods and Implementations.
-
Uses of SavingsAccount in entity
Methods in entity that return SavingsAccountModifier and TypeMethodDescriptionSavingsAccount.Builder.build()
Builds and returns aSavingsAccount
instance. -
Uses of SavingsAccount in job
Methods in job with parameters of type SavingsAccountModifier and TypeMethodDescriptionprivate BigDecimal
InterestCalculationJob.calculateAndCreditInterest
(SavingsAccount account) Calculates and credits interest to a single account. -
Uses of SavingsAccount in service
Methods in service that return SavingsAccountModifier and TypeMethodDescriptionAccountService.getAccount
(int accountNo) Retrieves an account by account number.Methods in service that return types with arguments of type SavingsAccountModifier and TypeMethodDescriptionAccountService.getAccountsByBranch
(int branchId) Gets all accounts for a specific branch.AccountService.getAccountsByCustomer
(int customerId) Gets all accounts for a specific customer.Methods in service with parameters of type SavingsAccountModifier and TypeMethodDescriptionvoid
AccountService.updateAccount
(SavingsAccount account) Updates an existing account. -
Uses of SavingsAccount in servlet
Method parameters in servlet with type arguments of type SavingsAccountModifier and TypeMethodDescriptionprivate void
AccountServlet.sendAccountsJsonResponse
(javax.servlet.http.HttpServletResponse response, boolean success, String message, List<SavingsAccount> accounts) Sends JSON response for account data. -
Uses of SavingsAccount in storage
Fields in storage with type parameters of type SavingsAccountModifier and TypeFieldDescriptionprivate final Map
<Integer, SavingsAccount> CollectionStorage.accounts
Methods in storage that return SavingsAccountModifier and TypeMethodDescriptionabstract SavingsAccount
AbstractDataStorage.getAccount
(int accountNo) Retrieves an account by account number.CollectionStorage.getAccount
(int accountNo) Retrieves an account by account number.DatabaseStorage.getAccount
(int accountNo) Retrieves an account by account number.DataStorage.getAccount
(int accountNo) Retrieves an account by account number.MongoDBStorage.getAccount
(int accountNo) Retrieves an account by account number.Methods in storage that return types with arguments of type SavingsAccountModifier and TypeMethodDescriptionabstract List
<SavingsAccount> AbstractDataStorage.getAccountsByBranch
(int branchId) Gets all accounts for a specific branch.CollectionStorage.getAccountsByBranch
(int branchId) Gets all accounts for a specific branch.DatabaseStorage.getAccountsByBranch
(int branchId) Gets all accounts for a specific branch.DataStorage.getAccountsByBranch
(int branchId) Gets all accounts for a specific branch.MongoDBStorage.getAccountsByBranch
(int branchId) Gets all accounts for a specific branch.abstract List
<SavingsAccount> AbstractDataStorage.getAccountsByCustomer
(int customerId) CollectionStorage.getAccountsByCustomer
(int customerId) DatabaseStorage.getAccountsByCustomer
(int customerId) DataStorage.getAccountsByCustomer
(int customerId) MongoDBStorage.getAccountsByCustomer
(int customerId) Methods in storage with parameters of type SavingsAccountModifier and TypeMethodDescriptionabstract int
AbstractDataStorage.saveAccount
(SavingsAccount account) Saves a new account to storage.int
CollectionStorage.saveAccount
(SavingsAccount account) Saves a new account to storage.int
DatabaseStorage.saveAccount
(SavingsAccount account) Saves a new account to storage.int
DataStorage.saveAccount
(SavingsAccount account) Saves a new account to storage.int
MongoDBStorage.saveAccount
(SavingsAccount account) Saves a new account to storage.abstract void
AbstractDataStorage.updateAccount
(SavingsAccount account) Updates an existing account.void
CollectionStorage.updateAccount
(SavingsAccount account) Updates an existing account.void
DatabaseStorage.updateAccount
(SavingsAccount account) Updates an existing account.void
DataStorage.updateAccount
(SavingsAccount account) Updates an existing account.void
MongoDBStorage.updateAccount
(SavingsAccount account) Updates an existing account.