@Transactional public class SufficientFundsAccountUpdateServiceImpl extends Object implements SufficientFundsAccountUpdateService
| Constructor and Description | 
|---|
| SufficientFundsAccountUpdateServiceImpl()Constructs a SufficientFundsAccountUpdateServiceImpl instance | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | addTransactionError(String errorMessage)Adds an error message to this instance's List of error messages | 
| protected boolean | amountsAreNonZero(SufficientFundBalances sfbl)Determines if all sums associated with a sufficient funds balance are zero | 
| void | calculateSufficientFundsByAccount(SufficientFundRebuild sfrb)Updates sufficient funds balances for the given account | 
| void | convertOtypeToAtypes(SufficientFundRebuild sfrb)Given an O SF rebuild type, it will look up all of the matching balances in the table and add each account it finds as an A
 SF rebuild type. | 
| protected Integer | getFiscalYear()Returns the fiscal year, set in a parameter, of sufficient funds to rebuild | 
| protected void | initService()Initializes the process at the beginning of a run. | 
| protected void | processCash(Account sfrbAccount,
                      Balance balance)Determines how best to process a cash balance | 
| protected void | processCashActual(Account sfrbAccount,
                                  Balance balance)Updates the current sufficient fund balance record with a cash actual balance | 
| protected void | processCashEncumbrance(Balance balance)Updates the current sufficient funds balance with a cash encumbrance balance | 
| protected void | processObjectOrAccount(Account sfrbAccount,
                                            Balance balance)Determines how best to process the given balance | 
| protected void | processObjtAcctActual(Balance balance)Updates the current sufficient fund balance record with a non-cash actual balance | 
| protected void | processObjtAcctBudget(Balance balance)Updates the current sufficient fund balance record with a non-cash budget balance | 
| protected void | processObjtAcctEncmbrnc(Balance balance)Updates the current sufficient fund balance record with a non-cash encumbrance balance | 
| void | rebuildSufficientFunds()Rebuilds all necessary sufficient funds balances. | 
| void | setAccountService(AccountService accountService) | 
| void | setBalanceDao(BalanceDao balanceDao) | 
| void | setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService bos) | 
| void | setConfigurationService(org.kuali.rice.core.api.config.property.ConfigurationService kualiConfigurationService) | 
| void | setDateTimeService(org.kuali.rice.core.api.datetime.DateTimeService dateTimeService) | 
| void | setReportWriterService(ReportWriterService sfrs) | 
| void | setSufficientFundBalancesDao(SufficientFundBalancesDao sufficientFundBalancesDao) | 
| void | setSufficientFundRebuildDao(SufficientFundRebuildDao sufficientFundRebuildDao) | 
| void | setSufficientFundsService(SufficientFundsService sfs) | 
public SufficientFundsAccountUpdateServiceImpl()
protected Integer getFiscalYear()
public void rebuildSufficientFunds()
rebuildSufficientFunds in interface SufficientFundsAccountUpdateServiceSufficientFundsAccountUpdateService.rebuildSufficientFunds()protected void initService()
public void convertOtypeToAtypes(SufficientFundRebuild sfrb)
convertOtypeToAtypes in interface SufficientFundsAccountUpdateServicesfrb - the sufficient fund rebuild record to convertpublic void calculateSufficientFundsByAccount(SufficientFundRebuild sfrb)
calculateSufficientFundsByAccount in interface SufficientFundsAccountUpdateServicesfrb - the sufficient fund rebuild record, with a chart and account numberprotected boolean amountsAreNonZero(SufficientFundBalances sfbl)
sfbl - the sufficient funds balance to checkprotected void processObjectOrAccount(Account sfrbAccount, Balance balance)
sfrbAccount - the account of the current sufficient funds balance rebuild recordbalance - the cash encumbrance balance to update the sufficient funds balance withprotected void processObjtAcctActual(Balance balance)
balance - the cash encumbrance balance to update the sufficient funds balance withprotected void processObjtAcctEncmbrnc(Balance balance)
balance - the cash encumbrance balance to update the sufficient funds balance withprotected void processObjtAcctBudget(Balance balance)
balance - the cash encumbrance balance to update the sufficient funds balance withprotected void processCash(Account sfrbAccount, Balance balance)
sfrbAccount - the account of the current sufficient funds balance recordbalance - the cash encumbrance balance to update the sufficient funds balance withprotected void processCashActual(Account sfrbAccount, Balance balance)
sfrbAccount - the account of the current sufficient funds balance recordbalance - the cash encumbrance balance to update the sufficient funds balance withprotected void processCashEncumbrance(Balance balance)
balance - the cash encumbrance balance to update the sufficient funds balance withprotected void addTransactionError(String errorMessage)
errorMessage - the error message to keeppublic void setDateTimeService(org.kuali.rice.core.api.datetime.DateTimeService dateTimeService)
public void setConfigurationService(org.kuali.rice.core.api.config.property.ConfigurationService kualiConfigurationService)
public void setBalanceDao(BalanceDao balanceDao)
public void setSufficientFundBalancesDao(SufficientFundBalancesDao sufficientFundBalancesDao)
public void setReportWriterService(ReportWriterService sfrs)
public void setAccountService(AccountService accountService)
public void setSufficientFundsService(SufficientFundsService sfs)
public void setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService bos)
public void setSufficientFundRebuildDao(SufficientFundRebuildDao sufficientFundRebuildDao)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.