public class CmsUpdateDBCmsUsers extends CmsUpdateDBCmsUsers
QUERY_CREATE_TABLE_USERDATA, QUERY_INSERT_CMS_USERDATA
m_poolData, m_queries
构造器和说明 |
---|
CmsUpdateDBCmsUsers()
Constructor.
|
限定符和类型 | 方法和说明 |
---|---|
protected void |
createUserDataTable(CmsSetupDb dbCon)
Creates the CMS_USERDATA table if it does not exist yet.
|
protected void |
internalExecute(CmsSetupDb dbCon)
Does the hard work.
|
protected void |
writeUserInfo(CmsSetupDb dbCon,
java.lang.String id,
java.lang.String key,
java.lang.Object value)
Writes one set of additional user info (key and its value) to the CMS_USERDATA table.
|
addUserDateCreated, addWebusersToGroup, checkUserDataTable, createWebusersGroup, removeUnnecessaryColumns, writeAdditionalUserInfo
execute, getPoolData, getPropertyFileLocation, isKeepHistory, loadQueryProperties, readQuery
public CmsUpdateDBCmsUsers() throws java.io.IOException
java.io.IOException
- if the sql queries properties file could not be readprotected void internalExecute(CmsSetupDb dbCon)
A_CmsUpdateDBPart
internalExecute
在类中 CmsUpdateDBCmsUsers
dbCon
- the db connection interfaceA_CmsUpdateDBPart.internalExecute(org.opencms.setup.CmsSetupDb)
protected void createUserDataTable(CmsSetupDb dbCon) throws java.sql.SQLException
CmsUpdateDBCmsUsers
createUserDataTable
在类中 CmsUpdateDBCmsUsers
dbCon
- the db connection interfacejava.sql.SQLException
- if soemthing goes wrongCmsUpdateDBCmsUsers.createUserDataTable(org.opencms.setup.CmsSetupDb)
protected void writeUserInfo(CmsSetupDb dbCon, java.lang.String id, java.lang.String key, java.lang.Object value)
writeUserInfo
在类中 CmsUpdateDBCmsUsers
dbCon
- the db connection interfaceid
- the user idkey
- the data keyvalue
- the data value