org.kuali.kfs.gl.service
Interface SufficientFundsService

All Known Implementing Classes:
SufficientFundsServiceImpl

public interface SufficientFundsService

Service used for manipulating disbursement voucher cover sheets.


Method Summary
 List<SufficientFundsItem> checkSufficientFunds(GeneralLedgerPostingDocument document)
          Checks for sufficient funds on a single document
 List<SufficientFundsItem> checkSufficientFunds(List<? extends Transaction> transactions)
          Checks for sufficient funds on a list of transactions
 String getSufficientFundsObjectCode(ObjectCode financialObject, String accountSufficientFundsCode)
          This operation derives the acct_sf_finobj_cd which is used to populate the General Ledger Pending entry table, so that later we can do Suff Fund checking against that entry
 void purgeYearByChart(String chart, int year)
          Purge the sufficient funds balance table by year/chart
 

Method Detail

checkSufficientFunds

List<SufficientFundsItem> checkSufficientFunds(GeneralLedgerPostingDocument document)
Checks for sufficient funds on a single document

Parameters:
document - document to check
Returns:
Empty List if has sufficient funds for all accounts, List of SufficientFundsItem if not

checkSufficientFunds

List<SufficientFundsItem> checkSufficientFunds(List<? extends Transaction> transactions)
Checks for sufficient funds on a list of transactions

Parameters:
transactions - list of transactions
Returns:
Empty List if has sufficient funds for all accounts, List of SufficientFundsItem if not

getSufficientFundsObjectCode

String getSufficientFundsObjectCode(ObjectCode financialObject,
                                    String accountSufficientFundsCode)
This operation derives the acct_sf_finobj_cd which is used to populate the General Ledger Pending entry table, so that later we can do Suff Fund checking against that entry

Parameters:
financialObject - the object code being checked against
accountSufficientFundsCode - the kind of sufficient funds checking turned on in this system
Returns:
the object code that should be used for the sufficient funds inquiry, or a blank String

purgeYearByChart

void purgeYearByChart(String chart,
                      int year)
Purge the sufficient funds balance table by year/chart

Parameters:
chart - chart of sufficient fund balances to purge
year - fiscal year of sufficent fund balances to purge


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.