public abstract class FileImportConfigurationSpec<T extends Table> extends Object implements ImportConfigurationSpec<T>
Constructor and Description |
---|
FileImportConfigurationSpec() |
Modifier and Type | Method and Description |
---|---|
String |
getErrorFilePath()
Returns the path of exported file containing invalid data.
|
File |
getImportedFile()
Returns the imported file.
|
ImportMode |
getImportMode()
Returns the specified import mode.
|
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 |
isHeaderUsed()
Returns
true if the first row of every column in the file contains the column label in the Excel/CSV file, or the imported XML file contains the {addon.label} header. |
boolean |
isImportForced()
Returns
true if all triggers and constraints are disabled in the process of importing data. |
boolean |
isInvalidDataDownloaded()
Returns
true if all records with errors in their data rows are exported to a downloadable file. |
void |
setEmptyOrNullPrimaryKeyChecked(boolean emptyOrNullPrimaryKeyChecked)
Sets whether all empty or
null primary keys were checked before data import. |
void |
setEmptyOrNullValueIgnored(boolean emptyOrNullValueIgnored)
Sets whether all empty or
null values are ignored in the process of importing data. |
void |
setErrorFilePath(String errorFilePath)
Sets the path of the exported file containing invalid data.
|
void |
setHeaderUsed(boolean headerUsed)
Sets whether the first row of every column in the file contains the column label in the Excel/CSV file, or the imported XML file contains the {addon.label} header.
|
void |
setImportedFile(File importedFile)
Sets an imported file to the specified value.
|
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 |
setInvalidDataDownloaded(boolean invalidDataDownloaded)
Sets whether all records with errors in their data rows are exported to a downloadable file.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCurrentDataset, getCurrentTable, getServiceType, getSession, getSourceTableFilters, getSourceTables
public final boolean isImportForced()
true
if all triggers and constraints are disabled in the process of importing data.isImportForced
in interface ImportConfigurationSpec<T extends Table>
public final void setImportForced(boolean importForced)
public final ImportMode getImportMode()
getImportMode
in interface ImportConfigurationSpec<T extends Table>
public final void setImportMode(ImportMode importMode)
public final boolean isEmptyOrNullValueIgnored()
true
if all empty or null
values are ignored in the process of importing data.isEmptyOrNullValueIgnored
in interface ImportConfigurationSpec<T extends Table>
public final void setEmptyOrNullValueIgnored(boolean emptyOrNullValueIgnored)
null
values are ignored in the process of importing data.public final 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<T extends Table>
public final void setEmptyOrNullPrimaryKeyChecked(boolean emptyOrNullPrimaryKeyChecked)
null
primary keys were checked before data import.public final boolean isHeaderUsed()
true
if the first row of every column in the file contains the column label in the Excel/CSV file, or the imported XML file contains the {addon.label} header.public final void setHeaderUsed(boolean headerUsed)
public final File getImportedFile()
public final void setImportedFile(File importedFile)
public final boolean isInvalidDataDownloaded()
true
if all records with errors in their data rows are exported to a downloadable file.public final void setInvalidDataDownloaded(boolean invalidDataDownloaded)
public String getErrorFilePath()
public void setErrorFilePath(String errorFilePath)