|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.setup.update6to7.A_CmsUpdateDBPart
org.opencms.setup.update6to7.generic.CmsUpdateDBHistoryTables
public class 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.update6to7.A_CmsUpdateDBPart |
---|
m_poolData, m_queries, QUERY_PROPERTIES_PREFIX |
Constructor Summary | |
---|---|
CmsUpdateDBHistoryTables()
Constructor. |
Method Summary | |
---|---|
protected void |
internalExecute(CmsSetupDb dbCon)
Does the hard work. |
Methods inherited from class org.opencms.setup.update6to7.A_CmsUpdateDBPart |
---|
execute, getDbInstance, getPoolData, isKeepHistory, loadQueryProperties, readQuery, setPoolData |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CmsUpdateDBHistoryTables() throws java.io.IOException
java.io.IOException
- if the sql queries properties file could not be readMethod Detail |
---|
protected void internalExecute(CmsSetupDb dbCon) throws java.sql.SQLException
A_CmsUpdateDBPart
internalExecute
in class A_CmsUpdateDBPart
dbCon
- the db connection interface
java.sql.SQLException
- if somethign goes wrongA_CmsUpdateDBPart.internalExecute(org.opencms.setup.CmsSetupDb)
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |