Class AccountUtils
java.lang.Object
overit.geocallapp.wfm.accounts.bl.AccountUtils
Utility class that contains some utility methods for the account module.
- Since:
- 21.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidnotifyAccountInsert(Long accountId, PoolKit poolKit) Notifies the system about an account insertion.static voidnotifyAccountInsert(Long accountId, PooledConnection connection) Notifies the system about an account insertion.static voidnotifyAccountUpdate(Long accountId) Notifies the system about an account update.static voidnotifyAccountUpdate(Long accountId, PoolKit poolKit) Notifies the system about an account update.static voidnotifyAccountUpdate(Long accountId, PooledConnection connection) Notifies the system about an account update.
-
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 updatedpoolKit- the pool kit to use for database operations- Throws:
DAException- if a data access error occursDAValidateException- if validation fails- Since:
- 21.0
-
notifyAccountUpdate
Notifies the system about an account update.- Parameters:
accountId- the ID of the account that was updated- Throws:
DAException- if a data access error occursDAValidateException- 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 updatedconnection- the connection to use for database operations- Throws:
DAException- if a data access error occursDAValidateException- 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 insertedpoolKit- the pool kit to use for database operations- Throws:
DAException- if a data access error occursDAValidateException- 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 insertedconnection- the connection to use for database operations- Throws:
DAException- if a data access error occursDAValidateException- if validation fails- Since:
- 21.0
-