public interface FileDataReceiverIfc
| Modifier and Type | Method and Description |
|---|---|
void |
fileDataIsAvailable()
Allows a FileDataProvider to indicate that some data is
available for processing
|
FileDataProviderIfc |
getFileDataProvider()
Gets the object that is holding data for this FileDataReceiver
|
boolean |
processEndOfFileData(java.lang.String transactionID)
Allows FileDataProvider to indicate end of file record
|
boolean |
processFileData(DCFieldContainer data)
Manipulates the data provided by its DataProvider
|
boolean |
processFileData(DCFieldContainer[] data)
Manipulates the set of data provided by its DataProvider
|
boolean |
processRejectFile()
Allows FileDataProvider to indicate rejection of the file
|
boolean |
processStartOfFileData(java.lang.String originalFileName)
Allows FileDataProvider to indicate start of file
|
void |
setFileDataProvider(FileDataProviderIfc provider)
Sets the object from which this FileDataReceiver will obtain
its data.
|
void |
setTransactionID(java.lang.String tID) |
void fileDataIsAvailable()
boolean processStartOfFileData(java.lang.String originalFileName)
throws NodeProcessingException
true, if data is availableNodeProcessingExceptionboolean processFileData(DCFieldContainer data) throws NodeProcessingException, FileRejectException
true, if data is processed successfullyNodeProcessingExceptionFileRejectExceptionboolean processFileData(DCFieldContainer[] data) throws NodeProcessingException
true, if data is processed successfullyNodeProcessingExceptionboolean processEndOfFileData(java.lang.String transactionID)
throws NodeProcessingException
true , if processed successfullyNodeProcessingExceptionboolean processRejectFile()
throws NodeProcessingException
true , if processed successfullyNodeProcessingExceptionvoid setFileDataProvider(FileDataProviderIfc provider)
provider - Object which has data that needs to be
retrieved by this DataReceiverFileDataProviderIfc getFileDataProvider()
void setTransactionID(java.lang.String tID)