Class SQLExportConfigurationSpec

    • Constructor Detail

      • SQLExportConfigurationSpec

        public SQLExportConfigurationSpec​(com.orchestranetworks.service.ServiceContext serviceContext,
                                          java.lang.String sqlDataSourceName)
                                   throws DataExchangeException
        Exports a table within a UIService.
        Throws:
        DataExchangeException
      • SQLExportConfigurationSpec

        public SQLExportConfigurationSpec​(com.onwbp.adaptation.AdaptationTable currentTable,
                                          java.lang.String sqlDataSourceName,
                                          com.orchestranetworks.service.Session session)
                                   throws DataExchangeException
        Exports a table outside of a UIService.
        Throws:
        DataExchangeException
      • SQLExportConfigurationSpec

        public SQLExportConfigurationSpec​(com.onwbp.adaptation.AdaptationTable currentTable,
                                          TableFilter tableFilter,
                                          java.lang.String sqlDataSourceName,
                                          com.orchestranetworks.service.Session session)
                                   throws DataExchangeException
        Exports a table with filter outside of a UIService.
        Throws:
        DataExchangeException
      • SQLExportConfigurationSpec

        public SQLExportConfigurationSpec​(com.onwbp.adaptation.Adaptation recordOrDataset,
                                          java.util.List<EBXTable> sourceTables,
                                          java.lang.String sqlDataSourceName,
                                          com.orchestranetworks.service.Session session)
                                   throws DataExchangeException
        Exports multiple tables outside of a UIService.
        Throws:
        DataExchangeException
      • SQLExportConfigurationSpec

        public 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 DataExchangeException
        Exports multiple tables with a filter outside of a UIService.
        Throws:
        DataExchangeException
    • Method Detail

      • setComputedValueIncluded

        public void setComputedValueIncluded​(boolean computedValueIncluded)
        Sets whether to include computed values in the exported data.
      • setWriteAccessLockDisabled

        public void setWriteAccessLockDisabled​(boolean writeAccessLockDisabled)
        Deprecated.
        Since 3.0.0, the 'Disable write access lock' option was removed from the add-on.
        Always throws exception.
      • getSQLImportMode

        public ImportMode getSQLImportMode()
        Returns the import mode.
      • setSQLImportMode

        public void setSQLImportMode​(ImportMode sqlImportMode)
        Sets the import mode.
      • getSQLDataSourceName

        public java.lang.String getSQLDataSourceName()
        Returns the SQL data source name.
      • getTablePattern

        public java.lang.String getTablePattern()
        Returns the specified table naming pattern.
      • setTablePattern

        public void setTablePattern​(java.lang.String tablePattern)
        Sets a table naming pattern.
      • getSchemaName

        public java.lang.String getSchemaName()
        Returns the the specified schema name.
      • setSchemaName

        public void setSchemaName​(java.lang.String schemaName)
        Sets the the specified schema name.
      • getJNDIDataSource

        public JNDIDataSource getJNDIDataSource()
        Returns the specified JNDI data source for SQL export.
        Since:
        2.5.0