public final class SQLExportConfigurationSpec extends Object implements ExportConfigurationSpec<EBXTable>
Constructor and Description |
---|
SQLExportConfigurationSpec(com.onwbp.adaptation.Adaptation recordOrDataset,
List<EBXTable> sourceTables,
JNDIDataSource jndiDataSource,
com.orchestranetworks.service.Session session)
Exports multiple tables with
JNDIDataSource outside of a
UIService . |
SQLExportConfigurationSpec(com.onwbp.adaptation.Adaptation dataset,
List<EBXTable> sourceTables,
Map<EBXTable,TableFilter> tableFilters,
JNDIDataSource jndiDataSource,
com.orchestranetworks.service.Session session)
Exports multiple tables with a filter and
JNDIDataSource outside of a
UIService . |
SQLExportConfigurationSpec(com.onwbp.adaptation.Adaptation dataset,
List<EBXTable> sourceTables,
Map<EBXTable,TableFilter> tableFilters,
String sqlDataSourceName,
com.orchestranetworks.service.Session session)
Exports multiple tables with a filter outside of a
UIService . |
SQLExportConfigurationSpec(com.onwbp.adaptation.Adaptation recordOrDataset,
List<EBXTable> sourceTables,
String sqlDataSourceName,
com.orchestranetworks.service.Session session)
Exports multiple tables outside of a
UIService . |
SQLExportConfigurationSpec(com.onwbp.adaptation.AdaptationTable currentTable,
JNDIDataSource jndiDataSource,
com.orchestranetworks.service.Session session)
Exports a table with
JNDIDataSource outside of a
UIService . |
SQLExportConfigurationSpec(com.onwbp.adaptation.AdaptationTable currentTable,
String sqlDataSourceName,
com.orchestranetworks.service.Session session)
Exports a table outside of a
UIService . |
SQLExportConfigurationSpec(com.onwbp.adaptation.AdaptationTable currentTable,
TableFilter tableFilter,
JNDIDataSource jndiDataSource,
com.orchestranetworks.service.Session session)
Exports a table with filter and
JNDIDataSource outside of a
UIService . |
SQLExportConfigurationSpec(com.onwbp.adaptation.AdaptationTable currentTable,
TableFilter tableFilter,
String sqlDataSourceName,
com.orchestranetworks.service.Session session)
Exports a table with filter outside of a
UIService . |
SQLExportConfigurationSpec(com.orchestranetworks.service.ServiceContext serviceContext,
JNDIDataSource jndiDataSource)
Exports a table with
JNDIDataSource within a UIService . |
SQLExportConfigurationSpec(com.orchestranetworks.service.ServiceContext serviceContext,
String sqlDataSourceName)
Exports a table within a
UIService . |
Modifier and Type | Method and Description |
---|---|
com.onwbp.adaptation.Adaptation |
getCurrentDataset()
Returns the current dataset.
|
com.onwbp.adaptation.AdaptationTable |
getCurrentTable()
Returns the current table.
|
Map<TableMapping,FieldMapperDefinition> |
getFieldMapperDefinitions()
Returns the map of the
FieldMapperDefinition implementations and a
TableMapping instance as the key parameter. |
JNDIDataSource |
getJNDIDataSource()
Returns the specified JNDI data source for SQL export.
|
String |
getSchemaName()
Returns the the specified schema name.
|
ServiceType |
getServiceType()
Returns the service type.
|
com.orchestranetworks.service.Session |
getSession()
Returns the current session.
|
Map<EBXTable,TableFilter> |
getSourceTableFilters()
Returns a map of table filters and an instance of
EBXTable as the key
parameter. |
List<EBXTable> |
getSourceTables()
Returns the list of source tables.
|
String |
getSQLDataSourceName()
Returns the SQL data source name.
|
ImportMode |
getSQLImportMode()
Returns the import mode.
|
String |
getTablePattern()
Returns the specified table naming pattern.
|
boolean |
isComputedValueIncluded()
Returns
true if the exported data contains computed values. |
boolean |
isWriteAccessLockDisabled()
Deprecated.
Since 3.0.0, the 'Disable write access lock' option was removed
from the add-on.
|
void |
setComputedValueIncluded(boolean computedValueIncluded)
Sets whether to include computed values in the exported data.
|
void |
setFieldMapperDefinitions(Map<TableMapping,FieldMapperDefinition> fieldMapperDefinitions)
Sets a map of the
FieldMapperDefinition implementations and a
TableMapping instance as the key parameter. |
void |
setSchemaName(String schemaName)
Sets the the specified schema name.
|
void |
setSQLImportMode(ImportMode sqlImportMode)
Sets the import mode.
|
void |
setTablePattern(String tablePattern)
Sets a table naming pattern.
|
void |
setWriteAccessLockDisabled(boolean writeAccessLockDisabled)
Deprecated.
Since 3.0.0, the 'Disable write access lock' option was removed
from the add-on.
|
public SQLExportConfigurationSpec(com.orchestranetworks.service.ServiceContext serviceContext, String sqlDataSourceName) throws DataExchangeException
UIService
.DataExchangeException
public SQLExportConfigurationSpec(com.orchestranetworks.service.ServiceContext serviceContext, JNDIDataSource jndiDataSource) throws DataExchangeException
JNDIDataSource
within a UIService
.DataExchangeException
public SQLExportConfigurationSpec(com.onwbp.adaptation.AdaptationTable currentTable, String sqlDataSourceName, com.orchestranetworks.service.Session session) throws DataExchangeException
UIService
.DataExchangeException
public SQLExportConfigurationSpec(com.onwbp.adaptation.AdaptationTable currentTable, JNDIDataSource jndiDataSource, com.orchestranetworks.service.Session session) throws DataExchangeException
JNDIDataSource
outside of a
UIService
.DataExchangeException
public SQLExportConfigurationSpec(com.onwbp.adaptation.AdaptationTable currentTable, TableFilter tableFilter, String sqlDataSourceName, com.orchestranetworks.service.Session session) throws DataExchangeException
UIService
.DataExchangeException
public SQLExportConfigurationSpec(com.onwbp.adaptation.AdaptationTable currentTable, TableFilter tableFilter, JNDIDataSource jndiDataSource, com.orchestranetworks.service.Session session) throws DataExchangeException
JNDIDataSource
outside of a
UIService
.DataExchangeException
public SQLExportConfigurationSpec(com.onwbp.adaptation.Adaptation recordOrDataset, List<EBXTable> sourceTables, String sqlDataSourceName, com.orchestranetworks.service.Session session) throws DataExchangeException
UIService
.DataExchangeException
public SQLExportConfigurationSpec(com.onwbp.adaptation.Adaptation recordOrDataset, List<EBXTable> sourceTables, JNDIDataSource jndiDataSource, com.orchestranetworks.service.Session session) throws DataExchangeException
JNDIDataSource
outside of a
UIService
.DataExchangeException
public SQLExportConfigurationSpec(com.onwbp.adaptation.Adaptation dataset, List<EBXTable> sourceTables, Map<EBXTable,TableFilter> tableFilters, String sqlDataSourceName, com.orchestranetworks.service.Session session) throws DataExchangeException
UIService
.DataExchangeException
public SQLExportConfigurationSpec(com.onwbp.adaptation.Adaptation dataset, List<EBXTable> sourceTables, Map<EBXTable,TableFilter> tableFilters, JNDIDataSource jndiDataSource, com.orchestranetworks.service.Session session) throws DataExchangeException
JNDIDataSource
outside of a
UIService
.DataExchangeException
public boolean isComputedValueIncluded()
true
if the exported data contains computed values.isComputedValueIncluded
in interface ExportConfigurationSpec<EBXTable>
public void setComputedValueIncluded(boolean computedValueIncluded)
public ServiceType getServiceType()
getServiceType
in interface ConfigurationSpec<EBXTable>
public boolean isWriteAccessLockDisabled()
isWriteAccessLockDisabled
in interface ExportConfigurationSpec<EBXTable>
public void setWriteAccessLockDisabled(boolean writeAccessLockDisabled)
public ImportMode getSQLImportMode()
public void setSQLImportMode(ImportMode sqlImportMode)
public com.onwbp.adaptation.Adaptation getCurrentDataset()
getCurrentDataset
in interface ConfigurationSpec<EBXTable>
public com.onwbp.adaptation.AdaptationTable getCurrentTable()
getCurrentTable
in interface ConfigurationSpec<EBXTable>
public com.orchestranetworks.service.Session getSession()
getSession
in interface ConfigurationSpec<EBXTable>
public List<EBXTable> getSourceTables()
getSourceTables
in interface ConfigurationSpec<EBXTable>
public Map<EBXTable,TableFilter> getSourceTableFilters()
EBXTable
as the key
parameter. Returns null
when importing CSV, Excel and XML.getSourceTableFilters
in interface ConfigurationSpec<EBXTable>
public String getSQLDataSourceName()
public Map<TableMapping,FieldMapperDefinition> getFieldMapperDefinitions()
FieldMapperDefinition
implementations and a
TableMapping
instance as the key parameter.public void setFieldMapperDefinitions(Map<TableMapping,FieldMapperDefinition> fieldMapperDefinitions)
FieldMapperDefinition
implementations and a
TableMapping
instance as the key parameter.public String getTablePattern()
public void setTablePattern(String tablePattern)
public String getSchemaName()
public void setSchemaName(String schemaName)
public JNDIDataSource getJNDIDataSource()