|
||||||||||
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.EntryDaoOjb
public class EntryDaoOjb
An OJB implementation of EntryDao
Field Summary |
---|
Fields inherited from class org.springframework.dao.support.DaoSupport |
---|
logger |
Constructor Summary | |
---|---|
EntryDaoOjb()
Constructs a EntryDaoOjb instance |
Method Summary | |
---|---|
void |
addEntry(Transaction t,
Date postDate)
Turns the given transaction into an entry and then saves that entry in the database |
Integer |
findCountGreaterOrEqualThan(Integer year)
Finds the count of rows for >= fiscal year passed in. |
Object[] |
findEntryByGroup(Integer universityFiscalYear,
String chartOfAccountsCode,
String financialObjectCode,
String financialBalanceTypeCode,
String universityFiscalPeriodCode,
String transactionDebitCreditCode)
Does a group by query on the parameters passed in and returns an object array with the count as first parameter and sum of TRANSACTION_LEDGER_ENTRY_AMOUNT of the second. |
int |
getMaxSequenceNumber(Transaction t)
Find the maximum transactionLedgerEntrySequenceNumber in the entry table for a specific transaction. |
void |
purgeYearByChart(String chartOfAccountsCode,
int year)
Purge the entry table by chart/year |
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 EntryDaoOjb()
Method Detail |
---|
public void addEntry(Transaction t, Date postDate)
addEntry
in interface EntryDao
t
- the transaction to savepostDate
- the officially reported posting dateEntryDao.addEntry(org.kuali.kfs.gl.businessobject.Transaction, java.util.Date)
public int getMaxSequenceNumber(Transaction t)
getMaxSequenceNumber
in interface EntryDao
t
- the transaction to check
public void purgeYearByChart(String chartOfAccountsCode, int year)
purgeYearByChart
in interface EntryDao
chart
- the chart of accounts code of entries to purgeyear
- the university fiscal year of entries to purgepublic Object[] findEntryByGroup(Integer universityFiscalYear, String chartOfAccountsCode, String financialObjectCode, String financialBalanceTypeCode, String universityFiscalPeriodCode, String transactionDebitCreditCode)
LedgerEntryBalancingDao
findEntryByGroup
in interface LedgerEntryBalancingDao
universityFiscalYear
- the given university fiscal yearchartOfAccountsCode
- the given chart of account codefinancialObjectCode
- the given object codefinancialBalanceTypeCode
- the given balance type codeuniversityFiscalPeriodCode
- the given university fiscal period codetransactionDebitCreditCode
- the given transaction debit or credit code
LedgerEntryBalancingDao.findEntryByGroup(java.lang.Integer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
public Integer findCountGreaterOrEqualThan(Integer year)
LedgerEntryBalancingDao
findCountGreaterOrEqualThan
in interface LedgerEntryBalancingDao
LedgerEntryBalancingDao.findCountGreaterOrEqualThan(java.lang.Integer)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |