Uses of Enum Class
entity.TransactionLog.UserType
Packages that use TransactionLog.UserType
Package
Description
Entity classes representing core business objects in the banking system.
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 TransactionLog.UserType in entity
Fields in entity declared as TransactionLog.UserTypeModifier and TypeFieldDescriptionprivate TransactionLog.UserType
TransactionLog.createdByUserType
Methods in entity that return TransactionLog.UserTypeModifier and TypeMethodDescriptionTransactionLog.getCreatedByUserType()
Gets the user type of the person who created the transaction.static TransactionLog.UserType
Returns the enum constant of this class with the specified name.static TransactionLog.UserType[]
TransactionLog.UserType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in entity with parameters of type TransactionLog.UserTypeModifier and TypeMethodDescriptionvoid
TransactionLog.setCreatedByUserType
(TransactionLog.UserType createdByUserType) Constructors in entity with parameters of type TransactionLog.UserTypeModifierConstructorDescriptionTransactionLog
(int accountNo, TransactionLog.TransactionType transactionType, BigDecimal amount, BigDecimal balanceBefore, BigDecimal balanceAfter, TransactionLog.TransactionStatus status, String description, Integer createdByUserId, TransactionLog.UserType createdByUserType) Constructs a transaction log entry with additional audit fields. -
Uses of TransactionLog.UserType in service
Methods in service with parameters of type TransactionLog.UserTypeModifier and TypeMethodDescriptionboolean
AccountService.performDeposit
(int accountNo, BigDecimal amount, Integer userId, TransactionLog.UserType userType, String description) Performs a deposit with transaction logging.boolean
AccountService.performWithdrawal
(int accountNo, BigDecimal amount, Integer userId, TransactionLog.UserType userType, String description) Performs a withdrawal with transaction logging. -
Uses of TransactionLog.UserType in servlet
Methods in servlet that return TransactionLog.UserTypeModifier and TypeMethodDescriptionprivate TransactionLog.UserType
AccountServlet.getCurrentUserType
(javax.servlet.http.HttpServletRequest request) Gets the current user's type from session. -
Uses of TransactionLog.UserType in storage
Methods in storage with parameters of type TransactionLog.UserTypeModifier and TypeMethodDescriptionboolean
DatabaseStorage.depositToAccount
(int accountNo, BigDecimal amount, Integer userId, TransactionLog.UserType userType, String description) boolean
DatabaseStorage.withdrawFromAccount
(int accountNo, BigDecimal amount, Integer userId, TransactionLog.UserType userType, String description)