Class ExportConfiguration

java.lang.Object
org.ametys.plugins.contentio.export.sql.ExportConfiguration

public class ExportConfiguration extends Object
Configuration object for the export
  • Constructor Details

  • Method Details

    • 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

      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

      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

      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

      Get the map of reserved words
      Returns:
      the map of reserved words
    • setReservedWords

      public void setReservedWords(Map<String,Map<String,String>> reservedWords)
      Set the map of reserved words
      Parameters:
      reservedWords - the map of reserved words