|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.kfs.pdp.service.impl.FormatServiceImpl
@Transactional public class FormatServiceImpl
| Nested Class Summary | |
|---|---|
protected class |
FormatServiceImpl.PaymentInfo
This class holds disbursement number and noteLines info for payment group disbursement number assignment and combine checks. |
| Constructor Summary | |
|---|---|
FormatServiceImpl()
Constructs a FormatServiceImpl.java. |
|
| Method Summary | |
|---|---|
protected org.kuali.rice.kns.util.KualiInteger |
assignDisbursementNumber(String campus,
DisbursementNumberRange range,
PaymentGroup paymentGroup,
FormatProcessSummary postFormatProcessSummary)
This method gets a new disbursement number and sets it on the payment group and process summary. |
protected boolean |
assignDisbursementNumbersAndCombineChecks(PaymentProcess paymentProcess,
FormatProcessSummary postFormatProcessSummary)
This method assigns disbursement numbers and tries to combine payment groups with disbursement type check if possible. |
void |
clearUnfinishedFormat(Integer processId)
If the start format process was run and the user doesn't want to continue, this needs to be run to set all payments back to open. |
void |
endFormatProcess(String campus)
This method removes the format process from the format process table |
protected void |
extractChecks()
runs the extract process. |
List<CustomerProfile> |
getAllCustomerProfiles()
This method gets all customer profiles |
List<DisbursementNumberRange> |
getAllDisbursementNumberRanges()
This method gets all disbursement number ranges |
org.kuali.rice.kns.service.BusinessObjectService |
getBusinessObjectService()
Gets the businessObjectService attribute. |
FormatSelection |
getDataForFormat(org.kuali.rice.kim.bo.Person user)
This method gets the data for the format process |
protected ExtractPaymentService |
getExtractPaymentService()
Gets the extractPaymentService attribute. |
Date |
getFormatProcessStartDate(String campus)
This method gets the format process by campus code and returns the start date for that process. |
protected int |
getMaxNoteLines()
This method gets the maximum number of lines in a note. |
protected org.kuali.rice.kim.service.PersonService<org.kuali.rice.kim.bo.Person> |
getPersonService()
|
protected DisbursementNumberRange |
getRange(List<DisbursementNumberRange> ranges,
Bank bank,
String disbursementTypeCode)
Given the List of disbursement number ranges for the processing campus, finds matches for the bank code and disbursement type code. |
void |
performFormat(Integer processId)
This method formats the data for check printing. |
protected boolean |
processPaymentGroup(PaymentGroup paymentGroup,
PaymentProcess paymentProcess)
This method processes the payment group data. |
void |
resetFormatPayments(Integer processId)
If the start format process was run and errored out, this needs to be run to allow formats to continue to function |
void |
setAchService(AchService as)
This method sets the achService |
void |
setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService bos)
This method sets the businessObjectService |
void |
setDateTimeService(org.kuali.rice.kns.service.DateTimeService dateTimeService)
This method sets the dateTimeService |
void |
setExtractPaymentService(ExtractPaymentService extractPaymentService)
Sets the extractPaymentService attribute value. |
void |
setFormatPaymentDao(FormatPaymentDao fpd)
This method sets the formatPaymentDao |
void |
setGlPendingTransactionService(PendingTransactionService gs)
This method sets the glPendingTransactionService |
void |
setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
This method sets the parameterService |
void |
setPaymentDetailDao(PaymentDetailDao pdd)
This method sets the paymentDetailDao |
void |
setPaymentGroupDao(PaymentGroupDao pgd)
This method sets the paymentGroupDao |
void |
setPaymentGroupService(PaymentGroupService paymentGroupService)
This method sets the paymentGroupService |
void |
setProcessDao(ProcessDao pd)
This method sets the processDao |
void |
setSchedulerService(SchedulerService ss)
This method sets the schedulerService |
FormatProcessSummary |
startFormatProcess(org.kuali.rice.kim.bo.Person user,
String campus,
List<CustomerProfile> customers,
Date paydate,
String paymentTypes)
This method marks the process log so a format only happens once per campus. |
protected boolean |
validateAndUpdatePaymentGroupBankCode(PaymentGroup paymentGroup,
DisbursementType disbursementType,
CustomerProfile customer)
Verifies a valid bank is set on the payment group. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FormatServiceImpl()
| Method Detail |
|---|
public FormatSelection getDataForFormat(org.kuali.rice.kim.bo.Person user)
FormatService
getDataForFormat in interface FormatServiceuser - the user that initiated the format process
org.kuali.kfs.pdp.service.FormatProcessService#getDataForFormat(org.kuali.rice.kim.bo.Person)public Date getFormatProcessStartDate(String campus)
FormatService
getFormatProcessStartDate in interface FormatServicecampus - the campus code
FormatService.getFormatProcessStartDate(java.lang.String)
public FormatProcessSummary startFormatProcess(org.kuali.rice.kim.bo.Person user,
String campus,
List<CustomerProfile> customers,
Date paydate,
String paymentTypes)
FormatService
startFormatProcess in interface FormatServiceFormatService.startFormatProcess(org.kuali.rice.kim.bo.Person, java.lang.String,
java.util.List, java.util.Date, java.lang.String)protected int getMaxNoteLines()
public void performFormat(Integer processId)
throws FormatException
FormatService
performFormat in interface FormatServiceFormatExceptionFormatService.performFormat(java.lang.Integer)
protected boolean processPaymentGroup(PaymentGroup paymentGroup,
PaymentProcess paymentProcess)
paymentGroup - paymentProcess -
protected boolean validateAndUpdatePaymentGroupBankCode(PaymentGroup paymentGroup,
DisbursementType disbursementType,
CustomerProfile customer)
paymentGroup - group to set bank ondisbursementType - type of disbursement for given payment groupcustomer - customer profile for payment group
protected boolean assignDisbursementNumbersAndCombineChecks(PaymentProcess paymentProcess,
FormatProcessSummary postFormatProcessSummary)
paymentProcess - postFormatProcessSummary -
protected org.kuali.rice.kns.util.KualiInteger assignDisbursementNumber(String campus,
DisbursementNumberRange range,
PaymentGroup paymentGroup,
FormatProcessSummary postFormatProcessSummary)
campus - range - paymentGroup - postFormatProcessSummary -
protected void extractChecks()
public void clearUnfinishedFormat(Integer processId)
FormatService
clearUnfinishedFormat in interface FormatServiceFormatService.clearUnfinishedFormat(java.lang.Integer)public void resetFormatPayments(Integer processId)
FormatService
resetFormatPayments in interface FormatServiceFormatService.resetFormatPayments(java.lang.Integer)public void endFormatProcess(String campus)
FormatService
endFormatProcess in interface FormatServiceFormatService.endFormatProcess(java.lang.String)public List<CustomerProfile> getAllCustomerProfiles()
FormatService
getAllCustomerProfiles in interface FormatServiceFormatService.getAllCustomerProfiles()public List<DisbursementNumberRange> getAllDisbursementNumberRanges()
FormatService
getAllDisbursementNumberRanges in interface FormatServiceFormatService.getAllDisbursementNumberRanges()
protected DisbursementNumberRange getRange(List<DisbursementNumberRange> ranges,
Bank bank,
String disbursementTypeCode)
ranges - List of disbursement ranges to search (already filtered to processing campus, active, and start date before or
equal to today)bank - bank code to find range fordisbursementTypeCode - disbursement type code to find range for
DisbursementNumberRange
public void setFormatPaymentDao(FormatPaymentDao fpd)
fpd - public void setGlPendingTransactionService(PendingTransactionService gs)
gs - public void setAchService(AchService as)
as - public void setProcessDao(ProcessDao pd)
pd - public void setPaymentGroupDao(PaymentGroupDao pgd)
pgd - public void setPaymentDetailDao(PaymentDetailDao pdd)
pdd - public void setSchedulerService(SchedulerService ss)
ss - public void setParameterService(org.kuali.rice.kns.service.ParameterService parameterService)
parameterService - public org.kuali.rice.kns.service.BusinessObjectService getBusinessObjectService()
public void setBusinessObjectService(org.kuali.rice.kns.service.BusinessObjectService bos)
bos - public void setPaymentGroupService(PaymentGroupService paymentGroupService)
paymentGroupService - public void setDateTimeService(org.kuali.rice.kns.service.DateTimeService dateTimeService)
dateTimeService - protected ExtractPaymentService getExtractPaymentService()
public void setExtractPaymentService(ExtractPaymentService extractPaymentService)
extractPaymentService - The extractPaymentService to set.protected org.kuali.rice.kim.service.PersonService<org.kuali.rice.kim.bo.Person> getPersonService()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||