public class FileEnterpriseFeederHelperServiceImpl extends Object implements FileEnterpriseFeederHelperService
Modifier and Type | Field and Description |
---|---|
protected OriginEntryService |
originEntryService |
protected ReconciliationParserService |
reconciliationParserService |
protected ReconciliationService |
reconciliationService |
Constructor and Description |
---|
FileEnterpriseFeederHelperServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
feedOnFile(File doneFile,
File dataFile,
File reconFile,
PrintStream enterpriseFeedPs,
String feederProcessName,
String reconciliationTableId,
EnterpriseFeederStatusAndErrorMessagesWrapper statusAndErrors,
LedgerSummaryReport ledgerSummaryReport)
This method does the reading and the loading of reconciliation.
|
protected boolean |
reconciliationProcessSucceeded(List<Message> errorMessages)
Returns whether the reconciliation process succeeded by looking at the reconciliation error messages For this implementation,
the reconciliation does not succeed if at least one of the error messages in the list has a type of
Message.TYPE_FATAL |
void |
setOriginEntryService(OriginEntryService originEntryService) |
void |
setReconciliationParserService(ReconciliationParserService reconciliationParserService) |
void |
setReconciliationService(ReconciliationService reconciliationService) |
protected ReconciliationParserService reconciliationParserService
protected ReconciliationService reconciliationService
protected OriginEntryService originEntryService
public FileEnterpriseFeederHelperServiceImpl()
public void feedOnFile(File doneFile, File dataFile, File reconFile, PrintStream enterpriseFeedPs, String feederProcessName, String reconciliationTableId, EnterpriseFeederStatusAndErrorMessagesWrapper statusAndErrors, LedgerSummaryReport ledgerSummaryReport)
feedOnFile
in interface FileEnterpriseFeederHelperService
doneFile
- a URL that must be present. The contents may be emptydataFile
- a URL to a flat file of origin entry rows.reconFile
- a URL to the reconciliation file. See the implementation of ReconciliationParserService
for file
format.originEntryGroup
- the group into which the origin entries will be loadedfeederProcessName
- the name of the feeder processreconciliationTableId
- the name of the block to use for reconciliation within the reconciliation filestatusAndErrors
- any status information should be stored within this objectorg.kuali.module.gl.service.impl.FileEnterpriseFeederHelperService#feedOnFile(java.io.File, java.io.File, java.io.File,
org.kuali.ole.gl.businessobject.OriginEntryGroup)
protected boolean reconciliationProcessSucceeded(List<Message> errorMessages)
Message.TYPE_FATAL
errorMessages
- a List of errorMessagespublic void setReconciliationParserService(ReconciliationParserService reconciliationParserService)
public void setReconciliationService(ReconciliationService reconciliationService)
public void setOriginEntryService(OriginEntryService originEntryService)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.