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
public class CmsUpdateDBDropBackupTables extends A_CmsUpdateDBPart
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
Fields Modifier and Type Field Description protected static java.lang.String[]
BACKUP_TABLES
Array of the BACKUP tables that are to be dropped.protected static java.util.List<java.lang.String>
BACKUP_TABLES_LIST
Constant ArrayList of the BACKUP_TABLES that are to be dropped.protected static java.lang.String
REPLACEMENT_TABLENAME
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 Constructor Description CmsUpdateDBDropBackupTables()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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 Detail
-
BACKUP_TABLES
protected static final java.lang.String[] BACKUP_TABLES
Array of the BACKUP tables that are to be dropped.
-
BACKUP_TABLES_LIST
protected static final java.util.List<java.lang.String> BACKUP_TABLES_LIST
Constant ArrayList of the BACKUP_TABLES that are to be dropped.
-
REPLACEMENT_TABLENAME
protected static final java.lang.String REPLACEMENT_TABLENAME
Constant for the replacement of the tablename in the sql query.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CmsUpdateDBDropBackupTables
public CmsUpdateDBDropBackupTables() throws java.io.IOException
Constructor.- Throws:
java.io.IOException
- if the query properties cannot be read
-
-
Method Detail
-
internalExecute
protected void internalExecute(CmsSetupDb dbCon)
Description copied from class:A_CmsUpdateDBPart
Does the hard work.- Specified by:
internalExecute
in classA_CmsUpdateDBPart
- Parameters:
dbCon
- the db connection interface- See Also:
A_CmsUpdateDBPart.internalExecute(org.opencms.setup.CmsSetupDb)
-
-