public class YearEndDaoJdbc extends org.kuali.rice.core.framework.persistence.jdbc.dao.PlatformAwareDaoBaseJdbc implements YearEndDao
Modifier and Type | Field and Description |
---|---|
protected Comparator<Map<String,String>> |
priorYearAccountPrimaryKeyComparator |
protected org.springframework.jdbc.core.RowMapper |
priorYearAccountRowMapper |
protected Comparator<Map<String,String>> |
subFundGroupPrimaryKeyComparator |
protected org.springframework.jdbc.core.RowMapper |
subFundGroupRowMapper |
Constructor and Description |
---|
YearEndDaoJdbc() |
Modifier and Type | Method and Description |
---|---|
Set<Map<String,String>> |
findKeysOfMissingPriorYearAccountsForBalances(Integer balanceFiscalYear)
Queries the databse to find missing prior year accounts
|
Set<Map<String,String>> |
findKeysOfMissingPriorYearAccountsForOpenEncumbrances(Integer encumbranceFiscalYear)
Queries the databsae to find missing prior year account records referred to by encumbrance records
|
Set<Map<String,String>> |
findKeysOfMissingSubFundGroupsForBalances(Integer balanceFiscalYear)
Queries the database to find missing sub fund groups
|
Set<Map<String,String>> |
findKeysOfMissingSubFundGroupsForOpenEncumbrances(Integer encumbranceFiscalYear)
Queries the database to find missing sub fund group records referred to by encumbrances
|
protected Set<Map<String,String>> |
selectMissingPriorYearAccounts(List priorYearKeys)
This method puts all of the prior year accounts that aren't in the database, based on the list of keys sent in, into the
given set
|
protected Set<Map<String,String>> |
selectMissingSubFundGroups(List subFundGroupKeys)
This method puts all of the sub fund groups that are in the given list of subFundGroupKeys but aren't in the database into
the given set
|
getDbPlatform, setDbPlatform
getSimpleJdbcTemplate, initTemplateConfig
protected Comparator<Map<String,String>> subFundGroupPrimaryKeyComparator
protected Comparator<Map<String,String>> priorYearAccountPrimaryKeyComparator
protected org.springframework.jdbc.core.RowMapper subFundGroupRowMapper
protected org.springframework.jdbc.core.RowMapper priorYearAccountRowMapper
public YearEndDaoJdbc()
public Set<Map<String,String>> findKeysOfMissingPriorYearAccountsForBalances(Integer balanceFiscalYear)
findKeysOfMissingPriorYearAccountsForBalances
in interface YearEndDao
balanceFiscalyear
- the fiscal year of balances to check for missing prior year accounts forYearEndDao.findKeysOfMissingPriorYearAccountsForBalances(java.lang.Integer)
protected Set<Map<String,String>> selectMissingPriorYearAccounts(List priorYearKeys)
priorYearKeys
- the prior year keys to search forpublic Set<Map<String,String>> findKeysOfMissingSubFundGroupsForBalances(Integer balanceFiscalYear)
findKeysOfMissingSubFundGroupsForBalances
in interface YearEndDao
balanceFiscalYear
- the fiscal year of the balance to find missing sub fund groups forYearEndDao.findKeysOfMissingSubFundGroupsForBalances(java.lang.Integer)
protected Set<Map<String,String>> selectMissingSubFundGroups(List subFundGroupKeys)
subFundGroupKeys
- the list of sub fund group keys to search throughpublic Set<Map<String,String>> findKeysOfMissingPriorYearAccountsForOpenEncumbrances(Integer encumbranceFiscalYear)
findKeysOfMissingPriorYearAccountsForOpenEncumbrances
in interface YearEndDao
encumbranceFiscalYear
- the fiscal year of balances to find missing encumbrance records forYearEndDao.findKeysOfMissingPriorYearAccountsForOpenEncumbrances(java.lang.Integer)
public Set<Map<String,String>> findKeysOfMissingSubFundGroupsForOpenEncumbrances(Integer encumbranceFiscalYear)
findKeysOfMissingSubFundGroupsForOpenEncumbrances
in interface YearEndDao
encumbranceFiscalYear
- the fiscal year of encumbrances to find missing sub fund group records forYearEndDao.findKeysOfMissingSubFundGroupsForOpenEncumbrances(java.lang.Integer)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.