org.kuali.kfs.module.ld.batch.service
Interface FileEnterpriseFeederHelperService

All Known Implementing Classes:
FileEnterpriseFeederHelperServiceImpl

public interface FileEnterpriseFeederHelperService

Implementations of this interface are responsible for reconciliation of origin entry data in a file and loading them into the origin entry table. Note that implementations of this class may have special useful transactional properties. See implementation description for more details.


Method Summary
 void feedOnFile(File doneFile, File dataFile, File reconFile, PrintStream enterpriseFeedPs, String feederProcessName, String reconciliationTableId, EnterpriseFeederStatusAndErrorMessagesWrapper statusAndErrors, LedgerSummaryReport ledgerSummaryReport)
          Reconciles and loads a file of origin entries into the origin entry table.
 

Method Detail

feedOnFile

void feedOnFile(File doneFile,
                File dataFile,
                File reconFile,
                PrintStream enterpriseFeedPs,
                String feederProcessName,
                String reconciliationTableId,
                EnterpriseFeederStatusAndErrorMessagesWrapper statusAndErrors,
                LedgerSummaryReport ledgerSummaryReport)
Reconciles and loads a file of origin entries into the origin entry table. This method DOES NOT handle the deletion of the done file

Parameters:
doneFile - the done file. Must exist and be non-empty
dataFile - the data file. A connection to this file may be opened multiple times by this method.
reconFile - the reconciliation file. See implementations of ReconciliationParserService to determine the format of the data in a file.
originEntryGroup - the group in which to place the origin entries
feederProcessName - the name of the process that's invoking this method.
reconciliationTableId - the name of the reconciliation block to use within the reconciliation file
statusAndErrors - a class with references to a EnterpriseFeederStatus object and a list of error messages. Implementations of this method may need to throw an exception to force a transaction rollback, which means that it can't return a value. This parameter allows the method to output status/error information


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