Package com.orchestranetworks.addon.dex
Class SpreadsheetExportDataExchangeHelperContext
- java.lang.Object
-
- com.orchestranetworks.addon.dex.SpreadsheetExportDataExchangeHelperContext
-
- All Implemented Interfaces:
DataExchangeHelperContext
public final class SpreadsheetExportDataExchangeHelperContext extends java.lang.Object implements DataExchangeHelperContext
Provides the context to get theDataExchangeSpecfor exporting Excel from the configuration declared in the {addon.label} dataset.- Since:
- 2.7.0
-
-
Constructor Summary
Constructors Constructor Description SpreadsheetExportDataExchangeHelperContext(java.lang.String preferenceName, com.onwbp.adaptation.Adaptation currentDataset, com.orchestranetworks.service.Session session)Creates a newSpreadsheetExportDataExchangeHelperContextusing the preference name when exporting multiple tables.SpreadsheetExportDataExchangeHelperContext(java.lang.String preferenceName, com.onwbp.adaptation.AdaptationTable currentTable, com.orchestranetworks.service.Session session)Creates a newSpreadsheetExportDataExchangeHelperContextusing the preference name when exporting a single table.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.onwbp.adaptation.AdaptationgetCurrentDataset()Returns the current dataset.com.onwbp.adaptation.AdaptationTablegetCurrentTable()Returns the current table.java.lang.StringgetPreferenceName()Returns the specified preference name declared in Namefield of the Application interface preference table in the {addon.label} dataset.ServiceTypegetServiceType()Returns the specified service type.com.orchestranetworks.service.SessiongetSession()Returns the current session.
-
-
-
Constructor Detail
-
SpreadsheetExportDataExchangeHelperContext
public SpreadsheetExportDataExchangeHelperContext(java.lang.String preferenceName, com.onwbp.adaptation.AdaptationTable currentTable, com.orchestranetworks.service.Session session)Creates a newSpreadsheetExportDataExchangeHelperContextusing the preference name when exporting a single table.- 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.
-
SpreadsheetExportDataExchangeHelperContext
public SpreadsheetExportDataExchangeHelperContext(java.lang.String preferenceName, com.onwbp.adaptation.Adaptation currentDataset, com.orchestranetworks.service.Session session)Creates a newSpreadsheetExportDataExchangeHelperContextusing the preference name when exporting multiple tables.- Parameters:
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.
-
-
Method Detail
-
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
public ServiceType getServiceType()
Returns the specified service type.- Specified by:
getServiceTypein interfaceDataExchangeHelperContext
-
getPreferenceName
public java.lang.String getPreferenceName()
Returns the specified preference name declared in Namefield of the Application interface preference table in the {addon.label} dataset.
-
-