|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.dao.support.DaoSupport
org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
org.kuali.kfs.gl.dataaccess.impl.EncumbranceDaoOjb
public class EncumbranceDaoOjb
An OJB implementation of the EncumbranceDao
| Field Summary |
|---|
| Fields inherited from class org.springframework.dao.support.DaoSupport |
|---|
logger |
| Constructor Summary | |
|---|---|
EncumbranceDaoOjb()
|
|
| Method Summary | |
|---|---|
protected List |
buildAttributeList()
This method builds the atrribute list used by balance searching |
protected List |
buildGroupByList()
This method builds group by attribute list used by balance searching |
Integer |
findCountGreaterOrEqualThan(Integer year)
|
Iterator |
findOpenEncumbrance(Map fieldValues)
Queries the database to find all open encumbrances that qualify by the given keys |
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 |
protected org.apache.ojb.broker.query.Query |
getOpenEncumbranceQuery(Map fieldValues)
build the query for encumbrance search |
Integer |
getOpenEncumbranceRecordCount(Map fieldValues)
Counts the number of open encumbrances that have the keys given in the map |
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 |
| Methods inherited from class org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb |
|---|
getDbPlatform, setDbPlatform |
| Methods inherited from class org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport |
|---|
checkDaoConfig, convertOjbAccessException, createPersistenceBrokerTemplate, getJcdAlias, getPersistenceBroker, getPersistenceBrokerTemplate, releasePersistenceBroker, setJcdAlias, setPersistenceBrokerTemplate |
| Methods inherited from class org.springframework.dao.support.DaoSupport |
|---|
afterPropertiesSet, initDao |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EncumbranceDaoOjb()
| Method Detail |
|---|
public Encumbrance getEncumbranceByTransaction(Transaction t)
getEncumbranceByTransaction in interface EncumbranceDaot - the transaction to find the affected encumbrance for
EncumbranceDao.getEncumbranceByTransaction(org.kuali.kfs.gl.businessobject.Transaction)public Iterator getEncumbrancesToClose(Integer fiscalYear)
getEncumbrancesToClose in interface EncumbranceDaofiscalYear - a fiscal year to find encumbrances for
EncumbranceDao.getEncumbrancesToClose(java.lang.Integer)public void save(Encumbrance e)
save in interface EncumbranceDaoe - an encumbrance to saveEncumbranceDao.save(org.kuali.kfs.gl.businessobject.Encumbrance)
public void purgeYearByChart(String chartOfAccountsCode,
int year)
purgeYearByChart in interface EncumbranceDaochartOfAccountsCode - the chart of accounts code purged encumbrances will haveyear - the university fiscal year purged encumbrances will haveEncumbranceDao.purgeYearByChart(java.lang.String, int)public Iterator getAllEncumbrances()
getAllEncumbrances in interface EncumbranceDaoEncumbranceDao.getAllEncumbrances()
public Iterator getSummarizedEncumbrances(String documentTypeCode,
boolean included)
getSummarizedEncumbrances in interface EncumbranceDaodocumentTypeCode - the given document type codeincluded - indicate if all encumbrances with the given document type are included in the results or not
EncumbranceDao.getSummarizedEncumbrances(String, boolean)public Iterator findOpenEncumbrance(Map fieldValues)
findOpenEncumbrance in interface EncumbranceDaofieldValues - the input fields and values
EncumbranceDao.findOpenEncumbrance(java.util.Map)public Integer getOpenEncumbranceRecordCount(Map fieldValues)
getOpenEncumbranceRecordCount in interface EncumbranceDaofieldValues - the input fields and values
EncumbranceDao.getOpenEncumbranceRecordCount(java.util.Map)protected org.apache.ojb.broker.query.Query getOpenEncumbranceQuery(Map fieldValues)
fieldValues - a Map of values to use as keys for the query
protected List buildAttributeList()
protected List buildGroupByList()
public Integer findCountGreaterOrEqualThan(Integer year)
findCountGreaterOrEqualThan in interface EncumbranceDaoyear - the given university fiscal year
EncumbranceDao.findCountGreaterOrEqualThan(java.lang.Integer)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||