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
public class CmsUpdateDBContentTables extends CmsUpdateDBContentTables
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
Constructors Constructor Description CmsUpdateDBContentTables()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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 Detail
-
CmsUpdateDBContentTables
public CmsUpdateDBContentTables() throws java.io.IOException
Constructor.- Throws:
java.io.IOException
- if the query properties cannot be read
-
-
Method Detail
-
createContentsTable
protected void createContentsTable(CmsSetupDb dbCon) throws java.sql.SQLException
Creates the CMS_CONTENTS table if it does not exist yet.- Overrides:
createContentsTable
in classCmsUpdateDBContentTables
- Parameters:
dbCon
- the db connection interface- Throws:
java.sql.SQLException
- if something goes wrong
-
-