Package com.orchestranetworks.addon.dex
Class CSVImportDataExchangeHelperContext
java.lang.Object
com.orchestranetworks.addon.dex.CSVImportDataExchangeHelperContext
- All Implemented Interfaces:
 DataExchangeHelperContext
public final class CSVImportDataExchangeHelperContext
extends Object
implements DataExchangeHelperContext
Provides the context to get the 
DataExchangeSpec for importing CSV from the configuration declared in the {addon.label} dataset.- Since:
 - 2.7.0
 
- 
Constructor Summary
ConstructorsConstructorDescriptionCSVImportDataExchangeHelperContext(String preferenceName, com.onwbp.adaptation.AdaptationTable currentTable, com.orchestranetworks.service.Session session) Creates a newCSVImportDataExchangeHelperContextusing the preference name. - 
Method Summary
Modifier and TypeMethodDescriptioncom.onwbp.adaptation.AdaptationReturns the current dataset.com.onwbp.adaptation.AdaptationTableReturns the current table.Returns the imported file.Returns the specified preference name declared in Namefield of the Application interface preference table in the {addon.label} dataset.Returns the specified service type.com.orchestranetworks.service.SessionReturns the current session.voidsetImportedFile(File importedFile) Sets an imported file to the specified value. 
- 
Constructor Details
- 
CSVImportDataExchangeHelperContext
public CSVImportDataExchangeHelperContext(String preferenceName, com.onwbp.adaptation.AdaptationTable currentTable, com.orchestranetworks.service.Session session) Creates a newCSVImportDataExchangeHelperContextusing the preference name.- Parameters:
 preferenceName- the preference name is declared in Name field of the Application interface preference table in the {addon.label} dataset.currentTable- the current table.session- the current session.
 
 - 
 - 
Method Details
- 
getCurrentDataset
public com.onwbp.adaptation.Adaptation getCurrentDataset()Returns the current dataset.- Specified by:
 getCurrentDatasetin interfaceDataExchangeHelperContext
 - 
getCurrentTable
public com.onwbp.adaptation.AdaptationTable getCurrentTable()Returns the current table.- Specified by:
 getCurrentTablein interfaceDataExchangeHelperContext
 - 
getSession
public com.orchestranetworks.service.Session getSession()Returns the current session.- Specified by:
 getSessionin interfaceDataExchangeHelperContext
 - 
getServiceType
Returns the specified service type.- Specified by:
 getServiceTypein interfaceDataExchangeHelperContext
 - 
getPreferenceName
Returns the specified preference name declared in Namefield of the Application interface preference table in the {addon.label} dataset. - 
getImportedFile
Returns the imported file. - 
setImportedFile
Sets an imported file to the specified value. 
 -