Package org.opencms.setup.db.update7to8
Class CmsUpdatePasswordColumn
- java.lang.Object
-
- org.opencms.setup.db.A_CmsUpdateDBPart
-
- org.opencms.setup.db.update7to8.CmsUpdatePasswordColumn
-
- All Implemented Interfaces:
I_CmsUpdateDBPart
- Direct Known Subclasses:
CmsUpdatePasswordColumn
,CmsUpdatePasswordColumn
,CmsUpdatePasswordColumn
public class CmsUpdatePasswordColumn extends A_CmsUpdateDBPart
Updates the password column length in the CMS_USERS table.
-
-
Field Summary
-
Fields inherited from class org.opencms.setup.db.A_CmsUpdateDBPart
m_poolData, m_queries
-
-
Constructor Summary
Constructors Constructor Description CmsUpdatePasswordColumn()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getNewColumnLength()
Gets the new column length.java.lang.String
getUpdateSql()
Gets the SQL to execute.protected void
internalExecute(CmsSetupDb setupDb)
Does the hard work.-
Methods inherited from class org.opencms.setup.db.A_CmsUpdateDBPart
execute, getPoolData, getPropertyFileLocation, isKeepHistory, loadQueryProperties, readQuery
-
-
-
-
Constructor Detail
-
CmsUpdatePasswordColumn
public CmsUpdatePasswordColumn()
-
-
Method Detail
-
getNewColumnLength
public int getNewColumnLength()
Gets the new column length.- Returns:
- the new column length
-
getUpdateSql
public java.lang.String getUpdateSql()
Gets the SQL to execute.- Returns:
- the SQL to execute
-
internalExecute
protected void internalExecute(CmsSetupDb setupDb) throws java.sql.SQLException
Description copied from class:A_CmsUpdateDBPart
Does the hard work.- Specified by:
internalExecute
in classA_CmsUpdateDBPart
- Parameters:
setupDb
- the db connection interface- Throws:
java.sql.SQLException
- if something goes wrong- See Also:
A_CmsUpdateDBPart.internalExecute(org.opencms.setup.CmsSetupDb)
-
-