Class SQLExportConfigurationSpec
- java.lang.Object
- 
- com.orchestranetworks.addon.dex.configuration.SQLExportConfigurationSpec
 
- 
- All Implemented Interfaces:
- ConfigurationSpec<EBXTable>,- ExportConfigurationSpec<EBXTable>
 
 public final class SQLExportConfigurationSpec extends java.lang.Object implements ExportConfigurationSpec<EBXTable> Defines the configuration used to export data to an external database.- Since:
- 2.3.0
 
- 
- 
Constructor SummaryConstructors Constructor Description SQLExportConfigurationSpec(com.onwbp.adaptation.Adaptation recordOrDataset, java.util.List<EBXTable> sourceTables, JNDIDataSource jndiDataSource, com.orchestranetworks.service.Session session)Exports multiple tables withJNDIDataSourceoutside of aUIService.SQLExportConfigurationSpec(com.onwbp.adaptation.Adaptation recordOrDataset, java.util.List<EBXTable> sourceTables, java.lang.String sqlDataSourceName, com.orchestranetworks.service.Session session)Exports multiple tables outside of aUIService.SQLExportConfigurationSpec(com.onwbp.adaptation.Adaptation dataset, java.util.List<EBXTable> sourceTables, java.util.Map<EBXTable,TableFilter> tableFilters, JNDIDataSource jndiDataSource, com.orchestranetworks.service.Session session)Exports multiple tables with a filter andJNDIDataSourceoutside of aUIService.SQLExportConfigurationSpec(com.onwbp.adaptation.Adaptation dataset, java.util.List<EBXTable> sourceTables, java.util.Map<EBXTable,TableFilter> tableFilters, java.lang.String sqlDataSourceName, com.orchestranetworks.service.Session session)Exports multiple tables with a filter outside of aUIService.SQLExportConfigurationSpec(com.onwbp.adaptation.AdaptationTable currentTable, JNDIDataSource jndiDataSource, com.orchestranetworks.service.Session session)Exports a table withJNDIDataSourceoutside of aUIService.SQLExportConfigurationSpec(com.onwbp.adaptation.AdaptationTable currentTable, TableFilter tableFilter, JNDIDataSource jndiDataSource, com.orchestranetworks.service.Session session)Exports a table with filter andJNDIDataSourceoutside of aUIService.SQLExportConfigurationSpec(com.onwbp.adaptation.AdaptationTable currentTable, TableFilter tableFilter, java.lang.String sqlDataSourceName, com.orchestranetworks.service.Session session)Exports a table with filter outside of aUIService.SQLExportConfigurationSpec(com.onwbp.adaptation.AdaptationTable currentTable, java.lang.String sqlDataSourceName, com.orchestranetworks.service.Session session)Exports a table outside of aUIService.SQLExportConfigurationSpec(com.orchestranetworks.service.ServiceContext serviceContext, JNDIDataSource jndiDataSource)Exports a table withJNDIDataSourcewithin aUIService.SQLExportConfigurationSpec(com.orchestranetworks.service.ServiceContext serviceContext, java.lang.String sqlDataSourceName)Exports a table within aUIService.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description com.onwbp.adaptation.AdaptationgetCurrentDataset()Returns the current dataset.com.onwbp.adaptation.AdaptationTablegetCurrentTable()Returns the current table.java.util.Map<TableMapping,FieldMapperDefinition>getFieldMapperDefinitions()Returns the map of theFieldMapperDefinitionimplementations and aTableMappinginstance as the key parameter.JNDIDataSourcegetJNDIDataSource()Returns the specified JNDI data source for SQL export.java.lang.StringgetSchemaName()Returns the the specified schema name.ServiceTypegetServiceType()Returns the service type.com.orchestranetworks.service.SessiongetSession()Returns the current session.java.util.Map<EBXTable,TableFilter>getSourceTableFilters()Returns a map of table filters and an instance ofEBXTableas the key parameter.java.util.List<EBXTable>getSourceTables()Returns the list of source tables.java.lang.StringgetSQLDataSourceName()Returns the SQL data source name.ImportModegetSQLImportMode()Returns the import mode.java.lang.StringgetTablePattern()Returns the specified table naming pattern.booleanisComputedValueIncluded()Returnstrueif the exported data contains computed values.booleanisWriteAccessLockDisabled()Deprecated.Since 3.0.0, the 'Disable write access lock' option was removed from the add-on.voidsetComputedValueIncluded(boolean computedValueIncluded)Sets whether to include computed values in the exported data.voidsetFieldMapperDefinitions(java.util.Map<TableMapping,FieldMapperDefinition> fieldMapperDefinitions)Sets a map of theFieldMapperDefinitionimplementations and aTableMappinginstance as the key parameter.voidsetSchemaName(java.lang.String schemaName)Sets the the specified schema name.voidsetSQLImportMode(ImportMode sqlImportMode)Sets the import mode.voidsetTablePattern(java.lang.String tablePattern)Sets a table naming pattern.voidsetWriteAccessLockDisabled(boolean writeAccessLockDisabled)Deprecated.Since 3.0.0, the 'Disable write access lock' option was removed from the add-on.
 
