org.kuali.kfs.module.purap.document.dataaccess.impl
Class NegativePaymentRequestApprovalLimitDaoOjb

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.purap.document.dataaccess.impl.NegativePaymentRequestApprovalLimitDaoOjb
All Implemented Interfaces:
NegativePaymentRequestApprovalLimitDao, org.kuali.rice.kns.dao.PlatformAwareDao, org.springframework.beans.factory.InitializingBean

public class NegativePaymentRequestApprovalLimitDaoOjb
extends org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
implements NegativePaymentRequestApprovalLimitDao

OJB Implementation of NegativePaymentRequestApprovalLimitDao.


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
NegativePaymentRequestApprovalLimitDaoOjb()
           
 
Method Summary
protected  org.apache.ojb.broker.query.Criteria buildActiveCriteria()
          Builds a Criteria object for activeIndicator field set to true
 Collection<NegativePaymentRequestApprovalLimit> findAboveLimit(org.kuali.rice.kns.util.KualiDecimal limit)
          Retrieve a collection of NegativePaymentRequestApprovalLimit where the NegativePaymentRequestApprovalLimitAmount is greater than the limit passed in.
 Collection<NegativePaymentRequestApprovalLimit> findBelowLimit(org.kuali.rice.kns.util.KualiDecimal limit)
          Retrieve a collection of NegativePaymentRequestApprovalLimit where the NegativePaymentRequestApprovalLimitAmount is less than the limit passed in.
 Collection<NegativePaymentRequestApprovalLimit> findByChart(String chartCode)
          Find limits by chart.
 Collection<NegativePaymentRequestApprovalLimit> findByChartAndAccount(String chartCode, String accountNumber)
          Find limits by chart and account.
 Collection<NegativePaymentRequestApprovalLimit> findByChartAndOrganization(String chartCode, String organizationCode)
          Find limits by chart and organization.
 
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

NegativePaymentRequestApprovalLimitDaoOjb

public NegativePaymentRequestApprovalLimitDaoOjb()
Method Detail

findByChart

public Collection<NegativePaymentRequestApprovalLimit> findByChart(String chartCode)
Description copied from interface: NegativePaymentRequestApprovalLimitDao
Find limits by chart.

Specified by:
findByChart in interface NegativePaymentRequestApprovalLimitDao
Parameters:
chartCode - - chart of accounts code
Returns:
- collection of negative payment request approval limits
See Also:
NegativePaymentRequestApprovalLimitDao.findByChart(java.lang.String)

findByChartAndAccount

public Collection<NegativePaymentRequestApprovalLimit> findByChartAndAccount(String chartCode,
                                                                             String accountNumber)
Description copied from interface: NegativePaymentRequestApprovalLimitDao
Find limits by chart and account.

Specified by:
findByChartAndAccount in interface NegativePaymentRequestApprovalLimitDao
Parameters:
chartCode - - chart of accounts code
Returns:
- collection of negative payment request approval limits
See Also:
NegativePaymentRequestApprovalLimitDao.findByChartAndAccount(java.lang.String, java.lang.String)

findByChartAndOrganization

public Collection<NegativePaymentRequestApprovalLimit> findByChartAndOrganization(String chartCode,
                                                                                  String organizationCode)
Description copied from interface: NegativePaymentRequestApprovalLimitDao
Find limits by chart and organization.

Specified by:
findByChartAndOrganization in interface NegativePaymentRequestApprovalLimitDao
Parameters:
chartCode - - chart of accounts code
organizationCode - - organization code
Returns:
- collection of negative payment request approval limits
See Also:
NegativePaymentRequestApprovalLimitDao.findByChartAndOrganization(java.lang.String, java.lang.String)

findAboveLimit

public Collection<NegativePaymentRequestApprovalLimit> findAboveLimit(org.kuali.rice.kns.util.KualiDecimal limit)
Description copied from interface: NegativePaymentRequestApprovalLimitDao
Retrieve a collection of NegativePaymentRequestApprovalLimit where the NegativePaymentRequestApprovalLimitAmount is greater than the limit passed in. (Used for Testing.)

Specified by:
findAboveLimit in interface NegativePaymentRequestApprovalLimitDao
Parameters:
limit - - lower limit
Returns:
- collection of negative payment request approval limits
See Also:
NegativePaymentRequestApprovalLimitDao.findAboveLimit(org.kuali.rice.kns.util.KualiDecimal)

findBelowLimit

public Collection<NegativePaymentRequestApprovalLimit> findBelowLimit(org.kuali.rice.kns.util.KualiDecimal limit)
Description copied from interface: NegativePaymentRequestApprovalLimitDao
Retrieve a collection of NegativePaymentRequestApprovalLimit where the NegativePaymentRequestApprovalLimitAmount is less than the limit passed in. (Used for Testing.)

Specified by:
findBelowLimit in interface NegativePaymentRequestApprovalLimitDao
Parameters:
limit - - upper limit
Returns:
- collection of negative payment request approval limits
See Also:
NegativePaymentRequestApprovalLimitDao.findBelowLimit(org.kuali.rice.kns.util.KualiDecimal)

buildActiveCriteria

protected org.apache.ojb.broker.query.Criteria buildActiveCriteria()
Builds a Criteria object for activeIndicator field set to true

Returns:
Criteria


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