Class AccountHistoryUtil

java.lang.Object
com.skava.accounts.util.AccountHistoryUtil
All Implemented Interfaces:
Serializable

public class AccountHistoryUtil extends Object implements Serializable
The utility class AccountsUtil consists of helper and validator methods for accounts entity.
Author:
Infosys Equinox
See Also:
  • 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 object AccountsDO
      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.