Class CmsUpdateDBContentTables
java.lang.Object
org.opencms.setup.db.A_CmsUpdateDBPart
org.opencms.setup.db.update6to7.CmsUpdateDBContentTables
org.opencms.setup.db.update6to7.postgresql.CmsUpdateDBContentTables
- All Implemented Interfaces:
I_CmsUpdateDBPart
PostgreSQL implementation of the generic update of the contents tables.
- Since:
- 7.0.2
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final StringConstant for the sql query to transfer the online contents.protected static final StringConstant 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_CONTENTSFields inherited from class org.opencms.setup.db.A_CmsUpdateDBPart
m_poolData, m_queries -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcreateContentsTable(CmsSetupDb dbCon) Creates the CMS_CONTENTS table if it does not exist yet.protected voidtransferOnlineContents(CmsSetupDb dbCon, int pubTag) Transfers the online content.Methods inherited from class org.opencms.setup.db.update6to7.CmsUpdateDBContentTables
internalExecuteMethods 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_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:CmsUpdateDBContentTablesCreates the CMS_CONTENTS table if it does not exist yet.- Overrides:
createContentsTablein classCmsUpdateDBContentTables- Parameters:
dbCon- the db connection interface- Throws:
SQLException- if something goes wrong- See Also:
-
transferOnlineContents
Description copied from class:CmsUpdateDBContentTablesTransfers the online content.- Overrides:
transferOnlineContentsin classCmsUpdateDBContentTables- Parameters:
dbCon- the db connection interfacepubTag- the publish tag to use- Throws:
SQLException- if something goes wrong- See Also:
-