public class EntryDaoOjb extends org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb implements EntryDao, LedgerEntryBalancingDao
| Constructor and Description |
|---|
EntryDaoOjb()
Constructs a EntryDaoOjb instance
|
| Modifier and Type | Method and Description |
|---|---|
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
|
getDbPlatform, setDbPlatformpublic EntryDaoOjb()
public int getMaxSequenceNumber(Transaction t)
getMaxSequenceNumber in interface EntryDaot - the transaction to checkpublic void purgeYearByChart(String chartOfAccountsCode, int year)
purgeYearByChart in interface EntryDaochart - 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)
LedgerEntryBalancingDaofindEntryByGroup in interface LedgerEntryBalancingDaouniversityFiscalYear - 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 codeLedgerEntryBalancingDao.findEntryByGroup(java.lang.Integer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)public Integer findCountGreaterOrEqualThan(Integer year)
LedgerEntryBalancingDaofindCountGreaterOrEqualThan in interface LedgerEntryBalancingDaoLedgerEntryBalancingDao.findCountGreaterOrEqualThan(java.lang.Integer)Copyright © 2004–2015 The Kuali Foundation. All rights reserved.