public class DeleteSqlTableComponent extends AbstractLogEnabled implements Component, Serviceable
Modifier and Type | Field and Description |
---|---|
protected I18nUtils |
_i18nTranslator
The i18n translator.
|
static String |
ROLE
The component role
|
Constructor and Description |
---|
DeleteSqlTableComponent() |
Modifier and Type | Method and Description |
---|---|
private void |
_deleteMysqlTable(ResultSet rs,
Connection connection) |
private void |
_deleteOracleTable(ResultSet rs,
Connection connection) |
void |
deleteExistingSqlTables(ExportConfiguration exportConfiguration)
Delete all tables of a preceding content export
|
void |
service(ServiceManager manager) |
getLogger, setLogger
protected I18nUtils _i18nTranslator
public DeleteSqlTableComponent()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
ServiceException
public void deleteExistingSqlTables(ExportConfiguration exportConfiguration) throws SQLException
exportConfiguration
- the content export configurationSQLException
- if an error occurred while deleting tablesprivate void _deleteMysqlTable(ResultSet rs, Connection connection) throws SQLException
SQLException
private void _deleteOracleTable(ResultSet rs, Connection connection) throws SQLException
SQLException