|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EncumbranceDao
A DAO interface that declares methods needed for Encumbrances to interact with the database
Method Summary | |
---|---|
Integer |
findCountGreaterOrEqualThan(Integer year)
|
Iterator |
findOpenEncumbrance(Map fieldValues)
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)
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 |
void |
save(Encumbrance e)
Saves an encumbrance to the database |
Method Detail |
---|
Encumbrance getEncumbranceByTransaction(Transaction t)
t
- the transaction to find the affected encumbrance for
Iterator getEncumbrancesToClose(Integer fiscalYear)
fiscalYear
- a fiscal year to find encumbrances for
void purgeYearByChart(String chartOfAccountsCode, int year)
chartOfAccountsCode
- the chart of accounts code purged encumbrances will haveyear
- the university fiscal year purged encumbrances will havevoid save(Encumbrance e)
e
- an encumbrance to saveIterator 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 not
Iterator findOpenEncumbrance(Map fieldValues)
fieldValues
- the input fields and values
Integer getOpenEncumbranceRecordCount(Map fieldValues)
fieldValues
- the input fields and values
Integer findCountGreaterOrEqualThan(Integer year)
year
- the given university fiscal year
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |