public final class TransferConfigurationSpec extends Object implements ImportConfigurationSpec<EBXTable>
| Constructor and Description |
|---|
TransferConfigurationSpec(com.onwbp.adaptation.Adaptation sourceDataset,
List<EBXTable> sourceTables,
com.onwbp.adaptation.Adaptation targetDataset,
com.orchestranetworks.service.Session session)
Transfers multiple tables based on the specified source tables outside of
a
UIService. |
TransferConfigurationSpec(com.onwbp.adaptation.Adaptation sourceDataset,
List<EBXTable> sourceTables,
Map<EBXTable,TableFilter> sourceTableFilters,
com.onwbp.adaptation.Adaptation targetDataset,
com.orchestranetworks.service.Session session)
Transfers multiple tables based on the filtered source tables outside of
a
UIService. |
TransferConfigurationSpec(com.onwbp.adaptation.AdaptationTable currentTable,
com.onwbp.adaptation.Adaptation targetDataset,
com.orchestranetworks.service.Session session)
Transfers a table and is used outside of a
UIService. |
TransferConfigurationSpec(DataExchangeServiceContext dexServiceContext)
Transfers tables based on a
DataExchangeServiceContext. |
TransferConfigurationSpec(EBXTable sourceTable,
TableFilter tableFilter,
com.onwbp.adaptation.Adaptation targetDataset,
com.orchestranetworks.service.Session session)
Transfers a table with filter and is used outside of 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.
|
ImportMode |
getImportMode()
Returns the specified import mode.
|
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 a
Table instance as the key
parameter. |
List<EBXTable> |
getSourceTables()
Returns the list of source tables.
|
com.onwbp.adaptation.Adaptation |
getTargetDataset()
Returns the target dataset.
|
boolean |
isComputedValueIncluded()
Returns
true if the computed values on the source tables are
transferred to the target tables. |
boolean |
isEmptyOrNullPrimaryKeyChecked()
Returns
true if all empty or null primary keys
were checked before data import and false if this
verification was not performed. |
boolean |
isEmptyOrNullValueIgnored()
Returns
true if all empty or null values are
ignored in the process of importing data. |
boolean |
isImportForced()
Returns
true if all triggers and constraints are disabled in
the process of importing data. |
boolean |
isStopAndRollBackOnError()
Returns
true if all executed transfers have been successful
and the whole transaction committed. |
void |
setComputedValueIncluded(boolean computedValueIncluded)
Sets whether to transfer the computed values on the source tables to the
target tables.
|
void |
setEmptyOrNullPrimaryKeyChecked(boolean emptyOrNullPrimaryKeyChecked)
Sets whether all empty or
null primary keys were checked
before data import and false if this verification was not
performed. |
void |
setEmptyOrNullValueIgnored(boolean emptyOrNullValueIgnored)
Sets whether all empty or
null values are ignored in the
process of importing data. |
void |
setImportForced(boolean importForced)
Sets whether all triggers and constraints are disabled in the process of
importing data.
|
void |
setImportMode(ImportMode importMode)
Sets the import mode.
|
void |
setStopAndRollBackOnError(boolean stopAndRollBackOnError)
Sets whether the all executed transfers have been successful and the whole transaction committed.
|
public TransferConfigurationSpec(com.onwbp.adaptation.Adaptation sourceDataset,
List<EBXTable> sourceTables,
com.onwbp.adaptation.Adaptation targetDataset,
com.orchestranetworks.service.Session session)
throws DataExchangeException
UIService.DataExchangeExceptionpublic TransferConfigurationSpec(com.onwbp.adaptation.Adaptation sourceDataset,
List<EBXTable> sourceTables,
Map<EBXTable,TableFilter> sourceTableFilters,
com.onwbp.adaptation.Adaptation targetDataset,
com.orchestranetworks.service.Session session)
throws DataExchangeException
UIService.DataExchangeExceptionpublic TransferConfigurationSpec(DataExchangeServiceContext dexServiceContext) throws DataExchangeException
DataExchangeServiceContext.DataExchangeExceptionpublic TransferConfigurationSpec(com.onwbp.adaptation.AdaptationTable currentTable,
com.onwbp.adaptation.Adaptation targetDataset,
com.orchestranetworks.service.Session session)
throws DataExchangeException
UIService.DataExchangeExceptionpublic TransferConfigurationSpec(EBXTable sourceTable, TableFilter tableFilter, com.onwbp.adaptation.Adaptation targetDataset, com.orchestranetworks.service.Session session) throws DataExchangeException
UIService.DataExchangeExceptionpublic ServiceType getServiceType()
getServiceType in interface ConfigurationSpec<EBXTable>public boolean isImportForced()
true if all triggers and constraints are disabled in
the process of importing data.isImportForced in interface ImportConfigurationSpec<EBXTable>public final void setImportForced(boolean importForced)
public ImportMode getImportMode()
getImportMode in interface ImportConfigurationSpec<EBXTable>public final void setImportMode(ImportMode importMode)
public boolean isEmptyOrNullValueIgnored()
true if all empty or null values are
ignored in the process of importing data.isEmptyOrNullValueIgnored in interface ImportConfigurationSpec<EBXTable>public final void setEmptyOrNullValueIgnored(boolean emptyOrNullValueIgnored)
null values are ignored in the
process of importing data.public final boolean isComputedValueIncluded()
true if the computed values on the source tables are
transferred to the target tables.public final void setComputedValueIncluded(boolean computedValueIncluded)
public boolean isEmptyOrNullPrimaryKeyChecked()
true if all empty or null primary keys
were checked before data import and false if this
verification was not performed.isEmptyOrNullPrimaryKeyChecked in interface ImportConfigurationSpec<EBXTable>public final void setEmptyOrNullPrimaryKeyChecked(boolean emptyOrNullPrimaryKeyChecked)
null primary keys were checked
before data import and false if this verification was not
performed.public com.onwbp.adaptation.Adaptation getTargetDataset()
public List<EBXTable> getSourceTables()
getSourceTables in interface ConfigurationSpec<EBXTable>public Map<EBXTable,TableFilter> getSourceTableFilters()
Table instance as the key
parameter. Returns null when importing CSV, Excel and XML.getSourceTableFilters in interface ConfigurationSpec<EBXTable>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 boolean isStopAndRollBackOnError()
true if all executed transfers have been successful
and the whole transaction committed.public void setStopAndRollBackOnError(boolean stopAndRollBackOnError)