程序包 | 说明 |
---|---|
org.opencms.setup.db |
Base classes for the database updater from version 6.x to version 7.x.
|
org.opencms.setup.db.update6to7 |
Default implementation of the database updater.
|
org.opencms.setup.db.update6to7.mysql |
MySql implementation of the database updater.
|
org.opencms.setup.db.update6to7.oracle |
Oracle implementation of the database updater.
|
org.opencms.setup.db.update6to7.postgresql |
PostgreSQL implementation of the database updater.
|
org.opencms.setup.db.update7to8 |
Default implementation of the database updater to v8.
|
org.opencms.setup.db.update7to8.mysql |
MySql implementation of the database updater to v8.
|
org.opencms.setup.db.update7to8.oracle |
Oracle implementation of the database updater to v8.
|
org.opencms.setup.db.update7to8.postgresql |
限定符和类型 | 方法和说明 |
---|---|
protected abstract void |
A_CmsUpdateDBPart.internalExecute(CmsSetupDb setupDb)
Does the hard work.
|
限定符和类型 | 方法和说明 |
---|---|
protected void |
CmsUpdateDBProjectId.addPrimaryKey(CmsSetupDb dbCon,
java.lang.String tablename,
java.lang.String primaryKey)
Adds a new primary key to the given table.
|
protected void |
CmsUpdateDBCmsUsers.addUserDateCreated(CmsSetupDb dbCon)
Adds the new column USER_DATECREATED to the CMS_USERS table.
|
protected void |
CmsUpdateDBProjectId.addUUIDColumnToTable(CmsSetupDb dbCon,
java.lang.String tablename,
java.lang.String column)
Adds the new column for the uuids to a table.
|
protected void |
CmsUpdateDBCmsUsers.addWebusersToGroup(CmsSetupDb dbCon,
CmsUUID id)
Adds all webusers to the new previously created webusers group.
|
protected boolean |
CmsUpdateDBCmsUsers.checkUserDataTable(CmsSetupDb dbCon)
Checks if the CMS_USERDATA table exists.
|
protected void |
CmsUpdateDBContentTables.createContentsTable(CmsSetupDb dbCon)
Creates the CMS_CONTENTS table if it does not exist yet.
|
protected void |
CmsUpdateDBHistoryPrincipals.createHistPrincipalsTable(CmsSetupDb dbCon)
Creates the CMS_HISTORY_PRINCIPALS table if it does not exist yet.
|
protected void |
CmsUpdateDBProjectId.createHistProjectsTable(CmsSetupDb dbCon)
Creates the CMS_HISTORY_PROJECTS table if it does not exist yet.
|
protected void |
CmsUpdateDBProjectId.createTempTable(CmsSetupDb dbCon)
Creates the temp table for project ids if it does not exist yet.
|
protected void |
CmsUpdateDBCmsUsers.createUserDataTable(CmsSetupDb dbCon)
Creates the CMS_USERDATA table if it does not exist yet.
|
protected CmsUUID |
CmsUpdateDBCmsUsers.createWebusersGroup(CmsSetupDb dbCon)
creates a new group for the webusers.
|
protected boolean |
CmsUpdateDBUpdateOU.findOUColumn(CmsSetupDb dbCon,
java.lang.String table,
java.lang.String ouColumn)
Checks if the column USER_OU is found in the resultset.
|
protected void |
CmsUpdateDBDropBackupTables.internalExecute(CmsSetupDb dbCon) |
protected void |
CmsUpdateDBCreateIndexes7.internalExecute(CmsSetupDb dbCon) |
protected void |
CmsUpdateDBDropOldIndexes.internalExecute(CmsSetupDb dbCon) |
protected void |
CmsUpdateDBContentTables.internalExecute(CmsSetupDb dbCon) |
protected void |
CmsUpdateDBProjectId.internalExecute(CmsSetupDb dbCon) |
protected void |
CmsUpdateDBAlterTables.internalExecute(CmsSetupDb dbCon) |
protected void |
CmsUpdateDBCmsUsers.internalExecute(CmsSetupDb dbCon) |
protected void |
CmsUpdateDBDropUnusedTables.internalExecute(CmsSetupDb dbCon) |
protected void |
CmsUpdateDBHistoryPrincipals.internalExecute(CmsSetupDb dbCon) |
protected void |
CmsUpdateDBHistoryTables.internalExecute(CmsSetupDb dbCon) |
protected void |
CmsUpdateDBNewTables.internalExecute(CmsSetupDb dbCon) |
protected void |
CmsUpdateDBUpdateOU.internalExecute(CmsSetupDb dbCon) |
protected boolean |
CmsUpdateDBProjectId.needsUpdating(CmsSetupDb dbCon,
java.lang.String tablename)
Checks if the given table needs an update of the uuids.
|
protected void |
CmsUpdateDBCmsUsers.removeUnnecessaryColumns(CmsSetupDb dbCon)
Removes the columns USER_INFO, USER_ADDRESS, USER_DESCRIPTION and USER_TYPE from the CMS_USERS table.
|
protected void |
CmsUpdateDBProjectId.transferDataToHistoryTable(CmsSetupDb dbCon)
Transfers the data from the CMS_BACKUP_PROJECTS to the CMS_HISTORY_PROJECTS table.
|
protected void |
CmsUpdateDBContentTables.transferOnlineContents(CmsSetupDb dbCon,
int pubTag)
Transfers the online content.
|
protected int |
CmsUpdateDBUpdateOU.updateOUs(CmsSetupDb dbCon,
java.lang.String table,
java.lang.String ouColumn)
Updates the database tables with the new OUs if necessary for the given table.
|
protected void |
CmsUpdateDBCmsUsers.writeAdditionalUserInfo(CmsSetupDb dbCon,
java.lang.String id,
java.util.Map<java.lang.String,java.lang.Object> additionalInfo)
Writes the additional user infos to the database.
|
protected void |
CmsUpdateDBCmsUsers.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.
|
限定符和类型 | 方法和说明 |
---|---|
protected void |
CmsUpdateDBContentTables.createContentsTable(CmsSetupDb dbCon)
Creates the CMS_CONTENTS table if it does not exist yet.
|
protected void |
CmsUpdateDBHistoryPrincipals.createHistPrincipalsTable(CmsSetupDb dbCon)
Creates the CMS_HISTORY_PRINCIPALS table if it does not exist yet.
|
protected void |
CmsUpdateDBProjectId.createHistProjectsTable(CmsSetupDb dbCon)
Creates the CMS_HISTORY_PROJECTS table if it does not exist yet.
|
protected void |
CmsUpdateDBProjectId.createTempTable(CmsSetupDb dbCon)
Creates the temp table for project ids if it does not exist yet.
|
protected void |
CmsUpdateDBCmsUsers.createUserDataTable(CmsSetupDb dbCon)
Creates the CMS_USERDATA table if it does not exist yet.
|
protected void |
CmsUpdateDBNewTables.internalExecute(CmsSetupDb dbCon) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
CmsUpdateDBProjectId.addPrimaryKey(CmsSetupDb dbCon,
java.lang.String tablename,
java.lang.String primaryKey) |
protected void |
CmsUpdateDBProjectId.addUUIDColumnToTable(CmsSetupDb dbCon,
java.lang.String tablename,
java.lang.String column) |
protected void |
CmsUpdateDBContentTables.createContentsTable(CmsSetupDb dbCon) |
protected void |
CmsUpdateDBHistoryPrincipals.createHistPrincipalsTable(CmsSetupDb dbCon) |
protected void |
CmsUpdateDBProjectId.createHistProjectsTable(CmsSetupDb dbCon) |
protected void |
CmsUpdateDBProjectId.createTempTable(CmsSetupDb dbCon) |
protected void |
CmsUpdateDBCmsUsers.createUserDataTable(CmsSetupDb dbCon) |
protected void |
CmsUpdateDBCreateIndexes7.internalExecute(CmsSetupDb dbCon) |
protected void |
CmsUpdateDBDropOldIndexes.internalExecute(CmsSetupDb dbCon) |
protected void |
CmsUpdateDBNewTables.internalExecute(CmsSetupDb dbCon) |
protected boolean |
CmsUpdateDBProjectId.needsUpdating(CmsSetupDb dbCon,
java.lang.String tablename) |
protected void |
CmsUpdateDBContentTables.transferOnlineContents(CmsSetupDb dbCon,
int pubTag) |
protected void |
CmsUpdateDBCmsUsers.writeUserInfo(CmsSetupDb dbCon,
java.lang.String id,
java.lang.String key,
java.lang.Object value) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
CmsUpdateDBProjectId.addPrimaryKey(CmsSetupDb dbCon,
java.lang.String tablename,
java.lang.String primaryKey) |
protected void |
CmsUpdateDBProjectId.addUUIDColumnToTable(CmsSetupDb dbCon,
java.lang.String tablename,
java.lang.String column) |
protected void |
CmsUpdateDBContentTables.createContentsTable(CmsSetupDb dbCon) |
protected void |
CmsUpdateDBHistoryPrincipals.createHistPrincipalsTable(CmsSetupDb dbCon) |
protected void |
CmsUpdateDBProjectId.createHistProjectsTable(CmsSetupDb dbCon) |
protected void |
CmsUpdateDBProjectId.createTempTable(CmsSetupDb dbCon) |
protected void |
CmsUpdateDBCmsUsers.createUserDataTable(CmsSetupDb dbCon) |
protected void |
CmsUpdateDBCreateIndexes7.internalExecute(CmsSetupDb dbCon) |
protected void |
CmsUpdateDBDropOldIndexes.internalExecute(CmsSetupDb dbCon) |
protected void |
CmsUpdateDBAlterTables.internalExecute(CmsSetupDb dbCon) |
protected void |
CmsUpdateDBCmsUsers.internalExecute(CmsSetupDb dbCon) |
protected void |
CmsUpdateDBNewTables.internalExecute(CmsSetupDb dbCon) |
protected boolean |
CmsUpdateDBProjectId.needsUpdating(CmsSetupDb dbCon,
java.lang.String tablename) |
protected void |
CmsUpdateDBContentTables.transferOnlineContents(CmsSetupDb dbCon,
int pubTag) |
protected void |
CmsUpdateDBCmsUsers.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.
|
限定符和类型 | 方法和说明 |
---|---|
protected void |
CmsUpdateDBNewTables.internalExecute(CmsSetupDb dbCon) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
CmsUpdateDBNewTables.internalExecute(CmsSetupDb dbCon) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
CmsUpdateDBNewTables.internalExecute(CmsSetupDb dbCon) |
限定符和类型 | 方法和说明 |
---|---|
protected void |
CmsUpdateDBNewTables.internalExecute(CmsSetupDb dbCon) |