Class CmsUpdateDBCmsUsers
java.lang.Object
org.opencms.setup.db.A_CmsUpdateDBPart
org.opencms.setup.db.update6to7.CmsUpdateDBCmsUsers
org.opencms.setup.db.update6to7.oracle.CmsUpdateDBCmsUsers
- All Implemented Interfaces:
I_CmsUpdateDBPart
Oracle implementation of the generic update class for the Users.
- Since:
- 7.0.0
-
Field Summary
Fields inherited from class org.opencms.setup.db.update6to7.CmsUpdateDBCmsUsers
QUERY_CREATE_TABLE_USERDATA, QUERY_INSERT_CMS_USERDATA
Fields inherited from class org.opencms.setup.db.A_CmsUpdateDBPart
m_poolData, m_queries
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
createUserDataTable
(CmsSetupDb dbCon) Creates the CMS_USERDATA table if it does not exist yet.protected void
writeUserInfo
(CmsSetupDb dbCon, String id, String key, Object value) Writes one set of additional user info (key and its value) to the CMS_USERDATA table.Methods inherited from class org.opencms.setup.db.update6to7.CmsUpdateDBCmsUsers
addUserDateCreated, addWebusersToGroup, checkUserDataTable, createWebusersGroup, internalExecute, removeUnnecessaryColumns, writeAdditionalUserInfo
Methods inherited from class org.opencms.setup.db.A_CmsUpdateDBPart
execute, getPoolData, getPropertyFileLocation, isKeepHistory, loadQueryProperties, readQuery
-
Constructor Details
-
CmsUpdateDBCmsUsers
Constructor.- Throws:
IOException
- if the sql queries properties file could not be read
-
-
Method Details
-
createUserDataTable
Description copied from class:CmsUpdateDBCmsUsers
Creates the CMS_USERDATA table if it does not exist yet.- Overrides:
createUserDataTable
in classCmsUpdateDBCmsUsers
- Parameters:
dbCon
- the db connection interface- Throws:
SQLException
- if soemthing goes wrong- See Also:
-
writeUserInfo
Description copied from class:CmsUpdateDBCmsUsers
Writes one set of additional user info (key and its value) to the CMS_USERDATA table.- Overrides:
writeUserInfo
in classCmsUpdateDBCmsUsers
- Parameters:
dbCon
- the db connection interfaceid
- the user idkey
- the data keyvalue
- the data value- See Also:
-