|
||||||||||
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.AccountBalanceDaoOjb
public class AccountBalanceDaoOjb
An OJB implmentation of the AccountBalanceDao
Field Summary |
---|
Fields inherited from class org.springframework.dao.support.DaoSupport |
---|
logger |
Constructor Summary | |
---|---|
AccountBalanceDaoOjb()
|
Method Summary | |
---|---|
List |
findAccountBalanceByConsolidationByObjectTypes(String[] objectTypes,
Integer universityFiscalYear,
String chartOfAccountsCode,
String accountNumber,
boolean isExcludeCostShare,
boolean isConsolidated,
int pendingEntriesCode)
Get available balances by consolidation for specific object types |
List |
findAccountBalanceByLevel(Integer universityFiscalYear,
String chartOfAccountsCode,
String accountNumber,
String financialConsolidationObjectCode,
boolean isCostShareExcluded,
boolean isConsolidated,
int pendingEntriesCode)
Get available balances by level |
List |
findAccountBalanceByObject(Integer universityFiscalYear,
String chartOfAccountsCode,
String accountNumber,
String financialObjectLevelCode,
String financialReportingSortCode,
boolean isCostShareExcluded,
boolean isConsolidated,
int pendingEntriesCode)
Get available balances by object |
Iterator |
findAvailableAccountBalance(Map fieldValues)
This method finds the available account balances according to input fields and values |
Iterator |
findConsolidatedAvailableAccountBalance(Map fieldValues)
This method finds the available account balances according to input fields and values |
Integer |
findCountGreaterOrEqualThan(Integer year)
|
AccountBalanceConsolidationDao |
getAccountBalanceConsolidationDao()
|
AccountBalanceLevelDao |
getAccountBalanceLevelDao()
|
AccountBalanceObjectDao |
getAccountBalanceObjectDao()
|
AccountBalance |
getByTransaction(Transaction t)
Given a transaction, finds a matching account balance in the database |
void |
purgeYearByChart(String chartOfAccountsCode,
int year)
Purge an entire fiscal year for a single chart. |
void |
save(AccountBalance ab)
Saves an account balance to the database |
void |
setAccountBalanceConsolidationDao(AccountBalanceConsolidationDao accountBalanceConsolidationDao)
|
void |
setAccountBalanceLevelDao(AccountBalanceLevelDao accountBalanceLevelDao)
|
void |
setAccountBalanceObjectDao(AccountBalanceObjectDao accountBalanceObjectDao)
|
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 AccountBalanceDaoOjb()
Method Detail |
---|
public AccountBalance getByTransaction(Transaction t)
getByTransaction
in interface AccountBalanceDao
t
- a transaction to find an appropriate related account balance for
AccountBalanceDao.getByTransaction(org.kuali.kfs.gl.businessobject.Transaction)
public void save(AccountBalance ab)
save
in interface AccountBalanceDao
ab
- an account balance to saveAccountBalanceDao.save(org.kuali.kfs.gl.businessobject.AccountBalance)
public Iterator findConsolidatedAvailableAccountBalance(Map fieldValues)
findConsolidatedAvailableAccountBalance
in interface AccountBalanceDao
fieldValues
- the input fields and values
org.kuali.kfs.gl.dataaccess.AccountBalanceDao#findAvailableAccountBalance(java.util.Map, boolean)
public Iterator findAvailableAccountBalance(Map fieldValues)
findAvailableAccountBalance
in interface AccountBalanceDao
fieldValues
- the input fields and values
AccountBalanceDao.findAvailableAccountBalance(java.util.Map)
public List findAccountBalanceByConsolidationByObjectTypes(String[] objectTypes, Integer universityFiscalYear, String chartOfAccountsCode, String accountNumber, boolean isExcludeCostShare, boolean isConsolidated, int pendingEntriesCode)
findAccountBalanceByConsolidationByObjectTypes
in interface AccountBalanceDao
objectTypes
- the object types that reported account balances must haveuniversityFiscalYear
- the university fiscal year of account balances to findchartOfAccountsCode
- the chart of accounts of account balances to findaccountNumber
- the account number of account balances to findisExcludeCostShare
- whether cost share entries should be excluded from this inquiryisConsolidated
- whether the results of this should be consolidated or notpendingEntriesCode
- whether to include no pending entries, approved pending entries, or all pending entries
AccountBalanceDao.findAccountBalanceByConsolidationByObjectTypes(java.lang.String[],
java.lang.Integer, java.lang.String, java.lang.String, boolean, boolean, int)
public List findAccountBalanceByLevel(Integer universityFiscalYear, String chartOfAccountsCode, String accountNumber, String financialConsolidationObjectCode, boolean isCostShareExcluded, boolean isConsolidated, int pendingEntriesCode)
findAccountBalanceByLevel
in interface AccountBalanceDao
universityFiscalYear
- the university fiscal year of account balances to findchartOfAccountsCode
- the chart of accounts of account balances to findaccountNumber
- the account number of account balances to findfinancialConsolidationObjectCode
- the consolidation code of account balances to findisCostShareExcluded
- whether cost share entries should be excluded from this inquiryisConsolidated
- whether the results of this should be consolidated or not
AccountBalanceDao.findAccountBalanceByLevel(java.lang.Integer, java.lang.String,
java.lang.String, java.lang.String, boolean, boolean, int)
public List findAccountBalanceByObject(Integer universityFiscalYear, String chartOfAccountsCode, String accountNumber, String financialObjectLevelCode, String financialReportingSortCode, boolean isCostShareExcluded, boolean isConsolidated, int pendingEntriesCode)
findAccountBalanceByObject
in interface AccountBalanceDao
universityFiscalYear
- the university fiscal year of account balances to findchartOfAccountsCode
- the chart of accounts of account balances to findaccountNumber
- the account number of account balances to findfinancialObjectLevelCode
- the object level code of account balances to findfinancialReportingSortCode
- isCostShareExcluded
- whether cost share entries should be excluded from this inquiryisConsolidated
- whether the results of this should be consolidated or not
AccountBalanceDao.findAccountBalanceByObject(java.lang.Integer, java.lang.String,
java.lang.String, java.lang.String, java.lang.String, boolean, boolean, int)
public void purgeYearByChart(String chartOfAccountsCode, int year)
purgeYearByChart
in interface AccountBalanceDao
chartOfAccountsCode
- the chart of accounts code of account balances to purgeyear
- the fiscal year of account balances to purgeAccountBalanceDao.purgeYearByChart(java.lang.String, int)
public Integer findCountGreaterOrEqualThan(Integer year)
findCountGreaterOrEqualThan
in interface AccountBalanceDao
year
- the given university fiscal year
AccountBalanceDao.findCountGreaterOrEqualThan(java.lang.Integer)
public AccountBalanceConsolidationDao getAccountBalanceConsolidationDao()
public void setAccountBalanceConsolidationDao(AccountBalanceConsolidationDao accountBalanceConsolidationDao)
public AccountBalanceLevelDao getAccountBalanceLevelDao()
public void setAccountBalanceLevelDao(AccountBalanceLevelDao accountBalanceLevelDao)
public AccountBalanceObjectDao getAccountBalanceObjectDao()
public void setAccountBalanceObjectDao(AccountBalanceObjectDao accountBalanceObjectDao)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |