Interface FileDataReceiverIfc

All Known Subinterfaces:
DCStreamHandler
All Known Implementing Classes:
AggregatorFieldProcessor, DCFieldProcessor, DeclNPLFieldProcessor, DiscProcFieldProcessor, DupRemoverFieldProcessor, FileOITransport, FlexibleAggregatorFieldProcessor, HCDeDupFieldProcessor, JDBCOIFieldProcessor, JDBCOITransport, MXNARFileManager, MXNarOutReceiverWrapper, MXNPLFieldProcessor, NARFileManager, NARFileManagerMT, NARSelectorFieldProcessor, NARStreamHandler, NPLFieldProcessor, OITransport, RadiusOITransport, SeqProcFieldProcessor, Sol42FieldProcessor, TcpOITransport, UdpOITransport

public interface FileDataReceiverIfc
  • Method Details

    • fileDataIsAvailable

      void fileDataIsAvailable()
      Allows a FileDataProvider to indicate that some data is available for processing
    • processStartOfFileData

      boolean processStartOfFileData(String originalFileName) throws NodeProcessingException
      Allows FileDataProvider to indicate start of file
      Returns:
      true, if data is available
      Throws:
      NodeProcessingException
    • processFileData

      boolean processFileData(DCFieldContainer data) throws NodeProcessingException, FileRejectException
      Manipulates the data provided by its DataProvider
      Returns:
      true, if data is processed successfully
      Throws:
      NodeProcessingException
      FileRejectException
    • processFileData

      boolean processFileData(DCFieldContainer[] data) throws NodeProcessingException
      Manipulates the set of data provided by its DataProvider
      Returns:
      true, if data is processed successfully
      Throws:
      NodeProcessingException
    • processEndOfFileData

      boolean processEndOfFileData(String transactionID) throws NodeProcessingException
      Allows FileDataProvider to indicate end of file record
      Returns:
      true , if processed successfully
      Throws:
      NodeProcessingException
    • processRejectFile

      boolean processRejectFile() throws NodeProcessingException
      Allows FileDataProvider to indicate rejection of the file
      Returns:
      true , if processed successfully
      Throws:
      NodeProcessingException
    • setFileDataProvider

      void setFileDataProvider(FileDataProviderIfc provider)
      Sets the object from which this FileDataReceiver will obtain its data.
      Parameters:
      provider - Object which has data that needs to be retrieved by this DataReceiver
    • getFileDataProvider

      FileDataProviderIfc getFileDataProvider()
      Gets the object that is holding data for this FileDataReceiver
      Returns:
      Object from which this DataReceiver is retrieving data
    • setTransactionID

      void setTransactionID(String tID)