Package org.opencms.setup.db.update6to7
Class CmsUpdateDBDropBackupTables
java.lang.Object
org.opencms.setup.db.A_CmsUpdateDBPart
org.opencms.setup.db.update6to7.CmsUpdateDBDropBackupTables
- All Implemented Interfaces:
I_CmsUpdateDBPart
- Direct Known Subclasses:
CmsUpdateDBDropBackupTables
,CmsUpdateDBDropBackupTables
,CmsUpdateDBDropBackupTables
This class drops the CMS_BACKUP tables that are no longer used after all the transfers are finished.
The tables to drop are
- CMS_BACKUP_PROJECTRESOURCES
- CMS_BACKUP_PROJECTS
- CMS_BACKUP_PROPERTIES
- CMS_BACKUP_PROPERTYDEF
- CMS_BACKUP_RESOURCES
- CMS_BACKUP_STRUCTURE
- Since:
- 7.0.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final String[]
Array of the BACKUP tables that are to be dropped.Constant ArrayList of the BACKUP_TABLES that are to be dropped.protected static final String
Constant for the replacement of the tablename in the sql query.Fields inherited from class org.opencms.setup.db.A_CmsUpdateDBPart
m_poolData, m_queries
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
internalExecute
(CmsSetupDb dbCon) Does the hard work.Methods inherited from class org.opencms.setup.db.A_CmsUpdateDBPart
execute, getPoolData, getPropertyFileLocation, isKeepHistory, loadQueryProperties, readQuery
-
Field Details
-
BACKUP_TABLES
Array of the BACKUP tables that are to be dropped. -
BACKUP_TABLES_LIST
Constant ArrayList of the BACKUP_TABLES that are to be dropped. -
REPLACEMENT_TABLENAME
Constant for the replacement of the tablename in the sql query.- See Also:
-
-
Constructor Details
-
CmsUpdateDBDropBackupTables
Constructor.- Throws:
IOException
- if the query properties cannot be read
-
-
Method Details
-
internalExecute
Description copied from class:A_CmsUpdateDBPart
Does the hard work.- Specified by:
internalExecute
in classA_CmsUpdateDBPart
- Parameters:
dbCon
- the db connection interface- See Also:
-