@Transactional public class PaymentMaintenanceServiceImpl extends Object implements PaymentMaintenanceService
PaymentMaintenanceService| Constructor and Description | 
|---|
| PaymentMaintenanceServiceImpl() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | cancelDisbursement(Integer paymentGroupId,
                                    Integer paymentDetailId,
                                    String note,
                                    org.kuali.rice.kim.api.identity.Person user)This method cancels all disbursements with the same disbursment number as that of the given payment id
 if the following rules apply. | 
| boolean | cancelPendingPayment(Integer paymentGroupId,
                                        Integer paymentDetailId,
                                        String note,
                                        org.kuali.rice.kim.api.identity.Person user)This method cancels the pending payment of the given payment id if the following rules apply. | 
| boolean | cancelReissueDisbursement(Integer paymentGroupId,
                                                  String note,
                                                  org.kuali.rice.kim.api.identity.Person user)This method cancels and re-opens all disbursements with the same disbursment number as that of
 the given payment id if the following rules apply. | 
| void | changeImmediateFlag(Integer paymentGroupId,
                                      String note,
                                      org.kuali.rice.kim.api.identity.Person user)This method changes the immediate flag | 
| protected void | changeStatus(PaymentGroup paymentGroup,
                        String newPaymentStatus,
                        String changeStatus,
                        String note,
                        org.kuali.rice.kim.api.identity.Person user)This method changes status for a payment group. | 
| protected void | changeStatus(PaymentGroup paymentGroup,
                        String newPaymentStatus,
                        String changeStatus,
                        String note,
                        org.kuali.rice.kim.api.identity.Person user,
                        PaymentGroupHistory paymentGroupHistory)This method changes the state of a paymentGroup. | 
| protected PaymentDetail | getPaymentDetail(Integer paymentDetailId)Gets DisbursementVoucher by the primary key | 
| protected PaymentGroup | getPaymentGroup(org.kuali.rice.core.api.util.type.KualiInteger paymentGroupId)Gets PaymentGroup by the primary key | 
| boolean | holdPendingPayment(Integer paymentGroupId,
                                    String note,
                                    org.kuali.rice.kim.api.identity.Person user)This method holds pending payment of the given payment id if the following rules apply. | 
| boolean | reissueDisbursement(Integer paymentGroupId,
                                      String note,
                                      org.kuali.rice.kim.api.identity.Person user)This method re-opens all disbursements with the same disbursment number as that of
 the given payment id if the following rules apply. | 
| boolean | removeHoldPendingPayment(Integer paymentGroupId,
                                                String note,
                                                org.kuali.rice.kim.api.identity.Person user)This method removes holds on pending payments of the given payment id if the following rules
 apply. | 
| void | setBankService(BankService bankService)Sets the bankService attribute value. | 
| void | setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)Sets the business object service | 
| void | setEmailService(PdpEmailService emailService) | 
| void | setGlPendingTransactionService(PendingTransactionService service)inject | 
| void | setMailService(org.kuali.rice.krad.service.MailService mailService)inject | 
| void | setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService) | 
| void | setPaymentDetailDao(PaymentDetailDao dao)inject | 
| void | setPaymentGroupDao(PaymentGroupDao dao)inject | 
| void | setPaymentGroupService(PaymentGroupService paymentGroupService)Sets the payment group service | 
| void | setPdpAuthorizationService(PdpAuthorizationService pdpAuthorizationService) | 
public PaymentMaintenanceServiceImpl()
protected void changeStatus(PaymentGroup paymentGroup, String newPaymentStatus, String changeStatus, String note, org.kuali.rice.kim.api.identity.Person user)
paymentGroup - the payment groupnewPaymentStatus - the new payment statuschangeStatus - the changed payment statusnote - a note for payment status changeuser - the user that changed the statusprotected void changeStatus(PaymentGroup paymentGroup, String newPaymentStatus, String changeStatus, String note, org.kuali.rice.kim.api.identity.Person user, PaymentGroupHistory paymentGroupHistory)
paymentGroup - the payment group to change the state fornewPaymentStatus - the new payment statuschangeStatus - the status that is changednote - the note entered by the useruser - the user that changed thepaymentGroupHistory - public boolean cancelPendingPayment(Integer paymentGroupId, Integer paymentDetailId, String note, org.kuali.rice.kim.api.identity.Person user)
PaymentMaintenanceServicecancelPendingPayment in interface PaymentMaintenanceServicepaymentGroupId - Primary key of the PaymentGroup that the Payment Detail to be canceled belongs to.paymentDetailId - Primary key of the PaymentDetail that was actually canceled.note - Change note text entered by user.user - The user that cancels the paymentorg.kuali.ole.pdp.document.service.PaymentMaintenanceService#cancelPendingPayment(java.lang.Integer, java.lang.Integer,
      java.lang.String, org.kuali.rice.kim.api.identity.Person)public boolean holdPendingPayment(Integer paymentGroupId, String note, org.kuali.rice.kim.api.identity.Person user)
