org.opencms.setup.update6to7.oracle
Class CmsUpdateDBHistoryPrincipals

java.lang.Object
  extended by org.opencms.setup.update6to7.A_CmsUpdateDBPart
      extended by org.opencms.setup.update6to7.generic.CmsUpdateDBHistoryPrincipals
          extended by org.opencms.setup.update6to7.oracle.CmsUpdateDBHistoryPrincipals
All Implemented Interfaces:
I_CmsUpdateDBPart

public class CmsUpdateDBHistoryPrincipals
extends CmsUpdateDBHistoryPrincipals

Oracle implementation to create the history principals table and contents.

Since:
7.0.0
Version:
$Revision: 1.2 $
Author:
Roland Metzler, Peter Bonrad

Field Summary
 
Fields inherited from class org.opencms.setup.update6to7.generic.CmsUpdateDBHistoryPrincipals
QUERY_HISTORY_PRINCIPALS_CREATE_TABLE, TABLE_CMS_HISTORY_PRINCIPALS
 
Fields inherited from class org.opencms.setup.update6to7.A_CmsUpdateDBPart
m_poolData, m_queries, QUERY_PROPERTIES_PREFIX
 
Constructor Summary
CmsUpdateDBHistoryPrincipals()
          Constructor.
 
Method Summary
protected  void createHistPrincipalsTable(CmsSetupDb dbCon)
          Creates the CMS_HISTORY_PRINCIPALS table if it does not exist yet.
 
Methods inherited from class org.opencms.setup.update6to7.generic.CmsUpdateDBHistoryPrincipals
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
 

Constructor Detail

CmsUpdateDBHistoryPrincipals

public CmsUpdateDBHistoryPrincipals()
                             throws java.io.IOException
Constructor.

Throws:
java.io.IOException - if the sql queries properties file could not be read
Method Detail

createHistPrincipalsTable

protected void createHistPrincipalsTable(CmsSetupDb dbCon)
                                  throws java.sql.SQLException
Description copied from class: CmsUpdateDBHistoryPrincipals
Creates the CMS_HISTORY_PRINCIPALS table if it does not exist yet.

Overrides:
createHistPrincipalsTable in class CmsUpdateDBHistoryPrincipals
Parameters:
dbCon - the db connection interface
Throws:
java.sql.SQLException - if soemthing goes wrong
See Also:
CmsUpdateDBHistoryPrincipals.createHistPrincipalsTable(org.opencms.setup.CmsSetupDb)