| java.lang.Object org.opencms.setup.update6to7.A_CmsUpdateDBPart
All known Subclasses: org.opencms.setup.update6to7.generic.CmsUpdateDBAlterTables, org.opencms.setup.update6to7.generic.CmsUpdateDBUpdateOU, org.opencms.setup.update6to7.generic.CmsUpdateDBNewTables, org.opencms.setup.update6to7.generic.CmsUpdateDBDropBackupTables, org.opencms.setup.update6to7.generic.CmsUpdateDBDropUnusedTables, org.opencms.setup.update6to7.generic.CmsUpdateDBContentTables, org.opencms.setup.update6to7.generic.CmsUpdateDBCreateIndexes7, org.opencms.setup.update6to7.generic.CmsUpdateDBHistoryTables, org.opencms.setup.update6to7.generic.CmsUpdateDBHistoryPrincipals, org.opencms.setup.update6to7.generic.CmsUpdateDBProjectId, org.opencms.setup.update6to7.generic.CmsUpdateDBDropOldIndexes, org.opencms.setup.update6to7.generic.CmsUpdateDBCmsUsers,
A_CmsUpdateDBPart | abstract public class A_CmsUpdateDBPart implements I_CmsUpdateDBPart(Code) | | Represent a part of the database update process.
author: Michael Moossen version: $Revision: 1.2 $ since: 6.9.2 |
QUERY_PROPERTIES_PREFIX | final protected static String QUERY_PROPERTIES_PREFIX(Code) | | The filename/path of the SQL query properties.
|
m_poolData | protected Map m_poolData(Code) | | The connection data to use.
|
m_queries | protected Map m_queries(Code) | | A map holding all SQL queries.
|
A_CmsUpdateDBPart | public A_CmsUpdateDBPart()(Code) | | Default constructor.
|
getPoolData | public Map getPoolData()(Code) | | Returns the database pool Data.
the database pool Data |
internalExecute | abstract protected void internalExecute(CmsSetupDb setupDb) throws SQLException(Code) | | Does the hard work.
Parameters: setupDb - the db connection interface throws: SQLException - if somethign goes wrong |
isKeepHistory | protected boolean isKeepHistory()(Code) | | Returns the keep History parameter value.
the keep History parameter value |
loadQueryProperties | protected void loadQueryProperties(String propertyFilename) throws IOException(Code) | | Loads a Java properties hash containing SQL queries.
Parameters: propertyFilename - the package/filename of the properties hash throws: IOException - if the sql queries property file could not be read |
readQuery | public String readQuery(String queryKey)(Code) | | Searches for the SQL query with the specified key.
Parameters: queryKey - the SQL query key the the SQL query in this property list with the specified key |
|
|