|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.kfs.gl.batch.service.impl.SufficientFundsAccountUpdateServiceImpl
@Transactional public class SufficientFundsAccountUpdateServiceImpl
The default implementation of SufficientFundsAccountUpdateService
| Constructor Summary | |
|---|---|
SufficientFundsAccountUpdateServiceImpl()
Constructs a SufficientFundsAccountUpdateServiceImpl instance |
|
| Method Summary | |
|---|---|
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.kns.service.BusinessObjectService bos)
|
void |
setDateTimeService(org.kuali.rice.kns.service.DateTimeService dateTimeService)
|
void |
setKualiConfigurationService(org.kuali.rice.kns.service.KualiConfigurationService kualiConfigurationService)
|
void |
setOptionsDao(OptionsDao optionsDao)
|
void |
setReportWriterService(ReportWriterService sfrs)
|
void |
setSufficientFundBalancesDao(SufficientFundBalancesDao sufficientFundBalancesDao)
|
void |
setSufficientFundRebuildDao(SufficientFundRebuildDao sufficientFundRebuildDao)
|
void |
setSufficientFundsService(SufficientFundsService sfs)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SufficientFundsAccountUpdateServiceImpl()
| Method Detail |
|---|
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 check
protected 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 with
protected 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 with
protected 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.kns.service.DateTimeService dateTimeService)
public void setKualiConfigurationService(org.kuali.rice.kns.service.KualiConfigurationService kualiConfigurationService)
public void setBalanceDao(BalanceDao balanceDao)
public void setSufficientFundBalancesDao(SufficientFundBalancesDao sufficientFundBalancesDao)
public void setOptionsDao(OptionsDao optionsDao)
public void setReportWriterService(ReportWriterService sfrs)
public void setAccountService(AccountService accountService)
public void setSufficientFundsService(SufficientFundsService sfs)
public void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService bos)
public void setSufficientFundRebuildDao(SufficientFundRebuildDao sufficientFundRebuildDao)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||