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

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.LaborDaoOjb
All Implemented Interfaces:
LaborDao, org.kuali.rice.kns.dao.PlatformAwareDao, org.springframework.beans.factory.InitializingBean

public class LaborDaoOjb
extends org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
implements LaborDao

OJB Implementation of Labor Distribution DAO database queries.


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
LaborDaoOjb()
           
 
Method Summary
protected
<T> Iterator
getAccountStatus(Class<T> clazz, Map fieldValues, boolean isConsolidated)
           
protected
<T> org.apache.ojb.broker.query.Query
getAccountStatusQuery(Class<T> clazz, Map fieldValues, boolean isConsolidated)
           
 Iterator getCurrentFunds(Map fieldValues, boolean isConsolidated)
          This method returns current funds data
 Object getEncumbranceTotal(Map fieldValues)
          This method returns an encumberence total for a given selection criteria
 Collection getJuly1(Map fieldValues)
           
 Collection<July1PositionFunding> getJuly1PositionFunding(Map<String,String> fieldValues)
          This method returns current July1 Position Funding data
 void insert(org.kuali.rice.kns.bo.BusinessObject businessObject)
          Stores a business object without doing a update query.
 
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

LaborDaoOjb

public LaborDaoOjb()
Method Detail

getEncumbranceTotal

public Object getEncumbranceTotal(Map fieldValues)
Description copied from interface: LaborDao
This method returns an encumberence total for a given selection criteria

Specified by:
getEncumbranceTotal in interface LaborDao
Returns:
See Also:
LaborDao.getEncumbranceTotal(java.util.Map)

getJuly1

public Collection getJuly1(Map fieldValues)
Specified by:
getJuly1 in interface LaborDao
See Also:
LaborDao.getJuly1(java.util.Map)

getCurrentFunds

public Iterator getCurrentFunds(Map fieldValues,
                                boolean isConsolidated)
Description copied from interface: LaborDao
This method returns current funds data

Specified by:
getCurrentFunds in interface LaborDao
Returns:
Collection
See Also:
org.kuali.kfs.module.ld.dataaccess.LaborDao#getCurrentFunds(java.util.Map)

getAccountStatus

protected <T> Iterator getAccountStatus(Class<T> clazz,
                                        Map fieldValues,
                                        boolean isConsolidated)

getAccountStatusQuery

protected <T> org.apache.ojb.broker.query.Query getAccountStatusQuery(Class<T> clazz,
                                                                      Map fieldValues,
                                                                      boolean isConsolidated)

getJuly1PositionFunding

public Collection<July1PositionFunding> getJuly1PositionFunding(Map<String,String> fieldValues)
Description copied from interface: LaborDao
This method returns current July1 Position Funding data

Specified by:
getJuly1PositionFunding in interface LaborDao
Returns:
Collection
See Also:
LaborDao.getJuly1PositionFunding(java.util.Map)

insert

public void insert(org.kuali.rice.kns.bo.BusinessObject businessObject)
Description copied from interface: LaborDao
Stores a business object without doing a update query.

Specified by:
insert in interface LaborDao
Parameters:
businessObject - - Business Object to Store.
See Also:
LaborDao.insert(org.kuali.rice.kns.bo.BusinessObject)


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