public class CmsUpdateDBContentTables extends CmsUpdateDBContentTables
限定符和类型 | 字段和说明 |
---|---|
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_FROM2
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.
|
QUERY_CREATE_CMS_CONTENTS_TABLE, QUERY_TRANSFER_ONLINE_CONTENTS, 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 |
transferOnlineContents(CmsSetupDb dbCon,
int pubTag)
Transfers the online content.
|
internalExecute
execute, getPoolData, getPropertyFileLocation, isKeepHistory, loadQueryProperties, readQuery
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_FROM2
protected static final java.lang.String QUERY_UPDATE_ONLINE_CONTENTS_PUBLISH_TAG_TO
public CmsUpdateDBContentTables() throws java.io.IOException
java.io.IOException
- if the sql queries properties file could not be readprotected void createContentsTable(CmsSetupDb dbCon) throws java.sql.SQLException
CmsUpdateDBContentTables
createContentsTable
在类中 CmsUpdateDBContentTables
dbCon
- the db connection interfacejava.sql.SQLException
- if something goes wrongCmsUpdateDBContentTables.createContentsTable(org.opencms.setup.CmsSetupDb)
protected void transferOnlineContents(CmsSetupDb dbCon, int pubTag) throws java.sql.SQLException
CmsUpdateDBContentTables
transferOnlineContents
在类中 CmsUpdateDBContentTables
dbCon
- the db connection interfacepubTag
- the publish tag to usejava.sql.SQLException
- if something goes wrongCmsUpdateDBContentTables.transferOnlineContents(org.opencms.setup.CmsSetupDb, int)