Class CmsUpdateDBHistoryPrincipals
java.lang.Object
org.opencms.setup.db.A_CmsUpdateDBPart
org.opencms.setup.db.update6to7.CmsUpdateDBHistoryPrincipals
org.opencms.setup.db.update6to7.mysql.CmsUpdateDBHistoryPrincipals
- All Implemented Interfaces:
I_CmsUpdateDBPart
This class inserts formerly deleted users/groups in the CMS_HISTORY_PRINCIPALS table.
These users/groups are read out of the following tables:
- CMS_BACKUP_RESOURCES
- CMS_BACKUP_PROJECTS
-
Field Summary
Fields inherited from class org.opencms.setup.db.update6to7.CmsUpdateDBHistoryPrincipals
QUERY_HISTORY_PRINCIPALS_CREATE_TABLE, TABLE_CMS_HISTORY_PRINCIPALS
Fields inherited from class org.opencms.setup.db.A_CmsUpdateDBPart
m_poolData, m_queries
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Creates the CMS_HISTORY_PRINCIPALS table if it does not exist yet.Methods inherited from class org.opencms.setup.db.update6to7.CmsUpdateDBHistoryPrincipals
internalExecute
Methods inherited from class org.opencms.setup.db.A_CmsUpdateDBPart
execute, getPoolData, getPropertyFileLocation, isKeepHistory, loadQueryProperties, readQuery
-
Constructor Details
-
CmsUpdateDBHistoryPrincipals
Constructor.- Throws:
IOException
- if the sql queries properties file could not be read
-
-
Method Details
-
createHistPrincipalsTable
Creates the CMS_HISTORY_PRINCIPALS table if it does not exist yet.- Overrides:
createHistPrincipalsTable
in classCmsUpdateDBHistoryPrincipals
- Parameters:
dbCon
- the db connection interface- Throws:
SQLException
- if something goes wrong
-