public class FileEnterpriseFeederServiceImpl extends InitiateDirectoryBase implements EnterpriseFeederService
DATA_FILE_SUFFIX, DONE_FILE_SUFFIX, RECON_FILE_SUFFIX
Constructor and Description |
---|
FileEnterpriseFeederServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
feed(String processName,
boolean performNotifications)
Feeds file sets in the directory whose name is returned by the invocation to getDirectoryName()
|
protected void |
generateFilesLoadedStatusReport(List<EnterpriseFeederStatusAndErrorMessagesWrapper> statusAndErrorsList) |
protected void |
generateReport(List<EnterpriseFeederStatusAndErrorMessagesWrapper> statusAndErrorsList,
LedgerSummaryReport report,
String outputFileName) |
protected File |
getDataFile(File doneFile)
Given the doneFile, this method finds the data file corresponding to the done file
|
org.kuali.rice.core.api.datetime.DateTimeService |
getDateTimeService()
Gets the dateTimeService attribute.
|
String |
getDirectoryName()
Gets the directoryName attribute.
|
EnterpriseFeederNotificationService |
getEnterpriseFeederNotificationService()
Gets the enterpriseFeederNotificationService attribute.
|
FileEnterpriseFeederHelperService |
getFileEnterpriseFeederHelperService()
Gets the fileEnterpriseFeederHelperService attribute.
|
OriginEntryGroupService |
getOriginEntryGroupService()
Gets the originEntryGroupService attribute.
|
String |
getReconciliationTableId()
Gets the reconciliationTableId attribute.
|
protected File |
getReconFile(File doneFile)
Given the doneFile, this method finds the reconciliation file corresponding to the data file
|
List<String> |
getRequiredDirectoryNames()
Get the required list of directories name (full path)
|
protected void |
reorderDoneFiles(File[] doneFiles)
Reorders the files in case there's a dependency on the order in which files are fed upon.
|
void |
setDateTimeService(org.kuali.rice.core.api.datetime.DateTimeService dateTimeService)
Sets the dateTimeService attribute value.
|
void |
setDirectoryName(String directoryName)
Sets the directoryName attribute value.
|
void |
setEnterpriseFeederNotificationService(EnterpriseFeederNotificationService enterpriseFeederNotificationService)
Sets the enterpriseFeederNotificationService attribute value.
|
void |
setFileEnterpriseFeederHelperService(FileEnterpriseFeederHelperService fileEnterpriseFeederHelperServiceImpl)
Sets the fileEnterpriseFeederHelperService attribute value.
|
void |
setGlOriginEntryDirectoryName(String glOriginEntryDirectoryName) |
void |
setOriginEntryGroupService(OriginEntryGroupService originEntryGroupService)
Sets the originEntryGroupService attribute value.
|
void |
setReconciliationTableId(String reconciliationTableId)
Sets the reconciliationTableId attribute value.
|
void |
setReportWriterService(ReportWriterService reportWriterService)
Sets the reportWriterService attribute value.
|
prepareDirectories
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
prepareDirectories
public FileEnterpriseFeederServiceImpl()
public void feed(String processName, boolean performNotifications)
feed
in interface EnterpriseFeederService
processName
- this merely identifies the process executing the feed. It will be used to build any error messages, but
computationally it should be ignored.performNotifications
- whether notifications should be sent outorg.kuali.ole.gl.batch.service.EnterpriseFeederService#feed(java.lang.String)
protected void reorderDoneFiles(File[] doneFiles)
doneFiles
- protected File getDataFile(File doneFile)
doneFile
- protected File getReconFile(File doneFile)
doneFile
- public String getDirectoryName()
getDirectoryName
in interface EnterpriseFeederService
public void setDirectoryName(String directoryName)
directoryName
- The directoryName to set.public OriginEntryGroupService getOriginEntryGroupService()
public void setOriginEntryGroupService(OriginEntryGroupService originEntryGroupService)
originEntryGroupService
- The originEntryGroupService to set.public org.kuali.rice.core.api.datetime.DateTimeService getDateTimeService()
public void setDateTimeService(org.kuali.rice.core.api.datetime.DateTimeService dateTimeService)
dateTimeService
- The dateTimeService to set.public FileEnterpriseFeederHelperService getFileEnterpriseFeederHelperService()
public void setFileEnterpriseFeederHelperService(FileEnterpriseFeederHelperService fileEnterpriseFeederHelperServiceImpl)
fileEnterpriseFeederHelperService
- The fileEnterpriseFeederHelperService to set.public EnterpriseFeederNotificationService getEnterpriseFeederNotificationService()
public void setEnterpriseFeederNotificationService(EnterpriseFeederNotificationService enterpriseFeederNotificationService)
enterpriseFeederNotificationService
- The enterpriseFeederNotificationService to set.public String getReconciliationTableId()
public void setReconciliationTableId(String reconciliationTableId)
reconciliationTableId
- The reconciliationTableId to set.public void setGlOriginEntryDirectoryName(String glOriginEntryDirectoryName)
protected void generateReport(List<EnterpriseFeederStatusAndErrorMessagesWrapper> statusAndErrorsList, LedgerSummaryReport report, String outputFileName)
protected void generateFilesLoadedStatusReport(List<EnterpriseFeederStatusAndErrorMessagesWrapper> statusAndErrorsList)
public void setReportWriterService(ReportWriterService reportWriterService)
reportWriterService
- The reportWriterService to set.public List<String> getRequiredDirectoryNames()
InitiateDirectory
getRequiredDirectoryNames
in interface InitiateDirectory
getRequiredDirectoryNames
in class InitiateDirectoryBase
org.kuali.ole.sys.batch.service.impl.InitiateDirectoryImpl#getRequiredDirectoryNames()
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.