- 
- 
- 
Constructor Detail- 
SQLExportConfigurationSpecpublic SQLExportConfigurationSpec(com.orchestranetworks.service.ServiceContext serviceContext, java.lang.String sqlDataSourceName) throws DataExchangeExceptionExports a table within aUIService.- Throws:
- DataExchangeException
 
 - 
SQLExportConfigurationSpecpublic SQLExportConfigurationSpec(com.orchestranetworks.service.ServiceContext serviceContext, JNDIDataSource jndiDataSource) throws DataExchangeExceptionExports a table withJNDIDataSourcewithin aUIService.- Throws:
- DataExchangeException
- Since:
- 2.5.0
 
 - 
SQLExportConfigurationSpecpublic SQLExportConfigurationSpec(com.onwbp.adaptation.AdaptationTable currentTable, java.lang.String sqlDataSourceName, com.orchestranetworks.service.Session session) throws DataExchangeExceptionExports a table outside of aUIService.- Throws:
- DataExchangeException
 
 - 
SQLExportConfigurationSpecpublic SQLExportConfigurationSpec(com.onwbp.adaptation.AdaptationTable currentTable, JNDIDataSource jndiDataSource, com.orchestranetworks.service.Session session) throws DataExchangeExceptionExports a table withJNDIDataSourceoutside of aUIService.- Throws:
- DataExchangeException
- Since:
- 2.5.0
 
 - 
SQLExportConfigurationSpecpublic SQLExportConfigurationSpec(com.onwbp.adaptation.AdaptationTable currentTable, TableFilter tableFilter, java.lang.String sqlDataSourceName, com.orchestranetworks.service.Session session) throws DataExchangeExceptionExports a table with filter outside of aUIService.- Throws:
- DataExchangeException
 
 - 
SQLExportConfigurationSpecpublic SQLExportConfigurationSpec(com.onwbp.adaptation.AdaptationTable currentTable, TableFilter tableFilter, JNDIDataSource jndiDataSource, com.orchestranetworks.service.Session session) throws DataExchangeExceptionExports a table with filter andJNDIDataSourceoutside of aUIService.- Throws:
- DataExchangeException
- Since:
- 2.5.0
 
 - 
SQLExportConfigurationSpecpublic SQLExportConfigurationSpec(com.onwbp.adaptation.Adaptation recordOrDataset, java.util.List<EBXTable> sourceTables, java.lang.String sqlDataSourceName, com.orchestranetworks.service.Session session) throws DataExchangeExceptionExports multiple tables outside of aUIService.- Throws:
- DataExchangeException
 
 - 
SQLExportConfigurationSpecpublic SQLExportConfigurationSpec(com.onwbp.adaptation.Adaptation recordOrDataset, java.util.List<EBXTable> sourceTables, JNDIDataSource jndiDataSource, com.orchestranetworks.service.Session session) throws DataExchangeExceptionExports multiple tables withJNDIDataSourceoutside of aUIService.- Throws:
- DataExchangeException
- Since:
- 2.5.0
 
 - 
SQLExportConfigurationSpecpublic SQLExportConfigurationSpec(com.onwbp.adaptation.Adaptation dataset, java.util.List<EBXTable> sourceTables, java.util.Map<EBXTable,TableFilter> tableFilters, java.lang.String sqlDataSourceName, com.orchestranetworks.service.Session session) throws DataExchangeExceptionExports multiple tables with a filter outside of aUIService.- Throws:
- DataExchangeException
 
 - 
