public abstract class FileExportConfigurationSpec extends Object implements ExportConfigurationSpec<EBXTable>
Constructor and Description |
---|
FileExportConfigurationSpec(com.onwbp.adaptation.AdaptationTable currentTable,
com.orchestranetworks.service.Session session)
Exports a table outside of a
UIService . |
FileExportConfigurationSpec(com.orchestranetworks.service.ServiceContext serviceContext)
Exports 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.
|
Locale |
getLocale()
Returns the specific locale.
|
com.orchestranetworks.service.Session |
getSession()
Returns the current session.
|
boolean |
isComputedValueIncluded()
Returns
true if the exported XML file contains computed values. |
boolean |
isDataFromReferencedTablesExported()
Returns
true if the export includes the related data from the
referenced tables. |
boolean |
isDataReferencingSelectedRecordExported()
Returns
true if the export includes the related data from tables
that reference the selected record. |
boolean |
isHeaderExported()
Returns
true if the first row of every column in the file
contains the column label in the Excel, CSV file or the exported XML file
contains {addon.label} header. |
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 XML file.
|
void |
setDataFromReferencedTablesExported(boolean dataFromReferencedTablesExported)
Sets whether the export includes the related data from the referenced tables.
|
void |
setDataReferencingSelectedRecordExported(boolean dataReferencingSelectedRecordExported)
Sets whether the export includes related data from tables that reference the
selected record.
|
void |
setHeaderExported(boolean headerExported)
Sets whether the first row of every column in the file contains the column
label in the Excel, CSV file or the exported XML file contains {addon.label}
header.
|
void |
setLocale(Locale locale)
Sets the specific locale.
|
void |
setWriteAccessLockDisabled(boolean writeAccessLockDisabled)
Deprecated.
Since 3.0.0, the 'Disable write access lock' option was removed
from the add-on.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getServiceType, getSourceTableFilters, getSourceTables
public FileExportConfigurationSpec(com.orchestranetworks.service.ServiceContext serviceContext) throws DataExchangeException
UIService
.DataExchangeException
public FileExportConfigurationSpec(com.onwbp.adaptation.AdaptationTable currentTable, com.orchestranetworks.service.Session session) throws DataExchangeException
UIService
.DataExchangeException
public final boolean isWriteAccessLockDisabled()
isWriteAccessLockDisabled
in interface ExportConfigurationSpec<EBXTable>
public final void setWriteAccessLockDisabled(boolean writeAccessLockDisabled)
public final boolean isHeaderExported()
true
if the first row of every column in the file
contains the column label in the Excel, CSV file or the exported XML file
contains {addon.label} header.public final void setHeaderExported(boolean headerExported)
public final boolean isComputedValueIncluded()
true
if the exported XML file contains computed values.isComputedValueIncluded
in interface ExportConfigurationSpec<EBXTable>
public final void setComputedValueIncluded(boolean computedValueIncluded)
public final com.onwbp.adaptation.Adaptation getCurrentDataset()
getCurrentDataset
in interface ConfigurationSpec<EBXTable>
public final com.onwbp.adaptation.AdaptationTable getCurrentTable()
getCurrentTable
in interface ConfigurationSpec<EBXTable>
public final com.orchestranetworks.service.Session getSession()
getSession
in interface ConfigurationSpec<EBXTable>
public final Locale getLocale()
public final void setLocale(Locale locale)
public boolean isDataFromReferencedTablesExported()
true
if the export includes the related data from the
referenced tables. The export includes data referenced by a foreign key from
the exported record(s). This option is only available when exporting a single
table, it does not support exporting multiple tables.public void setDataFromReferencedTablesExported(boolean dataFromReferencedTablesExported)
public boolean isDataReferencingSelectedRecordExported()
true
if the export includes the related data from tables
that reference the selected record. The export includes data from tables that
hold a relationship to the exported record. This option is only available
when exporting a single record.public void setDataReferencingSelectedRecordExported(boolean dataReferencingSelectedRecordExported)