public class CmsUpdateDBHistoryPrincipals extends A_CmsUpdateDBPart
These users/groups are read out of the following tables:
| 限定符和类型 | 字段和说明 |
|---|---|
protected static java.lang.String |
QUERY_HISTORY_PRINCIPALS_CREATE_TABLE
Constant for sql query to create the history principals table.
|
protected static java.lang.String |
TABLE_CMS_HISTORY_PRINCIPALS
Constant for the CMS_HISTORY_PRINICIPALS table.
|
m_poolData, m_queries| 构造器和说明 |
|---|
CmsUpdateDBHistoryPrincipals()
Constructor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
createHistPrincipalsTable(CmsSetupDb dbCon)
Creates the CMS_HISTORY_PRINCIPALS table if it does not exist yet.
|
protected void |
internalExecute(CmsSetupDb dbCon)
Does the hard work.
|
execute, getPoolData, getPropertyFileLocation, isKeepHistory, loadQueryProperties, readQueryprotected static final java.lang.String QUERY_HISTORY_PRINCIPALS_CREATE_TABLE
protected static final java.lang.String TABLE_CMS_HISTORY_PRINCIPALS
public CmsUpdateDBHistoryPrincipals()
throws java.io.IOException
java.io.IOException - if the sql queries properties file could not be readprotected void createHistPrincipalsTable(CmsSetupDb dbCon) throws java.sql.SQLException
dbCon - the db connection interfacejava.sql.SQLException - if soemthing 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)