Class CmsUpdateDBContentTables
java.lang.Object
org.opencms.setup.db.A_CmsUpdateDBPart
org.opencms.setup.db.update6to7.CmsUpdateDBContentTables
org.opencms.setup.db.update6to7.oracle.CmsUpdateDBContentTables
- All Implemented Interfaces:
I_CmsUpdateDBPart
Oracle implementation of the generic update of the contents tables.
- Since:
- 7.0.0
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final String
Constant for the sql query to transfer the online contents.protected static final String
Constant for the sql query to transfer the online contents.protected static final String
Constant for the sql query to transfer the online contents.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.protected void
transferOnlineContents
(CmsSetupDb dbCon, int pubTag) Transfers the online content.Methods inherited from class org.opencms.setup.db.update6to7.CmsUpdateDBContentTables
internalExecute
Methods inherited from class org.opencms.setup.db.A_CmsUpdateDBPart
execute, getPoolData, getPropertyFileLocation, isKeepHistory, loadQueryProperties, readQuery
-
Field Details
-
QUERY_UPDATE_ONLINE_CONTENTS_PUBLISH_TAG_FROM
Constant for the sql query to transfer the online contents.- See Also:
-
QUERY_UPDATE_ONLINE_CONTENTS_PUBLISH_TAG_FROM2
Constant for the sql query to transfer the online contents.- See Also:
-
QUERY_UPDATE_ONLINE_CONTENTS_PUBLISH_TAG_TO
Constant for the sql query to transfer the online contents.- See Also:
-
-
Constructor Details
-
CmsUpdateDBContentTables
Constructor.- Throws:
IOException
- if the sql queries properties file could not be read
-
-
Method Details
-
createContentsTable
Description copied from class:CmsUpdateDBContentTables
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- See Also:
-
transferOnlineContents
Description copied from class:CmsUpdateDBContentTables
Transfers the online content.- Overrides:
transferOnlineContents
in classCmsUpdateDBContentTables
- Parameters:
dbCon
- the db connection interfacepubTag
- the publish tag to use- Throws:
SQLException
- if something goes wrong- See Also:
-