Class DeleteSqlTableComponent
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.plugins.contentio.export.sql.DeleteSqlTableComponent
- All Implemented Interfaces:
LogEnabled
,Component
,Serviceable
Delete existing table for export
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteExistingSqlTables
(ExportConfiguration exportConfiguration) Delete all tables of a preceding content exportvoid
service
(ServiceManager manager) Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Field Details
-
ROLE
The component role -
_i18nTranslator
The i18n translator.
-
-
Constructor Details
-
DeleteSqlTableComponent
public DeleteSqlTableComponent()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
deleteExistingSqlTables
Delete all tables of a preceding content export- Parameters:
exportConfiguration
- the content export configuration- Throws:
SQLException
- if an error occurred while deleting tables
-