public final class SpreadsheetExportDataExchangeHelperContext extends Object implements DataExchangeHelperContext
DataExchangeSpec for exporting Excel from the configuration declared in the {addon.label} dataset.| Constructor and Description |
|---|
SpreadsheetExportDataExchangeHelperContext(String preferenceName,
com.onwbp.adaptation.Adaptation currentDataset,
com.orchestranetworks.service.Session session)
Creates a new
SpreadsheetExportDataExchangeHelperContext using the preference name when exporting multiple tables. |
SpreadsheetExportDataExchangeHelperContext(String preferenceName,
com.onwbp.adaptation.AdaptationTable currentTable,
com.orchestranetworks.service.Session session)
Creates a new
SpreadsheetExportDataExchangeHelperContext using the preference name when exporting a single table. |
| Modifier and Type | Method and Description |
|---|---|
com.onwbp.adaptation.Adaptation |
getCurrentDataset()
Returns the current dataset.
|
com.onwbp.adaptation.AdaptationTable |
getCurrentTable()
Returns the current table.
|
String |
getPreferenceName()
Returns the specified preference name declared in Namefield of the Application interface preference table in the {addon.label} dataset.
|
ServiceType |
getServiceType()
Returns the specified service type.
|
com.orchestranetworks.service.Session |
getSession()
Returns the current session.
|
public SpreadsheetExportDataExchangeHelperContext(String preferenceName, com.onwbp.adaptation.AdaptationTable currentTable, com.orchestranetworks.service.Session session)
SpreadsheetExportDataExchangeHelperContext using the preference name when exporting a single table.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.public SpreadsheetExportDataExchangeHelperContext(String preferenceName, com.onwbp.adaptation.Adaptation currentDataset, com.orchestranetworks.service.Session session)
SpreadsheetExportDataExchangeHelperContext using the preference name when exporting multiple tables.preferenceName - the preference name is declared in Namefield of the Application interface preference table in the {addon.label} dataset.currentDataset - the current dataset.session - the current session.public com.onwbp.adaptation.Adaptation getCurrentDataset()
getCurrentDataset in interface DataExchangeHelperContextpublic com.onwbp.adaptation.AdaptationTable getCurrentTable()
getCurrentTable in interface DataExchangeHelperContextpublic com.orchestranetworks.service.Session getSession()
getSession in interface DataExchangeHelperContextpublic ServiceType getServiceType()
getServiceType in interface DataExchangeHelperContextpublic String getPreferenceName()