PaymentMaintenanceServiceholdPendingPayment in interface PaymentMaintenanceServicepaymentGroupId - Primary key of the PaymentGroup that the Payment Detail to be held belongs to.note - Change note text entered by user.user - The user that holds the paymentorg.kuali.ole.pdp.document.service.PaymentMaintenanceService#holdPendingPayment(java.lang.Integer, java.lang.String,
      org.kuali.rice.kim.api.identity.Person)public boolean removeHoldPendingPayment(Integer paymentGroupId, String note, org.kuali.rice.kim.api.identity.Person user)
PaymentMaintenanceServiceremoveHoldPendingPayment in interface PaymentMaintenanceServicepaymentGroupId - Primary key of the PaymentGroup that the Payment Detail to be un-held belongs tonote - Change note text entered by user.user - the user that removes hold on paymentorg.kuali.ole.pdp.document.service.PaymentMaintenanceService#removeHoldPendingPayment(java.lang.Integer,
      java.lang.String, org.kuali.rice.kim.api.identity.Person)public void changeImmediateFlag(Integer paymentGroupId, String note, org.kuali.rice.kim.api.identity.Person user)
PaymentMaintenanceServicechangeImmediateFlag in interface PaymentMaintenanceServicepaymentGroupId - the payment group idnote - the change textuser - the user that changes the immediate flagorg.kuali.ole.pdp.document.service.PaymentMaintenanceService#changeImmediateFlag(java.lang.Integer, java.lang.String,
      org.kuali.rice.kim.api.identity.Person)public boolean cancelDisbursement(Integer paymentGroupId, Integer paymentDetailId, String note, org.kuali.rice.kim.api.identity.Person user)
PaymentMaintenanceServicecancelDisbursement in interface PaymentMaintenanceServicepaymentGroupId - Primary key of the PaymentGroup that the Payment Detail to be cancelled belongs to.paymentDetailId - Primary key of the PaymentDetail that was actually cancelled.note - Change note text entered by user.user - The user that cancels the disbursementorg.kuali.ole.pdp.document.service.PaymentMaintenanceService#cancelDisbursement(java.lang.Integer, java.lang.Integer,
      java.lang.String, org.kuali.rice.kim.api.identity.Person)public boolean reissueDisbursement(Integer paymentGroupId, String note, org.kuali.rice.kim.api.identity.Person user)
PaymentMaintenanceServicereissueDisbursement in interface PaymentMaintenanceServicepaymentGroupId - Primary key of the PaymentGroup that the Payment Detail to be canceled/reissued belongs to.note - Change note text entered by user.user - The user that cancels/reissues disbursementorg.kuali.ole.pdp.document.service.PaymentMaintenanceService#reissueDisbursement(java.lang.Integer,
      java.lang.String, org.kuali.rice.kim.api.identity.Person)public boolean cancelReissueDisbursement(Integer paymentGroupId, String note, org.kuali.rice.kim.api.identity.Person user)
PaymentMaintenanceServicecancelReissueDisbursement in interface PaymentMaintenanceServicepaymentGroupId - Primary key of the PaymentGroup that the Payment Detail to be canceled/reissued belongs to.note - Change note text entered by user.user - The user that cancels/reissues disbursementorg.kuali.ole.pdp.document.service.PaymentMaintenanceService#cancelReissueDisbursement(java.lang.Integer,
      java.lang.String, org.kuali.rice.kim.api.identity.Person)protected PaymentDetail getPaymentDetail(Integer paymentDetailId)
paymentDetailId - protected PaymentGroup getPaymentGroup(org.kuali.rice.core.api.util.type.KualiInteger paymentGroupId)
paymentDetailId - public void setPaymentGroupDao(PaymentGroupDao dao)
dao - public void setPaymentDetailDao(PaymentDetailDao dao)
dao - public void setGlPendingTransactionService(PendingTransactionService service)
service - public void setMailService(org.kuali.rice.krad.service.MailService mailService)
service - public void setParameterService(org.kuali.rice.coreservice.framework.parameter.ParameterService parameterService)
public void setBankService(BankService bankService)
bankService - The bankService to set.public void setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
businessObjectService - public void setPaymentGroupService(PaymentGroupService paymentGroupService)
paymentGroupService - public void setEmailService(PdpEmailService emailService)
public void setPdpAuthorizationService(PdpAuthorizationService pdpAuthorizationService)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.