org.kuali.kfs.pdp.dataaccess.impl
Class PaymentGroupDaoOjb

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.pdp.dataaccess.impl.PaymentGroupDaoOjb
All Implemented Interfaces:
PaymentGroupDao, org.kuali.rice.kns.dao.PlatformAwareDao, org.springframework.beans.factory.InitializingBean

public class PaymentGroupDaoOjb
extends org.kuali.rice.kns.dao.impl.PlatformAwareDaoBaseOjb
implements PaymentGroupDao


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
PaymentGroupDaoOjb()
           
 
Method Summary
 List<PaymentGroup> getAchPaymentsNeedingAdviceNotification()
          Gets list of ach payments in which an advice notification has not been sent
 List<Integer> getDisbursementNumbersByDisbursementType(Integer pid, String disbursementType)
          Get all the disbursement numbers for a specific process of a certain type
 List<Integer> getDisbursementNumbersByDisbursementTypeAndBankCode(Integer pid, String disbursementType, String bankCode)
          Get all the disbursement numbers for a specific process of a certain type for a certain bank
 List<String> getDistinctBankCodesForProcessAndType(Integer pid, String disbursementType)
          Given a process id and a disbursement type, finds a distinct list of bank codes used by payment groups within that payment process
 
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

PaymentGroupDaoOjb

public PaymentGroupDaoOjb()
Method Detail

getDisbursementNumbersByDisbursementType

public List<Integer> getDisbursementNumbersByDisbursementType(Integer pid,
                                                              String disbursementType)
Description copied from interface: PaymentGroupDao
Get all the disbursement numbers for a specific process of a certain type

Specified by:
getDisbursementNumbersByDisbursementType in interface PaymentGroupDao
Returns:
See Also:
PaymentGroupDao.getDisbursementNumbersByDisbursementType(java.lang.Integer, java.lang.String)

getDisbursementNumbersByDisbursementTypeAndBankCode

public List<Integer> getDisbursementNumbersByDisbursementTypeAndBankCode(Integer pid,
                                                                         String disbursementType,
                                                                         String bankCode)
Description copied from interface: PaymentGroupDao
Get all the disbursement numbers for a specific process of a certain type for a certain bank

Specified by:
getDisbursementNumbersByDisbursementTypeAndBankCode in interface PaymentGroupDao
bankCode - the bank code to find disbursement numbers for
Returns:
See Also:
org.kuali.kfs.pdp.dataaccess.PaymentGroupDao#getDisbursementNumbersByDisbursementType(java.lang.Integer, java.lang.String, java.lang.String)

getDistinctBankCodesForProcessAndType

public List<String> getDistinctBankCodesForProcessAndType(Integer pid,
                                                          String disbursementType)
Given a process id and a disbursement type, finds a distinct list of bank codes used by payment groups within that payment process

Specified by:
getDistinctBankCodesForProcessAndType in interface PaymentGroupDao
Parameters:
pid - payment process to query payment groups of
disbursementType - the type of disbursements to query
Returns:
a sorted List of bank codes

getAchPaymentsNeedingAdviceNotification

public List<PaymentGroup> getAchPaymentsNeedingAdviceNotification()
Description copied from interface: PaymentGroupDao
Gets list of ach payments in which an advice notification has not been sent

Specified by:
getAchPaymentsNeedingAdviceNotification in interface PaymentGroupDao
Returns:
List
See Also:
PaymentGroupDao.getAchPaymentsNeedingAdviceNotification()


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