public interface EncumbranceDao
| Modifier and Type | Method and Description | 
|---|---|
| Integer | findCountGreaterOrEqualThan(Integer year) | 
| Iterator | findOpenEncumbrance(Map fieldValues,
                                      boolean includeZeroEncumbrances)This method finds the open encumbrances according to input fields and values | 
| Iterator | getAllEncumbrances()fetch all encumbrance records from GL open encumbrance table | 
| Encumbrance | getEncumbranceByTransaction(Transaction t)Returns an encumbrance that would be affected by the given transaction | 
| Iterator | getEncumbrancesToClose(Integer fiscalYear)Returns an Iterator of all encumbrances that need to be closed for the fiscal year | 
| Integer | getOpenEncumbranceRecordCount(Map fieldValues,
                                                          boolean includeZeroEncumbrances)Counts the number of the open encumbrances according to input fields and values | 
| Iterator | getSummarizedEncumbrances(String documentTypeCode,
                                                  boolean included)group all encumbrances with/without the given document type code by fiscal year, chart, account, sub-account, object code,
 sub object code, and balance type code, and summarize the encumbrance amount and the encumbrance close amount. | 
| void | purgeYearByChart(String chartOfAccountsCode,
                                int year)Purges the database of all those encumbrances with the given chart and year | 
Encumbrance getEncumbranceByTransaction(Transaction t)
t - the transaction to find the affected encumbrance forIterator getEncumbrancesToClose(Integer fiscalYear)
fiscalYear - a fiscal year to find encumbrances forvoid purgeYearByChart(String chartOfAccountsCode, int year)
chartOfAccountsCode - the chart of accounts code purged encumbrances will haveyear - the university fiscal year purged encumbrances will haveIterator getAllEncumbrances()
Iterator getSummarizedEncumbrances(String documentTypeCode, boolean included)
documentTypeCode - the given document type codeincluded - indicate if all encumbrances with the given document type are included in the results or notIterator findOpenEncumbrance(Map fieldValues, boolean includeZeroEncumbrances)
fieldValues - the input fields and valuesincludeZeroEncumbrances - should the query include encumbrances which have zeroed out?Integer getOpenEncumbranceRecordCount(Map fieldValues, boolean includeZeroEncumbrances)
fieldValues - the input fields and valuesincludeZeroEncumbrances - should the query include encumbrances which have zeroed out?Integer findCountGreaterOrEqualThan(Integer year)
year - the given university fiscal yearCopyright © 2004–2015 The Kuali Foundation. All rights reserved.