Class ExportConfiguration
- java.lang.Object
-
- org.ametys.plugins.contentio.export.sql.ExportConfiguration
-
public class ExportConfiguration extends Object
Configuration object for the export
-
-
Constructor Summary
Constructors Constructor Description ExportConfiguration()
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
exportNoMultiValuedTable()
Return true if we export no multivalued tableboolean
exportOnlyValidatedContent()
Return true if we export only validated contentMap<String,String>
getContentTypesToExport()
Get the content type to exportString
getMappingPolicy()
Get the mapping policyMap<String,Map<String,String>>
getMappingSql()
Get the sql mappingMap<String,Map<String,String>>
getReservedWords()
Get the map of reserved wordsString
getSeparator()
Get the separator for multivalued dataString
getTablePrefix()
Get 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
setMappingSql(Map<String,Map<String,String>> mappingSql)
Set the sql mappingvoid
setReservedWords(Map<String,Map<String,String>> reservedWords)
Set the map of reserved wordsvoid
setSeparator(String separator)
Set the separator for multivalued datavoid
setTablePrefix(String tablePrefix)
Set the table prefix
-
-
-
Constructor Detail
-
ExportConfiguration
public ExportConfiguration()
Constructor
-
-
Method Detail
-
getTablePrefix
public String getTablePrefix()
Get the table prefix- Returns:
- table prefix
-
setTablePrefix
public void setTablePrefix(String tablePrefix)
Set the table prefix- Parameters:
tablePrefix
- the table name prefix
-
getMappingSql
public Map<String,Map<String,String>> getMappingSql()
Get the sql mapping- Returns:
- the sql mapping
-
setMappingSql
public void setMappingSql(Map<String,Map<String,String>> mappingSql)
Set the sql mapping- Parameters:
mappingSql
- the sql mapping
-
getContentTypesToExport
public Map<String,String> getContentTypesToExport()
Get the content type to export- Returns:
- the content type to export
-
setContentTypesToExport
public void setContentTypesToExport(Map<String,String> contentTypesToExport)
Set the content type to export- Parameters:
contentTypesToExport
- the map of content type to export
-
getMappingPolicy
public String getMappingPolicy()
Get the mapping policy- Returns:
- the mapping policy
-
setMappingPolicy
public void setMappingPolicy(String mappingPolicy)
Set the mapping policy- Parameters:
mappingPolicy
- the mapping policy
-
exportOnlyValidatedContent
public boolean exportOnlyValidatedContent()
Return true if we export only validated content- Returns:
- true if we export only validated content
-
setExportOnlyValidatedContent
public void setExportOnlyValidatedContent(boolean onlyValidatedContent)
Set the parameter to export only validated content- Parameters:
onlyValidatedContent
- true if you want to export only validated content
-
exportNoMultiValuedTable
public boolean exportNoMultiValuedTable()
Return true if we export no multivalued table- Returns:
- true if we export no multivalued table
-
setExportNoMultiValuedTable
public void setExportNoMultiValuedTable(boolean exportNoMultiValuedTable)
Set the parameter to export no multivalued table- Parameters:
exportNoMultiValuedTable
- true if you want to export no multivalued table
-
getSeparator
public String getSeparator()
Get the separator for multivalued data- Returns:
- the separator
-
setSeparator
public void setSeparator(String separator)
Set the separator for multivalued data- Parameters:
separator
- the separator
-
getReservedWords
public Map<String,Map<String,String>> getReservedWords()
Get the map of reserved words- Returns:
- the map of reserved words
-
-