Package com.liferay.portal.verify
Class PreupgradeVerifyProperties
Object
com.liferay.portal.kernel.dao.db.BaseDBProcess
com.liferay.portal.verify.VerifyProcess
com.liferay.portal.verify.PreupgradeVerifyProcess
com.liferay.portal.verify.PreupgradeVerifyProperties
- All Implemented Interfaces:
com.liferay.portal.kernel.dao.db.DBProcess
- Author:
- Brian Wing Shun Chan
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.dao.db.BaseDBProcess
connection -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoVerify()protected static InputStreamgetPropertiesResourceAsStream(String resourceName) protected booleanprotected static Propertiesprotected static voidverifyMigratedPortalProperty(Properties portalProperties, String oldKey, String newKey, List<String> unmigratedKeys) protected static voidverifyMigratedSystemProperty(String oldKey, String newKey) protected static voidverifyModularizedPortalProperty(Properties portalProperties, String oldKey, String newKey, String moduleName) protected static voidverifyModularizedSystemProperty(Set<String> systemPropertyNames, String oldKey, String newKey, String moduleName) protected static voidverifyObsoletePortalProperty(Properties portalProperties, String key) protected static voidprotected static voidverifyRenamedPortalProperty(Properties portalProperties, String oldKey, String newKey) protected static voidverifyRenamedSystemProperty(String oldKey, String newKey) protected static voidMethods inherited from class com.liferay.portal.verify.PreupgradeVerifyProcess
processMethods inherited from class com.liferay.portal.verify.VerifyProcess
doVerify, isForceConcurrent, verify, verifyMethods inherited from class com.liferay.portal.kernel.dao.db.BaseDBProcess
addIndexes, alterColumnName, alterColumnType, alterTableAddColumn, alterTableDropColumn, alterTableName, closeConnections, closeConnections, doHasTable, dropIndexes, dropIndexes, dropTable, getConnection, getPrimaryKeyColumnNames, hasColumn, hasColumnType, hasIndex, hasRows, hasRows, hasTable, hasView, processConcurrently, processConcurrently, processConcurrently, processConcurrently, removePrimaryKey, runSQL, runSQL, runSQL, runSQL, runSQLFile, runSQLFile, runSQLTemplateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.dao.db.DBProcess
runSQLTemplate, runSQLTemplateString
-
Constructor Details
-
PreupgradeVerifyProperties
public PreupgradeVerifyProperties()
-
-
Method Details
-
getPropertiesResourceAsStream
protected static InputStream getPropertiesResourceAsStream(String resourceName) throws FileNotFoundException - Throws:
FileNotFoundException
-
loadPortalProperties
-
verifyMigratedPortalProperty
protected static void verifyMigratedPortalProperty(Properties portalProperties, String oldKey, String newKey, List<String> unmigratedKeys) throws Exception - Throws:
Exception
-
verifyMigratedSystemProperty
- Throws:
Exception
-
verifyModularizedPortalProperty
protected static void verifyModularizedPortalProperty(Properties portalProperties, String oldKey, String newKey, String moduleName) throws Exception - Throws:
Exception
-
verifyModularizedSystemProperty
protected static void verifyModularizedSystemProperty(Set<String> systemPropertyNames, String oldKey, String newKey, String moduleName) throws Exception - Throws:
Exception
-
verifyObsoletePortalProperty
protected static void verifyObsoletePortalProperty(Properties portalProperties, String key) throws Exception - Throws:
Exception
-
verifyObsoleteSystemProperty
- Throws:
Exception
-
verifyPortalProperties
- Throws:
Exception
-
verifyRenamedPortalProperty
protected static void verifyRenamedPortalProperty(Properties portalProperties, String oldKey, String newKey) throws Exception - Throws:
Exception
-
verifyRenamedSystemProperty
- Throws:
Exception
-
verifySystemProperties
- Throws:
Exception
-
doVerify
- Overrides:
doVerifyin classVerifyProcess- Throws:
Exception
-
isSkipDBPartitions
protected boolean isSkipDBPartitions()- Overrides:
isSkipDBPartitionsin classPreupgradeVerifyProcess
-