org.kuali.kfs.module.ld.dataaccess.impl
Class LaborCalculatedSalaryFoundationTrackerDaoOjb

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
          extended by org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
              extended by org.kuali.kfs.module.ld.dataaccess.impl.LaborCalculatedSalaryFoundationTrackerDaoOjb
All Implemented Interfaces:
LaborCalculatedSalaryFoundationTrackerDao, org.kuali.rice.kns.dao.PlatformAwareDao, org.springframework.beans.factory.InitializingBean

public class LaborCalculatedSalaryFoundationTrackerDaoOjb
extends org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
implements LaborCalculatedSalaryFoundationTrackerDao

This is the data access object for calculated salary foundation tracker

See Also:
org.kuali.kfs.module.ld.businessobject.CalculatedSalaryFoundationTracker

Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
LaborCalculatedSalaryFoundationTrackerDaoOjb()
           
 
Method Summary
protected  Iterator<Object[]> findConsolidatedCSFTrackerRawData(Map fieldValues, List<String> groupByList, List<String> attributeList)
           
 List<LaborCalculatedSalaryFoundationTracker> findCSFTrackers(Map fieldValues, boolean isConsolidated)
          This method finds the CSF trackers according to input fields and values
 List<AccountStatusBaseFunds> findCSFTrackersAsAccountStatusBaseFunds(Map fieldValues, boolean isConsolidated)
          This method finds the CSF trackers according to input fields and values and converts the trackers into AccountStatusBaseFunds
 List<EmployeeFunding> findCSFTrackersAsEmployeeFunding(Map fieldValues, boolean isConsolidated)
          This method finds the CSF trackers according to input fields and values and converts the trackers into EmployeeFunding
protected  Collection<LaborCalculatedSalaryFoundationTracker> findDetailedCSFTrackerRawData(Map fieldValues)
           
protected  List<String> getAttributeList(boolean isConsolidated)
           
protected  List<String> getAttributeListForCSFTracker(boolean isConsolidated, boolean isAttributeNameNeeded)
           
protected  List<String> getGroupByList(boolean isConsolidated)
           
protected  LaborCalculatedSalaryFoundationTracker marshalCSFTracker(Object[] queryResult)
           
protected  AccountStatusBaseFunds marshalCSFTrackerAsAccountStatusBaseFunds(Object[] queryResult)
           
protected  EmployeeFunding marshalCSFTrackerAsEmployeeFunding(Object[] queryResult)
           
 
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

LaborCalculatedSalaryFoundationTrackerDaoOjb

public LaborCalculatedSalaryFoundationTrackerDaoOjb()
Method Detail

findCSFTrackers

public List<LaborCalculatedSalaryFoundationTracker> findCSFTrackers(Map fieldValues,
                                                                    boolean isConsolidated)
Description copied from interface: LaborCalculatedSalaryFoundationTrackerDao
This method finds the CSF trackers according to input fields and values

Specified by:
findCSFTrackers in interface LaborCalculatedSalaryFoundationTrackerDao
Parameters:
fieldValues - the input fields and values
isConsolidated - consolidation option is applied or not
Returns:
a collection of CSF trackers
See Also:
org.kuali.kfs.module.ld.dataaccess.LaborBaseFundsDao#findCSFTrackers(java.util.Map, boolean)

findCSFTrackersAsAccountStatusBaseFunds

public List<AccountStatusBaseFunds> findCSFTrackersAsAccountStatusBaseFunds(Map fieldValues,
                                                                            boolean isConsolidated)
Description copied from interface: LaborCalculatedSalaryFoundationTrackerDao
This method finds the CSF trackers according to input fields and values and converts the trackers into AccountStatusBaseFunds

Specified by:
findCSFTrackersAsAccountStatusBaseFunds in interface LaborCalculatedSalaryFoundationTrackerDao
Parameters:
fieldValues - the input fields and values
isConsolidated - consolidation option is applied or not
Returns:
a collection of base budgets for Labor objects
See Also:
org.kuali.kfs.module.ld.dataaccess.LaborBaseFundsDao#findCSFTrackersAsAccountStatusBaseFunds(java.util.Map, boolean)

findCSFTrackersAsEmployeeFunding

public List<EmployeeFunding> findCSFTrackersAsEmployeeFunding(Map fieldValues,
                                                              boolean isConsolidated)
Description copied from interface: LaborCalculatedSalaryFoundationTrackerDao
This method finds the CSF trackers according to input fields and values and converts the trackers into EmployeeFunding

Specified by:
findCSFTrackersAsEmployeeFunding in interface LaborCalculatedSalaryFoundationTrackerDao
Parameters:
fieldValues - the input fields and values
isConsolidated - consolidation option is applied or not
Returns:
a collection of CSF trackers as EmployeeFunding
See Also:
LaborCalculatedSalaryFoundationTrackerDao.findCSFTrackersAsEmployeeFunding(java.util.Map, boolean)

findConsolidatedCSFTrackerRawData

protected Iterator<Object[]> findConsolidatedCSFTrackerRawData(Map fieldValues,
                                                               List<String> groupByList,
                                                               List<String> attributeList)

findDetailedCSFTrackerRawData

protected Collection<LaborCalculatedSalaryFoundationTracker> findDetailedCSFTrackerRawData(Map fieldValues)

marshalCSFTracker

protected LaborCalculatedSalaryFoundationTracker marshalCSFTracker(Object[] queryResult)

marshalCSFTrackerAsAccountStatusBaseFunds

protected AccountStatusBaseFunds marshalCSFTrackerAsAccountStatusBaseFunds(Object[] queryResult)

marshalCSFTrackerAsEmployeeFunding

protected EmployeeFunding marshalCSFTrackerAsEmployeeFunding(Object[] queryResult)

getGroupByList

protected List<String> getGroupByList(boolean isConsolidated)

getAttributeList

protected List<String> getAttributeList(boolean isConsolidated)

getAttributeListForCSFTracker

protected List<String> getAttributeListForCSFTracker(boolean isConsolidated,
                                                     boolean isAttributeNameNeeded)


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.