org.kuali.kfs.pdp.service.impl
Class PaymentGroupServiceImpl

java.lang.Object
  extended by org.kuali.kfs.pdp.service.impl.PaymentGroupServiceImpl
All Implemented Interfaces:
PaymentGroupService

@Transactional
public class PaymentGroupServiceImpl
extends Object
implements PaymentGroupService


Constructor Summary
PaymentGroupServiceImpl()
           
 
Method Summary
 PaymentGroup get(Integer id)
           
 List<PaymentGroup> getAchPaymentsNeedingAdviceNotification()
          Gets list of ach payments in which an advice notification has not been sent
 List getByBatchId(Integer batchId)
           
 List getByDisbursementNumber(Integer disbursementNbr)
           
 Iterator getByDisbursementTypeStatusCode(String disbursementType, String paymentStatusCode)
          Get all payment groups by a disbursement type code and status code
 Iterator getByProcess(PaymentProcess p)
          Get all payment groups by Payment Process object
 List<Integer> getDisbursementNumbersByDisbursementType(Integer pid, String disbursementType)
          Get all payment groups by Payment Process Id/Disbursement Type
 List<Integer> getDisbursementNumbersByDisbursementTypeAndBankCode(Integer pid, String disbursementType, String bankCode)
          Get all payment groups by Payment Process Id/Disbursement Type for a given bank code
 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
 int getSortGroupId(PaymentGroup paymentGroup)
          Gets the sort group id
 String getSortGroupName(int sortGroupId)
          Gets the sort group name
protected  Map<Integer,org.kuali.rice.kns.service.ParameterEvaluator> getSortGroupSelectionParameters()
          Gets the sort group parameters
 void processCancelledGroup(PaymentGroup group, Date processDate)
          Mark a cancelled group as processed
 void processPaidGroup(PaymentGroup group, Date processDate)
          Mark a paid group as processed
 void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
          Sets the business object service
 void setDataDictionaryService(org.kuali.rice.kns.service.DataDictionaryService dataDictionaryService)
          Sets DataDictionaryService
 void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
          Sets the parameter service
 void setPaymentGroupDao(PaymentGroupDao c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PaymentGroupServiceImpl

public PaymentGroupServiceImpl()
Method Detail

setPaymentGroupDao

public void setPaymentGroupDao(PaymentGroupDao c)

getDisbursementNumbersByDisbursementType

public List<Integer> getDisbursementNumbersByDisbursementType(Integer pid,
                                                              String disbursementType)
Description copied from interface: PaymentGroupService
Get all payment groups by Payment Process Id/Disbursement Type

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

getDisbursementNumbersByDisbursementTypeAndBankCode

public List<Integer> getDisbursementNumbersByDisbursementTypeAndBankCode(Integer pid,
                                                                         String disbursementType,
                                                                         String bankCode)
Description copied from interface: PaymentGroupService
Get all payment groups by Payment Process Id/Disbursement Type for a given bank code

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

getDistinctBankCodesForProcessAndType

public List<String> getDistinctBankCodesForProcessAndType(Integer pid,
                                                          String disbursementType)
Description copied from interface: PaymentGroupService
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 PaymentGroupService
Parameters:
pid - payment process to query payment groups of
disbursementType - the type of disbursements to query
Returns:
a sorted List of bank codes
See Also:
PaymentGroupService.getDistinctBankCodesForProcessAndType(java.lang.Integer, java.lang.String)

getByDisbursementTypeStatusCode

public Iterator getByDisbursementTypeStatusCode(String disbursementType,
                                                String paymentStatusCode)
Description copied from interface: PaymentGroupService
Get all payment groups by a disbursement type code and status code

Specified by:
getByDisbursementTypeStatusCode in interface PaymentGroupService
Returns:
See Also:
PaymentGroupService.getByDisbursementTypeStatusCode(java.lang.String, java.lang.String)

getByProcess

public Iterator getByProcess(PaymentProcess p)
Description copied from interface: PaymentGroupService
Get all payment groups by Payment Process object

Specified by:
getByProcess in interface PaymentGroupService
Returns:
See Also:
PaymentGroupService.getByProcess(org.kuali.kfs.pdp.businessobject.PaymentProcess)

get

public PaymentGroup get(Integer id)
Specified by:
get in interface PaymentGroupService
See Also:
PaymentGroupService.get(java.lang.Integer)

getByBatchId

public List getByBatchId(Integer batchId)
Specified by:
getByBatchId in interface PaymentGroupService
See Also:
PaymentGroupService.getByBatchId(java.lang.Integer)

getByDisbursementNumber

public List getByDisbursementNumber(Integer disbursementNbr)
Specified by:
getByDisbursementNumber in interface PaymentGroupService
See Also:
PaymentGroupService.getByDisbursementNumber(java.lang.Integer)

processPaidGroup

public void processPaidGroup(PaymentGroup group,
                             Date processDate)
Description copied from interface: PaymentGroupService
Mark a paid group as processed

Specified by:
processPaidGroup in interface PaymentGroupService
See Also:
PaymentGroupService.processPaidGroup(org.kuali.kfs.pdp.businessobject.PaymentGroup, java.sql.Date)

processCancelledGroup

public void processCancelledGroup(PaymentGroup group,
                                  Date processDate)
Description copied from interface: PaymentGroupService
Mark a cancelled group as processed

Specified by:
processCancelledGroup in interface PaymentGroupService
See Also:
PaymentGroupService.processCancelledGroup(org.kuali.kfs.pdp.businessobject.PaymentGroup, java.sql.Date)

setParameterService

public void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
Description copied from interface: PaymentGroupService
Sets the parameter service

Specified by:
setParameterService in interface PaymentGroupService
See Also:
org.kuali.kfs.pdp.service.PaymentGroupService#setParameterService(org.kuali.kfs.sys.service.ParameterService)

getSortGroupId

public int getSortGroupId(PaymentGroup paymentGroup)
Description copied from interface: PaymentGroupService
Gets the sort group id

Specified by:
getSortGroupId in interface PaymentGroupService
Returns:
See Also:
PaymentGroupService.getSortGroupId(org.kuali.kfs.pdp.businessobject.PaymentGroup)

getSortGroupName

public String getSortGroupName(int sortGroupId)
Description copied from interface: PaymentGroupService
Gets the sort group name

Specified by:
getSortGroupName in interface PaymentGroupService
Returns:
See Also:
PaymentGroupService.getSortGroupName(int)

getAchPaymentsNeedingAdviceNotification

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

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

getSortGroupSelectionParameters

protected Map<Integer,org.kuali.rice.kns.service.ParameterEvaluator> getSortGroupSelectionParameters()
Gets the sort group parameters

Returns:

setDataDictionaryService

public void setDataDictionaryService(org.kuali.rice.kns.service.DataDictionaryService dataDictionaryService)
Description copied from interface: PaymentGroupService
Sets DataDictionaryService

Specified by:
setDataDictionaryService in interface PaymentGroupService

setBusinessObjectService

public void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
Sets the business object service

Parameters:
businessObjectService -


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