Class SpreadsheetImportDataExchangeHelperContext

  • All Implemented Interfaces:
    DataExchangeHelperContext

    public final class SpreadsheetImportDataExchangeHelperContext
    extends java.lang.Object
    implements DataExchangeHelperContext
    Provides the context to get the DataExchangeSpec for importing Excel from the configuration declared in the EBX Data Exchange Add-on dataset.
    Since:
    2.7.0
    • Constructor Detail

      • SpreadsheetImportDataExchangeHelperContext

        public SpreadsheetImportDataExchangeHelperContext​(java.lang.String preferenceName,
                                                          com.onwbp.adaptation.AdaptationTable currentTable,
                                                          com.orchestranetworks.service.Session session)
        Creates a new SpreadsheetImportDataExchangeHelperContext using the preference name when importing a single table.
        Parameters:
        preferenceName - the preference name is declared in Name field of the Application interface preference table in the EBX Data Exchange Add-on dataset.
        currentTable - the current table.
        session - the current session.
      • SpreadsheetImportDataExchangeHelperContext

        public SpreadsheetImportDataExchangeHelperContext​(java.lang.String preferenceName,
                                                          com.onwbp.adaptation.Adaptation currentDataset,
                                                          com.orchestranetworks.service.Session session)
        Creates a new SpreadsheetImportDataExchangeHelperContext using the preference name when importing multiple tables.
        Parameters:
        preferenceName - the preference name is declared in Namefield of the Application interface preference table in the EBX Data Exchange Add-on dataset.
        currentDataset - the current dataset.
        session - the current session.
    • Method Detail

      • getPreferenceName

        public java.lang.String getPreferenceName()
        Returns the specified preference name declared in the Namefield of the Application interface preference table in the EBX Data Exchange Add-on dataset.
      • getImportedFile

        public java.io.File getImportedFile()
        Returns the imported file.
      • setImportedFile

        public void setImportedFile​(java.io.File importedFile)
        Sets an imported file to the specified value.