@Transactional public class BatchMaintenanceServiceImpl extends Object implements BatchMaintenanceService
Constructor and Description |
---|
BatchMaintenanceServiceImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
cancelPendingBatch(Integer paymentBatchId,
String note,
org.kuali.rice.kim.api.identity.Person user)
cancelPendingBatch() This method cancels a pending batch by canceling each payment in the batch if the following rules apply.
|
void |
changeStatus(PaymentGroup paymentGroup,
String newPaymentStatus,
String changeStatus,
String note,
org.kuali.rice.kim.api.identity.Person user)
This method changes the status for PaymentGroup and PaymentGroupHistory.
|
boolean |
doBatchPaymentsHaveHeldStatus(Integer batchId)
This method checks if batch payments have held status.
|
boolean |
doBatchPaymentsHaveOpenOrHeldStatus(Integer batchId)
This method checks if batch payments has open or held payments.
|
boolean |
doBatchPaymentsHaveOpenStatus(Integer batchId)
This method checks if the batch has open payments.
|
boolean |
holdPendingBatch(Integer paymentBatchId,
String note,
org.kuali.rice.kim.api.identity.Person user)
holdPendingBatch() This method holds a pending batch by holding each payment in the batch if the following rules apply.
|
boolean |
removeBatchHold(Integer paymentBatchId,
String note,
org.kuali.rice.kim.api.identity.Person user)
removeBatchHold() This method removes holds on batches of payments if the following rules apply.
|
void |
setBatchMaintenanceDao(BatchMaintenanceDao batchMaintenanceDao)
This method sets the batchMaintenanceDao
|
void |
setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
Sets the business object service
|
void |
setPaymentGroupService(PaymentGroupService paymentGroupService) |
public BatchMaintenanceServiceImpl()
public void changeStatus(PaymentGroup paymentGroup, String newPaymentStatus, String changeStatus, String note, org.kuali.rice.kim.api.identity.Person user)
paymentGroup
- the PaymentGroup to change the statusnewPaymentStatus
- the new payment statuschangeStatus
- the payment change status codenote
- a note from the userpublic boolean cancelPendingBatch(Integer paymentBatchId, String note, org.kuali.rice.kim.api.identity.Person user)
cancelPendingBatch
in interface BatchMaintenanceService
paymentBatchId
- (Integer) Primary key of the Pending Batch to be canceled.note
- (String) Change note text entered by user.user
- (User) Actor making change.public boolean holdPendingBatch(Integer paymentBatchId, String note, org.kuali.rice.kim.api.identity.Person user)
holdPendingBatch
in interface BatchMaintenanceService
paymentBatchId
- (Integer) Primary key of the Pending Batch to be held.note
- (String) Change note text entered by user.user
- (User) Actor making change.public boolean removeBatchHold(Integer paymentBatchId, String note, org.kuali.rice.kim.api.identity.Person user)
removeBatchHold
in interface BatchMaintenanceService
paymentBatchId
- (Integer) Primary key of the Pending Batch to be released from hold.note
- (String) Change note text entered by user.user
- (User) Actor making change.public boolean doBatchPaymentsHaveOpenStatus(Integer batchId)
BatchMaintenanceService
doBatchPaymentsHaveOpenStatus
in interface BatchMaintenanceService
batchId
- the id of the batchorg.kuali.ole.pdp.document.service.BatchMaintenanceService#doBatchPaymentsHaveOpenStatus(java.lang.Integer)
public boolean doBatchPaymentsHaveHeldStatus(Integer batchId)
BatchMaintenanceService
doBatchPaymentsHaveHeldStatus
in interface BatchMaintenanceService
batchId
- the id of the batchorg.kuali.ole.pdp.document.service.BatchMaintenanceService#doBatchPaymentsHaveHeldStatus(java.lang.Integer)
public boolean doBatchPaymentsHaveOpenOrHeldStatus(Integer batchId)
BatchMaintenanceService
doBatchPaymentsHaveOpenOrHeldStatus
in interface BatchMaintenanceService
batchId
- the id of the batchorg.kuali.ole.pdp.document.service.BatchMaintenanceService#doBatchPaymentsHaveOpenOrHeldStatus(java.lang.Integer)
public void setBatchMaintenanceDao(BatchMaintenanceDao batchMaintenanceDao)
batchMaintenanceDao
- BatchMaintenanceDaopublic void setBusinessObjectService(org.kuali.rice.krad.service.BusinessObjectService businessObjectService)
businessObjectService
- public void setPaymentGroupService(PaymentGroupService paymentGroupService)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.