Class CmsUpdateDBHistoryTables
- java.lang.Object
-
- org.opencms.setup.db.A_CmsUpdateDBPart
-
- org.opencms.setup.db.update6to7.CmsUpdateDBHistoryTables
-
- org.opencms.setup.db.update6to7.mysql.CmsUpdateDBHistoryTables
-
- All Implemented Interfaces:
I_CmsUpdateDBPart
public class CmsUpdateDBHistoryTables extends 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.
-
-
Field Summary
-
Fields inherited from class org.opencms.setup.db.A_CmsUpdateDBPart
m_poolData, m_queries
-
-
Constructor Summary
Constructors Constructor Description CmsUpdateDBHistoryTables()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getPropertyFileLocation()
Returns the default property file location.-
Methods inherited from class org.opencms.setup.db.update6to7.CmsUpdateDBHistoryTables
internalExecute
-
Methods inherited from class org.opencms.setup.db.A_CmsUpdateDBPart
execute, getPoolData, isKeepHistory, loadQueryProperties, readQuery
-
-
-
-
Constructor Detail
-
CmsUpdateDBHistoryTables
public CmsUpdateDBHistoryTables() throws java.io.IOException
Constructor.- Throws:
java.io.IOException
- if the sql queries properties file could not be read
-
-
Method Detail
-
getPropertyFileLocation
protected java.lang.String getPropertyFileLocation()
Description copied from class:A_CmsUpdateDBPart
Returns the default property file location.- Overrides:
getPropertyFileLocation
in classA_CmsUpdateDBPart
- Returns:
- the default property file location
- See Also:
A_CmsUpdateDBPart.getPropertyFileLocation()
-
-