Class CmsUpdateDBContentTables
java.lang.Object
org.opencms.setup.db.A_CmsUpdateDBPart
org.opencms.setup.db.update6to7.CmsUpdateDBContentTables
org.opencms.setup.db.update6to7.mysql.CmsUpdateDBContentTables
- All Implemented Interfaces:
I_CmsUpdateDBPart
This class creates the table CMS_CONTENTS and fills it with data from the tables CMS_BACKUP_CONTENTS and CMS_ONLINE_CONTENTS.
-
Field Summary
Fields inherited from class org.opencms.setup.db.update6to7.CmsUpdateDBContentTables
QUERY_CREATE_CMS_CONTENTS_TABLE, QUERY_TRANSFER_ONLINE_CONTENTS, TABLE_CMS_CONTENTS
Fields inherited from class org.opencms.setup.db.A_CmsUpdateDBPart
m_poolData, m_queries
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
createContentsTable
(CmsSetupDb dbCon) Creates the CMS_CONTENTS table if it does not exist yet.Methods inherited from class org.opencms.setup.db.update6to7.CmsUpdateDBContentTables
internalExecute, transferOnlineContents
Methods inherited from class org.opencms.setup.db.A_CmsUpdateDBPart
execute, getPoolData, getPropertyFileLocation, isKeepHistory, loadQueryProperties, readQuery
-
Constructor Details
-
CmsUpdateDBContentTables
Constructor.- Throws:
IOException
- if the query properties cannot be read
-
-
Method Details
-
createContentsTable
Creates the CMS_CONTENTS table if it does not exist yet.- Overrides:
createContentsTable
in classCmsUpdateDBContentTables
- Parameters:
dbCon
- the db connection interface- Throws:
SQLException
- if something goes wrong
-