Package org.opencms.setup.db.update6to7
Class CmsUpdateDBHistoryTables
java.lang.Object
org.opencms.setup.db.A_CmsUpdateDBPart
org.opencms.setup.db.update6to7.CmsUpdateDBHistoryTables
- All Implemented Interfaces:
I_CmsUpdateDBPart
- Direct Known Subclasses:
CmsUpdateDBHistoryTables
,CmsUpdateDBHistoryTables
,CmsUpdateDBHistoryTables
This class converts the backup tables to history tables.
The following tables are converted CMS_BACKUP_PROJECTRESOURCES CMS_BACKUP_PROPERTIES CMS_BACKUP_PROPERTYDEF CMS_BACKUP_RESOURCES CMS_BACKUP_STRUCTURE The tables CMS_HISTORY_PRINCIPALS and CMS_HISTORY_PROJECTS are created in other classes. CMS_HISTORY_PRINCIPALS is a completely new table and is therefor handled by its own class. CMS_HISTORY_PROJECTS needs extra conversion beyond the execution of SQL statements and is also handled by a special class.
- Since:
- 7.0.0
-
Field Summary
Fields inherited from class org.opencms.setup.db.A_CmsUpdateDBPart
m_poolData, m_queries
-
Constructor Summary
-
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
-
Constructor Details
-
CmsUpdateDBHistoryTables
Constructor.- Throws:
IOException
- if the sql queries properties file could not 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- Throws:
SQLException
- if something goes wrong- See Also:
-