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
public class CmsUpdateDBContentTables extends CmsUpdateDBContentTables
Oracle implementation of the generic update of the contents tables.- Since:
- 7.0.0
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
QUERY_UPDATE_ONLINE_CONTENTS_PUBLISH_TAG_FROM
Constant for the sql query to transfer the online contents.protected static java.lang.String
QUERY_UPDATE_ONLINE_CONTENTS_PUBLISH_TAG_FROM2
Constant for the sql query to transfer the online contents.protected static java.lang.String
QUERY_UPDATE_ONLINE_CONTENTS_PUBLISH_TAG_TO
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
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.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 Detail
-
QUERY_UPDATE_ONLINE_CONTENTS_PUBLISH_TAG_FROM
protected static final java.lang.String QUERY_UPDATE_ONLINE_CONTENTS_PUBLISH_TAG_FROM
Constant for the sql query to transfer the online contents.- See Also:
- Constant Field Values
-
QUERY_UPDATE_ONLINE_CONTENTS_PUBLISH_TAG_FROM2
protected static final java.lang.String QUERY_UPDATE_ONLINE_CONTENTS_PUBLISH_TAG_FROM2
Constant for the sql query to transfer the online contents.- See Also:
- Constant Field Values
-
QUERY_UPDATE_ONLINE_CONTENTS_PUBLISH_TAG_TO
protected static final java.lang.String QUERY_UPDATE_ONLINE_CONTENTS_PUBLISH_TAG_TO
Constant for the sql query to transfer the online contents.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CmsUpdateDBContentTables
public CmsUpdateDBContentTables() throws java.io.IOException
Constructor.- Throws:
java.io.IOException
- if the sql queries properties file could not be read
-
-
Method Detail
-
createContentsTable
protected void createContentsTable(CmsSetupDb dbCon) throws java.sql.SQLException
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:
java.sql.SQLException
- if something goes wrong- See Also:
CmsUpdateDBContentTables.createContentsTable(org.opencms.setup.CmsSetupDb)
-
transferOnlineContents
protected void transferOnlineContents(CmsSetupDb dbCon, int pubTag) throws java.sql.SQLException
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:
java.sql.SQLException
- if something goes wrong- See Also:
CmsUpdateDBContentTables.transferOnlineContents(org.opencms.setup.CmsSetupDb, int)
-
-