Class ExportConfiguration
java.lang.Object
org.ametys.plugins.contentio.export.sql.ExportConfiguration
Configuration object for the export
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Return true if we export no multivalued tableboolean
Return true if we export only validated contentGet the content type to exportGet the mapping policyGet the sql mappingGet the map of reserved wordsGet the separator for multivalued dataGet the table prefixvoid
setContentTypesToExport
(Map<String, String> contentTypesToExport) Set the content type to exportvoid
setExportNoMultiValuedTable
(boolean exportNoMultiValuedTable) Set the parameter to export no multivalued tablevoid
setExportOnlyValidatedContent
(boolean onlyValidatedContent) Set the parameter to export only validated contentvoid
setMappingPolicy
(String mappingPolicy) Set the mapping policyvoid
Set the sql mappingvoid
Set the map of reserved wordsvoid
setSeparator
(String separator) Set the separator for multivalued datavoid
setTablePrefix
(String tablePrefix) Set the table prefix
-
Constructor Details
-
ExportConfiguration
public ExportConfiguration()Constructor
-
-
Method Details
-
getTablePrefix
Get the table prefix- Returns:
- table prefix
-
setTablePrefix
Set the table prefix- Parameters:
tablePrefix
- the table name prefix
-
getMappingSql
Get the sql mapping- Returns:
- the sql mapping
-
setMappingSql
Set the sql mapping- Parameters:
mappingSql
- the sql mapping
-
getContentTypesToExport
Get the content type to export- Returns:
- the content type to export
-
setContentTypesToExport
Set the content type to export- Parameters:
contentTypesToExport
- the map of content type to export
-
getMappingPolicy
Get the mapping policy- Returns:
- the mapping policy
-
setMappingPolicy
Set the mapping policy- Parameters:
mappingPolicy
- the mapping policy
-
exportOnlyValidatedContent
Return true if we export only validated content- Returns:
- true if we export only validated content
-
setExportOnlyValidatedContent
Set the parameter to export only validated content- Parameters:
onlyValidatedContent
- true if you want to export only validated content
-
exportNoMultiValuedTable
Return true if we export no multivalued table- Returns:
- true if we export no multivalued table
-
setExportNoMultiValuedTable
Set the parameter to export no multivalued table- Parameters:
exportNoMultiValuedTable
- true if you want to export no multivalued table
-
getSeparator
Get the separator for multivalued data- Returns:
- the separator
-
setSeparator
Set the separator for multivalued data- Parameters:
separator
- the separator
-
getReservedWords
Get the map of reserved words- Returns:
- the map of reserved words
-
setReservedWords
Set the map of reserved words- Parameters:
reservedWords
- the map of reserved words
-