Class DeleteSqlTableComponent
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.plugins.contentio.export.sql.DeleteSqlTableComponent
-
- All Implemented Interfaces:
LogEnabled
,Component
,Serviceable
public class DeleteSqlTableComponent extends AbstractLogEnabled implements Component, Serviceable
Delete existing table for export
-
-
Field Summary
Fields Modifier and Type Field Description protected I18nUtils
_i18nTranslator
The i18n translator.static String
ROLE
The component role
-
Constructor Summary
Constructors Constructor Description DeleteSqlTableComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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 Detail
-
_i18nTranslator
protected I18nUtils _i18nTranslator
The i18n translator.
-
-
Constructor Detail
-
DeleteSqlTableComponent
public DeleteSqlTableComponent()
-
-
Method Detail
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
deleteExistingSqlTables
public void deleteExistingSqlTables(ExportConfiguration exportConfiguration) throws SQLException
Delete all tables of a preceding content export- Parameters:
exportConfiguration
- the content export configuration- Throws:
SQLException
- if an error occurred while deleting tables
-
-