|
||||||
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.CmsUpdateDBHistoryPrincipals
public class CmsUpdateDBHistoryPrincipals
This class inserts formerly deleted users/groups in the CMS_HISTORY_PRINCIPALS table.
These users/groups are read out of the following tables:
Field Summary | |
---|---|
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. |
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. |
protected void |
internalExecute(CmsSetupDb dbCon)
Does the hard work. |
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_HISTORY_PRINCIPALS_CREATE_TABLE
protected static final java.lang.String TABLE_CMS_HISTORY_PRINCIPALS
Constructor Detail |
---|
public CmsUpdateDBHistoryPrincipals() throws java.io.IOException
java.io.IOException
- if the sql queries properties file could not be readMethod Detail |
---|
protected void createHistPrincipalsTable(CmsSetupDb dbCon) throws java.sql.SQLException
dbCon
- the db connection interface
java.sql.SQLException
- if soemthing goes wrongprotected void internalExecute(CmsSetupDb dbCon) throws java.sql.SQLException
A_CmsUpdateDBPart
internalExecute
in class A_CmsUpdateDBPart
dbCon
- the db connection interface
java.sql.SQLException
- if somethign goes wrongA_CmsUpdateDBPart.internalExecute(org.opencms.setup.CmsSetupDb)
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |