@Transactional public class PostSufficientFundBalances extends Object implements PostTransaction
| Constructor and Description | 
|---|
| PostSufficientFundBalances()Constructs a PostSufficientFundBalances instance | 
| Modifier and Type | Method and Description | 
|---|---|
| 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 sufficient funds records | 
| void | setAccountingCycleCachingService(AccountingCycleCachingService accountingCycleCachingService) | 
| void | setPersistenceStructureService(org.kuali.rice.krad.service.PersistenceStructureService persistenceStructureService) | 
| protected void | updateBudgetAmount(String debitCreditCode,
                                    SufficientFundBalances bal,
                                    org.kuali.rice.core.api.util.type.KualiDecimal amount)Updates the budget amount of a given sufficient funds balance record | 
| protected void | updateEncumbranceAmount(String debitCreditCode,
                                              SufficientFundBalances bal,
                                              org.kuali.rice.core.api.util.type.KualiDecimal amount)Updates the encumbrance amount of a given sufficient funds balance record | 
| protected void | updateExpendedAmount(String debitCreditCode,
                                        SufficientFundBalances bal,
                                        org.kuali.rice.core.api.util.type.KualiDecimal amount)Updates the expenditure amount of a given sufficient funds balance record | 
public PostSufficientFundBalances()
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)protected void updateExpendedAmount(String debitCreditCode, SufficientFundBalances bal, org.kuali.rice.core.api.util.type.KualiDecimal amount)
debitCreditCode - whether the the amount should be debited or credited to the SF balancebal - a sufficient funds balance to updateamount - the amount to debit or creditprotected void updateEncumbranceAmount(String debitCreditCode, SufficientFundBalances bal, org.kuali.rice.core.api.util.type.KualiDecimal amount)
debitCreditCode - whether the the amount should be debited or credited to the SF balancebal - a sufficient funds balance to updateamount - the amount to debit or creditprotected void updateBudgetAmount(String debitCreditCode, SufficientFundBalances bal, org.kuali.rice.core.api.util.type.KualiDecimal amount)
debitCreditCode - whether the the amount should be debited or credited to the SF balancebal - a sufficient funds balance to updateamount - the amount to debit or creditpublic String getDestinationName()
PostTransactiongetDestinationName in interface PostTransactionPostTransaction.getDestinationName()public void setAccountingCycleCachingService(AccountingCycleCachingService accountingCycleCachingService)
public void setPersistenceStructureService(org.kuali.rice.krad.service.PersistenceStructureService persistenceStructureService)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.