@Transactional public class EncumbranceServiceImpl extends Object implements EncumbranceService
| Constructor and Description |
|---|
EncumbranceServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
Iterator |
findOpenEncumbrance(Map fieldValues,
boolean includeZeroEncumbrances)
Given the fieldValues, forms a query and finds the open encumbrances that match it
|
Iterator |
getAllEncumbrances()
Returns an iterator with all encumbrances from the database.
|
Integer |
getOpenEncumbranceRecordCount(Map fieldValues,
boolean includeZeroEncumbrances)
Returns the count of all open encumbrances in the database, matching the given field 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)
Removes all encumbrances from the database having a certain chart and fiscal year
|
void |
save(Encumbrance enc)
Saves an encumbrance
|
void |
setEncumbranceDao(EncumbranceDao ed)
Field accessor for EncumbranceDao
|
public EncumbranceServiceImpl()
public void save(Encumbrance enc)
save in interface EncumbranceServiceenc - an encumbrance to saveEncumbranceService.save(org.kuali.ole.gl.businessobject.Encumbrance)public void purgeYearByChart(String chartOfAccountsCode, int year)
purgeYearByChart in interface EncumbranceServicechartOfAccountsCode - the chart of encumbrances to purgeyear - the year of encumbrances to purgeEncumbranceService.purgeYearByChart(java.lang.String, int)public Iterator getAllEncumbrances()
getAllEncumbrances in interface EncumbranceServiceEncumbranceService.getAllEncumbrances()public void setEncumbranceDao(EncumbranceDao ed)
ed - public Iterator getSummarizedEncumbrances(String documentTypeCode, boolean included)
getSummarizedEncumbrances in interface EncumbranceServicedocumentTypeCode - the given document type codeincluded - indicate if all encumbrances with the given document type are included in the results or notEncumbranceService.getSummarizedEncumbrances(java.lang.String, boolean)public Iterator findOpenEncumbrance(Map fieldValues, boolean includeZeroEncumbrances)
findOpenEncumbrance in interface EncumbranceServicefieldValues - the values to form an encumbrance query out ofincludeZeroEncumbrances - org.kuali.ole.gl.service.EncumbranceService#findOpenEncumbrance(java.util.Map)public Integer getOpenEncumbranceRecordCount(Map fieldValues, boolean includeZeroEncumbrances)
getOpenEncumbranceRecordCount in interface EncumbranceServicefieldValues - the field values to build an encumbrance query out ofincludeZeroEncumbrances - org.kuali.ole.gl.service.EncumbranceService#getOpenEncumbranceCount(java.util.Map)Copyright © 2004–2015 The Kuali Foundation. All rights reserved.