|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.kfs.pdp.service.impl.BatchMaintenanceServiceImpl
@Transactional public class BatchMaintenanceServiceImpl
This class provides methods for Batch maintenance.
Constructor Summary | |
---|---|
BatchMaintenanceServiceImpl()
|
Method Summary | |
---|---|
boolean |
cancelPendingBatch(Integer paymentBatchId,
String note,
org.kuali.rice.kim.bo.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.bo.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.bo.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.bo.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.kns.service.BusinessObjectService businessObjectService)
Sets the business object service |
void |
setPaymentGroupService(PaymentGroupService paymentGroupService)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BatchMaintenanceServiceImpl()
Method Detail |
---|
public void changeStatus(PaymentGroup paymentGroup, String newPaymentStatus, String changeStatus, String note, org.kuali.rice.kim.bo.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.bo.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.bo.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.bo.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 batch
org.kuali.kfs.pdp.document.service.BatchMaintenanceService#doBatchPaymentsHaveOpenStatus(java.lang.Integer)
public boolean doBatchPaymentsHaveHeldStatus(Integer batchId)
BatchMaintenanceService
doBatchPaymentsHaveHeldStatus
in interface BatchMaintenanceService
batchId
- the id of the batch
org.kuali.kfs.pdp.document.service.BatchMaintenanceService#doBatchPaymentsHaveHeldStatus(java.lang.Integer)
public boolean doBatchPaymentsHaveOpenOrHeldStatus(Integer batchId)
BatchMaintenanceService
doBatchPaymentsHaveOpenOrHeldStatus
in interface BatchMaintenanceService
batchId
- the id of the batch
org.kuali.kfs.pdp.document.service.BatchMaintenanceService#doBatchPaymentsHaveOpenOrHeldStatus(java.lang.Integer)
public void setBatchMaintenanceDao(BatchMaintenanceDao batchMaintenanceDao)
batchMaintenanceDao
- BatchMaintenanceDaopublic void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService businessObjectService)
businessObjectService
- public void setPaymentGroupService(PaymentGroupService paymentGroupService)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |