Class AccountUtils

java.lang.Object
overit.geocallapp.wfm.accounts.bl.AccountUtils

public class AccountUtils extends Object
Utility class that contains some utility methods for the account module.
Since:
21.0
  • Method Details

    • notifyAccountUpdate

      public static void notifyAccountUpdate(Long accountId, PoolKit poolKit) throws DAException, DAValidateException
      Notifies the system about an account update.
      Parameters:
      accountId - the ID of the account that was updated
      poolKit - the pool kit to use for database operations
      Throws:
      DAException - if a data access error occurs
      DAValidateException - if validation fails
      Since:
      21.0
    • notifyAccountUpdate

      public static void notifyAccountUpdate(Long accountId) throws DAException, DAValidateException
      Notifies the system about an account update.
      Parameters:
      accountId - the ID of the account that was updated
      Throws:
      DAException - if a data access error occurs
      DAValidateException - if validation fails
      Since:
      21.0
    • notifyAccountUpdate

      public static void notifyAccountUpdate(Long accountId, PooledConnection connection) throws DAException, DAValidateException
      Notifies the system about an account update.
      Parameters:
      accountId - the ID of the account that was updated
      connection - the connection to use for database operations
      Throws:
      DAException - if a data access error occurs
      DAValidateException - if validation fails
      Since:
      21.0
    • notifyAccountInsert

      public static void notifyAccountInsert(Long accountId, PoolKit poolKit) throws DAException, DAValidateException
      Notifies the system about an account insertion.
      Parameters:
      accountId - the ID of the account that was inserted
      poolKit - the pool kit to use for database operations
      Throws:
      DAException - if a data access error occurs
      DAValidateException - if validation fails
      Since:
      21.0
    • notifyAccountInsert

      public static void notifyAccountInsert(Long accountId, PooledConnection connection) throws DAException, DAValidateException
      Notifies the system about an account insertion.
      Parameters:
      accountId - the ID of the account that was inserted
      connection - the connection to use for database operations
      Throws:
      DAException - if a data access error occurs
      DAValidateException - if validation fails
      Since:
      21.0