org.kuali.kfs.pdp.service
Interface PaymentFileService

All Known Implementing Classes:
PaymentFileServiceImpl

public interface PaymentFileService

Handles processing (validation, loading, and reporting) of incoming payment files.


Method Summary
 boolean createOutputFile(LoadPaymentStatus status, String inputFileName)
          Creates the PDP XML output which can be parsed to obtain load status information
 void doPaymentFileValidation(PaymentFileLoad paymentFile, org.kuali.rice.kns.util.MessageMap errorMap)
          Performs hard edits on payment file
 void loadPayments(PaymentFileLoad paymentFile, LoadPaymentStatus status, String incomingFileName)
          Performs soft edits of payment file data and loads records into database
 void processPaymentFiles(BatchInputFileType paymentInputFileType)
          Process all incoming payment files
 

Method Detail

processPaymentFiles

void processPaymentFiles(BatchInputFileType paymentInputFileType)
Process all incoming payment files

Parameters:
paymentInputFileType - BatchInputFileType for payment files

doPaymentFileValidation

void doPaymentFileValidation(PaymentFileLoad paymentFile,
                             org.kuali.rice.kns.util.MessageMap errorMap)
Performs hard edits on payment file

Parameters:
paymentFile - PaymentFileLoad containing parsed file contents
errorMap - Map that will hold errors encountered

loadPayments

void loadPayments(PaymentFileLoad paymentFile,
                  LoadPaymentStatus status,
                  String incomingFileName)
Performs soft edits of payment file data and loads records into database

Parameters:
paymentFile - PaymentFileLoad containing parsed file contents
status - LoadPaymentStatus containing status information for load
incomingFileName - string file name

createOutputFile

boolean createOutputFile(LoadPaymentStatus status,
                         String inputFileName)
Creates the PDP XML output which can be parsed to obtain load status information

Parameters:
status - LoadPaymentStatus containing status information for load
inputFileName - incomingFileName string file name
Returns:
true if output file was successfully created, false otherwise


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