Package org.cyclos.impl.banking
Interface AccountVerificationHandler
-
public interface AccountVerificationHandlerVerifies account balances
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<InconsistentBalance>fixInconsistentBalances()Checks all accounts that, if their cached balance is incorrect, fixes them.voidrebuildClosedBalances(Long... ids)Recalculates the closed balances for the given accounts.
-
-
-
Method Detail
-
fixInconsistentBalances
List<InconsistentBalance> fixInconsistentBalances()
Checks all accounts that, if their cached balance is incorrect, fixes them. Generates a system alert grouping accounts in the same alert. However, for user accounts that are below the limit, generates individual user alerts.
-
rebuildClosedBalances
void rebuildClosedBalances(Long... ids)
Recalculates the closed balances for the given accounts. When no account ids are passed, balances for all accounts are rebuilt, which can take a long time to finish.
-
-