|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.setup.update6to7.A_CmsUpdateDBPart
org.opencms.setup.update6to7.generic.CmsUpdateDBContentTables
org.opencms.setup.update6to7.oracle.CmsUpdateDBContentTables
public class CmsUpdateDBContentTables
Oracle implementation of the generic update of the contents tables.
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 |
---|
protected static final java.lang.String QUERY_UPDATE_ONLINE_CONTENTS_PUBLISH_TAG_FROM
protected static final java.lang.String QUERY_UPDATE_ONLINE_CONTENTS_PUBLISH_TAG_TO
Constructor Detail |
---|
public CmsUpdateDBContentTables() throws java.io.IOException
java.io.IOException
- if the sql queries properties file could not be readMethod Detail |
---|
protected void createContentsTable(CmsSetupDb dbCon) throws java.sql.SQLException
CmsUpdateDBContentTables
createContentsTable
in class CmsUpdateDBContentTables
dbCon
- the db connection interface
java.sql.SQLException
- if soemthing goes wrongCmsUpdateDBContentTables.createContentsTable(org.opencms.setup.CmsSetupDb)
protected void transferOnlineContents(CmsSetupDb dbCon, int pubTag) throws java.sql.SQLException
CmsUpdateDBContentTables
transferOnlineContents
in class CmsUpdateDBContentTables
dbCon
- the db connection interfacepubTag
- the publish tag to use
java.sql.SQLException
- if something goes wrongCmsUpdateDBContentTables.transferOnlineContents(org.opencms.setup.CmsSetupDb, int)
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |