Package com.skava.accounts.util
Class AccountHistoryUtil
java.lang.Object
com.skava.accounts.util.AccountHistoryUtil
- All Implemented Interfaces:
Serializable
The utility class AccountsUtil consists of helper and validator methods for accounts entity.
- Author:
- Infosys Equinox
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
createAccountHistory
(AccountsDO accountsDO, String beforeStatus, String type, long userId, AccountHistoryRepository accountHistoryRepository) createAccountHistory - used to create an entry in the account history table.
-
Constructor Details
-
AccountHistoryUtil
public AccountHistoryUtil()
-
-
Method Details
-
createAccountHistory
public static void createAccountHistory(AccountsDO accountsDO, String beforeStatus, String type, long userId, AccountHistoryRepository accountHistoryRepository) createAccountHistory - used to create an entry in the account history table.- Parameters:
accountsDO
- the objectAccountsDO
beforeStatus
- the existing status of the account.type
- the type of the account history.userId
- the unique identifier of the user.accountHistoryRepository
- the account history repository.
-