@Transactional public class PostAccountBalance extends Object implements PostTransaction, AccountBalanceCalculator
| Constructor and Description | 
|---|
| PostAccountBalance()Constructs a PostAccountBalance instance | 
| Modifier and Type | Method and Description | 
|---|---|
| AccountBalance | findAccountBalance(Collection balanceList,
                                    Transaction t)Given a collection of account balance records, returns either the account balance the given
 transaction should post against or a new account balance record | 
| String | getDestinationName()The name of the destination for the post (ie, the database table name where resultant records will be posted) | 
| String | post(Transaction t,
        int mode,
        Date postDate,
        ReportWriterService posterReportWriterService)Posts the transaction to the appropriate account balance record. | 
| void | setAccountingCycleCachingService(AccountingCycleCachingService accountingCycleCachingService) | 
| void | setPersistenceStructureService(org.kuali.rice.krad.service.PersistenceStructureService persistenceStructureService) | 
| void | updateAccountBalance(Transaction t,
                                        AccountBalance ab)Updates the given account balance record, based on the given transaction | 
| protected boolean | updateAccountBalanceReturn(Transaction t,
                                                    AccountBalance ab) | 
public PostAccountBalance()
public String post(Transaction t, int mode, Date postDate, ReportWriterService posterReportWriterService)
post in interface PostTransactiont - the transaction which is being postedmode - the mode the poster is currently running inpostDate - the date this transaction should post toposterReportWriterService - the writer service where the poster is writing its reportorg.kuali.ole.gl.batch.service.PostTransaction#post(org.kuali.ole.gl.businessobject.Transaction, int, java.util.Date)public AccountBalance findAccountBalance(Collection balanceList, Transaction t)
AccountBalanceCalculatorfindAccountBalance in interface AccountBalanceCalculatorbalanceList - a Collection of AccountBalance recordst - the transaction to postprotected boolean updateAccountBalanceReturn(Transaction t, AccountBalance ab)
public void updateAccountBalance(Transaction t, AccountBalance ab)
AccountBalanceCalculatorupdateAccountBalance in interface AccountBalanceCalculatort - enc - public String getDestinationName()
PostTransactiongetDestinationName in interface PostTransactionpublic void setAccountingCycleCachingService(AccountingCycleCachingService accountingCycleCachingService)
public void setPersistenceStructureService(org.kuali.rice.krad.service.PersistenceStructureService persistenceStructureService)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.