| org.kuali.module.gl.batch.poster.BalanceCalculator
All known Subclasses: org.kuali.module.gl.batch.poster.impl.PostBalance,
BalanceCalculator | public interface BalanceCalculator (Code) | | This interface declares methods needed for posting transactions to the appropriate balance records.
|
findBalance | public Balance findBalance(Collection balanceList, Transaction t)(Code) | | Given a collection of balance records, returns the balance that the given transaction would post to
or creates a new balance record
Parameters: balanceList - a Collection of balance records Parameters: t - the transaction to post the balance to post against |
updateBalance | public void updateBalance(Transaction t, Balance b)(Code) | | Updates the balance based on the given transaction
Parameters: t - the transaction to post Parameters: b - the balance being posted against |
|
|