org.opencms.setup.update6to7.oracle
Class CmsUpdateDBContentTables

java.lang.Object
  extended by org.opencms.setup.update6to7.A_CmsUpdateDBPart
      extended by org.opencms.setup.update6to7.generic.CmsUpdateDBContentTables
          extended by org.opencms.setup.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
Version:
$Revision: 1.2 $
Author:
Roland Metzler, Peter Bonrad

Field Summary
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_TO
          Constant for the sql query to transfer the online contents.
 
Fields inherited from class org.opencms.setup.update6to7.generic.CmsUpdateDBContentTables
QUERY_CREATE_CMS_CONTENTS_TABLE, QUERY_TRANSFER_ONLINE_CONTENTS, TABLE_CMS_CONTENTS
 
Fields inherited from class org.opencms.setup.update6to7.A_CmsUpdateDBPart
m_poolData, m_queries, QUERY_PROPERTIES_PREFIX
 
Constructor Summary
CmsUpdateDBContentTables()
          Constructor.
 
Method Summary
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.update6to7.generic.CmsUpdateDBContentTables
internalExecute
 
Methods inherited from class org.opencms.setup.update6to7.A_CmsUpdateDBPart
execute, getDbInstance, getPoolData, isKeepHistory, loadQueryProperties, readQuery, setPoolData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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_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 class CmsUpdateDBContentTables
Parameters:
dbCon - the db connection interface
Throws:
java.sql.SQLException - if soemthing 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 class CmsUpdateDBContentTables
Parameters:
dbCon - the db connection interface
pubTag - the publish tag to use
Throws:
java.sql.SQLException - if something goes wrong
See Also:
CmsUpdateDBContentTables.transferOnlineContents(org.opencms.setup.CmsSetupDb, int)