SQLExportConfigurationSpecpublic SQLExportConfigurationSpec(com.onwbp.adaptation.Adaptation dataset, java.util.List<EBXTable> sourceTables, java.util.Map<EBXTable,TableFilter> tableFilters, JNDIDataSource jndiDataSource, com.orchestranetworks.service.Session session) throws DataExchangeExceptionExports multiple tables with a filter andJNDIDataSourceoutside of aUIService.- Throws:
- DataExchangeException
- Since:
- 2.5.0
 
 
- 
 - 
Method Detail- 
isComputedValueIncludedpublic boolean isComputedValueIncluded() Returnstrueif the exported data contains computed values.- Specified by:
- isComputedValueIncludedin interface- ExportConfigurationSpec<EBXTable>
 
 - 
setComputedValueIncludedpublic void setComputedValueIncluded(boolean computedValueIncluded) Sets whether to include computed values in the exported data.
 - 
getServiceTypepublic ServiceType getServiceType() Returns the service type.- Specified by:
- getServiceTypein interface- ConfigurationSpec<EBXTable>
 
 - 
isWriteAccessLockDisabledpublic boolean isWriteAccessLockDisabled() Deprecated.Since 3.0.0, the 'Disable write access lock' option was removed from the add-on.Always throws exception.- Specified by:
- isWriteAccessLockDisabledin interface- ExportConfigurationSpec<EBXTable>
 
 - 
setWriteAccessLockDisabledpublic void setWriteAccessLockDisabled(boolean writeAccessLockDisabled) Deprecated.Since 3.0.0, the 'Disable write access lock' option was removed from the add-on.Always throws exception.
 - 
getSQLImportModepublic ImportMode getSQLImportMode() Returns the import mode.
 - 
setSQLImportModepublic void setSQLImportMode(ImportMode sqlImportMode) Sets the import mode.
 - 
getCurrentDatasetpublic com.onwbp.adaptation.Adaptation getCurrentDataset() Returns the current dataset.- Specified by:
- getCurrentDatasetin interface- ConfigurationSpec<EBXTable>
 
 - 
getCurrentTablepublic com.onwbp.adaptation.AdaptationTable getCurrentTable() Returns the current table.- Specified by:
- getCurrentTablein interface- ConfigurationSpec<EBXTable>
 
 - 
getSessionpublic com.orchestranetworks.service.Session getSession() Returns the current session.- Specified by:
- getSessionin interface- ConfigurationSpec<EBXTable>
 
 - 
getSourceTablespublic java.util.List<EBXTable> getSourceTables() Returns the list of source tables.- Specified by:
- getSourceTablesin interface- ConfigurationSpec<EBXTable>
 
 - 
getSourceTableFilterspublic java.util.Map<EBXTable,TableFilter> getSourceTableFilters() Returns a map of table filters and an instance ofEBXTableas the key parameter. Returnsnullwhen importing CSV, Excel and XML.- Specified by:
- getSourceTableFiltersin interface- ConfigurationSpec<EBXTable>
 
 - 
getSQLDataSourceNamepublic java.lang.String getSQLDataSourceName() Returns the SQL data source name.
 - 
getFieldMapperDefinitionspublic java.util.Map<TableMapping,FieldMapperDefinition> getFieldMapperDefinitions() Returns the map of theFieldMapperDefinitionimplementations and aTableMappinginstance as the key parameter.
 - 
setFieldMapperDefinitionspublic void setFieldMapperDefinitions(java.util.Map<TableMapping,FieldMapperDefinition> fieldMapperDefinitions) Sets a map of theFieldMapperDefinitionimplementations and aTableMappinginstance as the key parameter.
 - 
getTablePatternpublic java.lang.String getTablePattern() Returns the specified table naming pattern.
 - 
setTablePatternpublic void setTablePattern(java.lang.String tablePattern) Sets a table naming pattern.
 - 
getSchemaNamepublic java.lang.String getSchemaName() Returns the the specified schema name.
 - 
setSchemaNamepublic void setSchemaName(java.lang.String schemaName) Sets the the specified schema name.
 - 
getJNDIDataSourcepublic JNDIDataSource getJNDIDataSource() Returns the specified JNDI data source for SQL export.- Since:
- 2.5.0
 
 
- 
 
-