org.kuali.kfs.pdp.dataaccess
Interface PaymentGroupDao

All Known Implementing Classes:
PaymentGroupDaoOjb

public interface PaymentGroupDao


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
 

Method Detail

getDisbursementNumbersByDisbursementType

List<Integer> getDisbursementNumbersByDisbursementType(Integer pid,
                                                       String disbursementType)
Get all the disbursement numbers for a specific process of a certain type

Parameters:
pid -
disbursementType -
Returns:

getDisbursementNumbersByDisbursementTypeAndBankCode

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

Parameters:
pid -
disbursementType -
bankCode - the bank code to find disbursement numbers for
Returns:

getAchPaymentsNeedingAdviceNotification

List<PaymentGroup> getAchPaymentsNeedingAdviceNotification()
Gets list of ach payments in which an advice notification has not been sent

Returns:
List

getDistinctBankCodesForProcessAndType

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

Parameters:
pid - payment process to query payment groups of
disbursementType - the type of disbursements to query
Returns:
a sorted List of bank codes


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