|
||||||||||
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.module.ld.dataaccess.impl.LaborLedgerBalanceDaoOjb
public class LaborLedgerBalanceDaoOjb
This is the data access object for ledger balance.
LedgerBalance
Field Summary |
---|
Fields inherited from class org.springframework.dao.support.DaoSupport |
---|
logger |
Constructor Summary | |
---|---|
LaborLedgerBalanceDaoOjb()
|
Method Summary | |
---|---|
protected org.apache.ojb.broker.query.Criteria |
buildCriteriaFromMap(Map fieldValues,
LedgerBalance balance)
This method builds the query criteria based on the input field map |
void |
deleteLedgerBalancesPriorToYear(Integer fiscalYear,
String chartOfAccountsCode)
delete the ledger balance records that were posted prior to the given fiscal year |
List<List<String>> |
findAccountsInFundGroups(Integer fiscalYear,
Map<String,String> fieldValues,
List<String> subFundGroupCodes,
List<String> fundGroupCodes)
find the accounts (chart of accounts code + account number) in the given fund groups |
Iterator<LedgerBalance> |
findBalance(Map fieldValues,
boolean isConsolidated)
This method finds the records of balance entries according to input fields and values |
Iterator<LedgerBalance> |
findBalancesForFiscalYear(Integer year)
|
Iterator<LedgerBalance> |
findBalancesForFiscalYear(Integer fiscalYear,
Map<String,String> fieldValues)
|
Iterator<LedgerBalanceForYearEndBalanceForward> |
findBalancesForFiscalYear(Integer fiscalYear,
Map<String,String> fieldValues,
List<String> subFundGroupCodes,
List<String> fundGroupCodes)
|
List<LaborBalanceSummary> |
findBalanceSummary(Integer fiscalYear,
Collection<String> balanceTypes)
find the summary of the ledger balances for the given fiscal year and balance types |
protected Iterator<Object[]> |
findBalanceSummaryRawData(org.apache.ojb.broker.query.Criteria criteria)
|
Integer |
findCountGreaterOrEqualThan(Integer year)
|
List<EmployeeFunding> |
findCurrentEmployeeFunds(Map fieldValues)
retrieve the current funds according to the given field values |
List<LedgerBalance> |
findCurrentFunds(Map fieldValues)
retrieve the current funds according to the given field values |
protected Iterator<Object[]> |
findCurrentFundsRawData(Map fieldValues)
|
List<EmployeeFunding> |
findEncumbranceEmployeeFunds(Map fieldValues)
retrieve the encumbrance funds according to the given field values |
List<LedgerBalance> |
findEncumbranceFunds(Map fieldValues)
retrieve the encumbrance funds according to the given field values |
protected Iterator<Object[]> |
findEncumbranceFundsRawData(Map fieldValues)
|
protected Iterator<Object[]> |
findFundsRawData(org.apache.ojb.broker.query.Criteria criteria)
|
Collection<LedgerBalance> |
findLedgerBalances(Map<String,List<String>> fieldValues,
Map<String,List<String>> excludedFieldValues,
Set<Integer> fiscalYears,
List<String> balanceTypeList,
List<String> positionObjectGroupCodes)
find all ledger balances matching the given criteria within the given fiscal years |
protected List<String> |
getAttributeListForBalanceSummary(boolean isAttributeNameNeeded)
|
protected List<String> |
getAttributeListForFundingInquiry(boolean isAttributeNameNeeded)
|
protected org.apache.ojb.broker.query.ReportQueryByCriteria |
getBalanceCountQuery(Map fieldValues)
|
protected org.apache.ojb.broker.query.Query |
getBalanceQuery(Map fieldValues,
boolean isConsolidated)
|
Iterator |
getConsolidatedBalanceRecordCount(Map fieldValues)
This method gets the size collection of balance entry groups according to input fields and values if the entries are required to be consolidated |
protected List<String> |
getGroupByListForBalanceSummary()
|
protected List<String> |
getGroupByListForFundingInquiry()
|
protected EmployeeFunding |
marshalFundsAsEmployeeFunding(Object[] queryResult)
|
protected LaborBalanceSummary |
marshalFundsAsLaborBalanceSummary(Object[] queryResult)
|
protected LedgerBalance |
marshalFundsAsLedgerBalance(Object[] queryResult)
|
void |
save(LedgerBalance ledgerBalance)
save the given ledger balance into the underlying data store |
void |
setBalanceTypService(BalanceTypeService balanceTypService)
|
void |
setKualiConfigurationService(org.kuali.rice.kns.service.KualiConfigurationService kualiConfigurationService)
Sets the kualiConfigurationService attribute value. |
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 LaborLedgerBalanceDaoOjb()
Method Detail |
---|
public Iterator<LedgerBalance> findBalancesForFiscalYear(Integer year)
findBalancesForFiscalYear
in interface LaborLedgerBalanceDao
year
- the given fiscal year
LaborLedgerBalanceDao.findBalancesForFiscalYear(java.lang.Integer)
public Iterator<LedgerBalance> findBalancesForFiscalYear(Integer fiscalYear, Map<String,String> fieldValues)
findBalancesForFiscalYear
in interface LaborLedgerBalanceDao
fiscalYear
- the given fiscal yearfieldValues
- the given field values
LaborLedgerBalanceDao.findBalancesForFiscalYear(java.lang.Integer, java.util.Map)
public Iterator<LedgerBalance> findBalance(Map fieldValues, boolean isConsolidated)
LaborLedgerBalanceDao
findBalance
in interface LaborLedgerBalanceDao
fieldValues
- the input fields and valuesisConsolidated
- consolidation option is applied or not
LaborLedgerBalanceDao.findBalance(java.util.Map, boolean)
public Iterator getConsolidatedBalanceRecordCount(Map fieldValues)
LaborLedgerBalanceDao
getConsolidatedBalanceRecordCount
in interface LaborLedgerBalanceDao
fieldValues
- the input fields and values
LaborLedgerBalanceDao.getConsolidatedBalanceRecordCount(java.util.Map)
protected org.apache.ojb.broker.query.Query getBalanceQuery(Map fieldValues, boolean isConsolidated)
protected org.apache.ojb.broker.query.ReportQueryByCriteria getBalanceCountQuery(Map fieldValues)
protected org.apache.ojb.broker.query.Criteria buildCriteriaFromMap(Map fieldValues, LedgerBalance balance)
fieldValues
- balance
-
public List<LedgerBalance> findCurrentFunds(Map fieldValues)
LaborLedgerBalanceDao
findCurrentFunds
in interface LaborLedgerBalanceDao
fieldValues
- the given field values
LaborLedgerBalanceDao.findCurrentFunds(java.util.Map)
public List<LedgerBalance> findEncumbranceFunds(Map fieldValues)
LaborLedgerBalanceDao
findEncumbranceFunds
in interface LaborLedgerBalanceDao
fieldValues
- the given field values
LaborLedgerBalanceDao.findEncumbranceFunds(java.util.Map)
public List<EmployeeFunding> findCurrentEmployeeFunds(Map fieldValues)
LaborLedgerBalanceDao
findCurrentEmployeeFunds
in interface LaborLedgerBalanceDao
fieldValues
- the given field values
LaborLedgerBalanceDao.findCurrentEmployeeFunds(java.util.Map)
public List<EmployeeFunding> findEncumbranceEmployeeFunds(Map fieldValues)
LaborLedgerBalanceDao
findEncumbranceEmployeeFunds
in interface LaborLedgerBalanceDao
fieldValues
- the given field values
LaborLedgerBalanceDao.findEncumbranceEmployeeFunds(java.util.Map)
public List<LaborBalanceSummary> findBalanceSummary(Integer fiscalYear, Collection<String> balanceTypes)
LaborLedgerBalanceDao
findBalanceSummary
in interface LaborLedgerBalanceDao
fiscalYear
- the given fiscal yearbalanceTypes
- the given balance type codes
LaborLedgerBalanceDao.findBalanceSummary(java.lang.Integer, java.util.Collection)
public void save(LedgerBalance ledgerBalance)
LaborLedgerBalanceDao
save
in interface LaborLedgerBalanceDao
ledgerBalance
- the given ledger balanceLaborLedgerBalanceDao.save(org.kuali.kfs.module.ld.businessobject.LedgerBalance)
protected Iterator<Object[]> findCurrentFundsRawData(Map fieldValues)
protected Iterator<Object[]> findEncumbranceFundsRawData(Map fieldValues)
protected Iterator<Object[]> findFundsRawData(org.apache.ojb.broker.query.Criteria criteria)
protected Iterator<Object[]> findBalanceSummaryRawData(org.apache.ojb.broker.query.Criteria criteria)
protected LedgerBalance marshalFundsAsLedgerBalance(Object[] queryResult)
protected EmployeeFunding marshalFundsAsEmployeeFunding(Object[] queryResult)
protected LaborBalanceSummary marshalFundsAsLaborBalanceSummary(Object[] queryResult)
protected List<String> getGroupByListForFundingInquiry()
protected List<String> getAttributeListForFundingInquiry(boolean isAttributeNameNeeded)
protected List<String> getGroupByListForBalanceSummary()
protected List<String> getAttributeListForBalanceSummary(boolean isAttributeNameNeeded)
public void setKualiConfigurationService(org.kuali.rice.kns.service.KualiConfigurationService kualiConfigurationService)
kualiConfigurationService
- The kualiConfigurationService to set.public void setBalanceTypService(BalanceTypeService balanceTypService)
public Iterator<LedgerBalanceForYearEndBalanceForward> findBalancesForFiscalYear(Integer fiscalYear, Map<String,String> fieldValues, List<String> subFundGroupCodes, List<String> fundGroupCodes)
findBalancesForFiscalYear
in interface LaborLedgerBalanceDao
fiscalYear
- the given fiscal yearfieldValues
- the input fields and valuessubFundGroupCodes
- the given list of qualified sub fund group codesfundGroupCodes
- the given list of qualified group codes
LaborLedgerBalanceDao.findBalancesForFiscalYear(java.lang.Integer, java.util.Map,
java.util.List, java.util.List)
public List<List<String>> findAccountsInFundGroups(Integer fiscalYear, Map<String,String> fieldValues, List<String> subFundGroupCodes, List<String> fundGroupCodes)
LaborLedgerBalanceDao
findAccountsInFundGroups
in interface LaborLedgerBalanceDao
fiscalYear
- the given fiscal yearfieldValues
- the input fields and valuessubFundGroupCodes
- the given list of qualified sub fund group codesfundGroupCodes
- the given list of qualified group codes
LaborLedgerBalanceDao.findAccountsInFundGroups(java.lang.Integer, java.util.Map,
java.util.List, java.util.List)
public Collection<LedgerBalance> findLedgerBalances(Map<String,List<String>> fieldValues, Map<String,List<String>> excludedFieldValues, Set<Integer> fiscalYears, List<String> balanceTypeList, List<String> positionObjectGroupCodes)
LaborLedgerBalanceDao
findLedgerBalances
in interface LaborLedgerBalanceDao
fieldValues
- the given field valuesexcludedFieldValues
- the given field values that must not be matchedfiscalYears
- the given fiscal yearsbalanceTypeList
- the given balance type code listpositionObjectGroupCodes
- the specified position obejct group codes
LaborLedgerBalanceDao.findLedgerBalances(java.util.Map, java.util.Map, java.util.Set,
java.util.List, java.util.List)
public void deleteLedgerBalancesPriorToYear(Integer fiscalYear, String chartOfAccountsCode)
LaborLedgerBalanceDao
deleteLedgerBalancesPriorToYear
in interface LaborLedgerBalanceDao
fiscalYear
- the given fiscal yearchartOfAccountsCode
- the given chart of account codeLaborLedgerBalanceDao.deleteLedgerBalancesPriorToYear(java.lang.Integer, java.lang.String)
public Integer findCountGreaterOrEqualThan(Integer year)
findCountGreaterOrEqualThan
in interface LedgerBalanceBalancingDao
year
- the given university fiscal year
org.kuali.kfs.gl.dataaccess.BalancingDao#findCountGreaterOrEqualThan(java.lang.Integer)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |