public class CmsUpdateDBContentTables extends A_CmsUpdateDBPart
| 限定符和类型 | 字段和说明 |
|---|---|
protected static java.lang.String |
QUERY_CREATE_CMS_CONTENTS_TABLE
Constant for the sql query to create the CMS_CONTENTS table.
|
protected static java.lang.String |
QUERY_TRANSFER_ONLINE_CONTENTS
Constant for the sql query to transfer the online contents.
|
protected static java.lang.String |
TABLE_CMS_CONTENTS
Constant for the table CMS_CONTENTS.
|
m_poolData, m_queries| 构造器和说明 |
|---|
CmsUpdateDBContentTables()
Constructor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
createContentsTable(CmsSetupDb dbCon)
Creates the CMS_CONTENTS table if it does not exist yet.
|
protected void |
internalExecute(CmsSetupDb dbCon)
Does the hard work.
|
protected void |
transferOnlineContents(CmsSetupDb dbCon,
int pubTag)
Transfers the online content.
|
execute, getPoolData, getPropertyFileLocation, isKeepHistory, loadQueryProperties, readQueryprotected static final java.lang.String QUERY_CREATE_CMS_CONTENTS_TABLE
protected static final java.lang.String QUERY_TRANSFER_ONLINE_CONTENTS
protected static final java.lang.String TABLE_CMS_CONTENTS
public CmsUpdateDBContentTables()
throws java.io.IOException
java.io.IOException - if the query properties cannot be readprotected void createContentsTable(CmsSetupDb dbCon) throws java.sql.SQLException
dbCon - the db connection interfacejava.sql.SQLException - if something goes wrongprotected void internalExecute(CmsSetupDb dbCon) throws java.sql.SQLException
A_CmsUpdateDBPartinternalExecute 在类中 A_CmsUpdateDBPartdbCon - the db connection interfacejava.sql.SQLException - if something goes wrongA_CmsUpdateDBPart.internalExecute(org.opencms.setup.CmsSetupDb)protected void transferOnlineContents(CmsSetupDb dbCon, int pubTag) throws java.sql.SQLException
dbCon - the db connection interfacepubTag - the publish tag to usejava.sql.SQLException - if something goes wrong