com.liferay.portal.events
Class StartupHelper
java.lang.Object
com.liferay.portal.events.StartupHelper
public class StartupHelper
- extends java.lang.Object
View Source
- Author:
- Brian Wing Shun Chan, Alexander Chow, Raymond Augé
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StartupHelper
public StartupHelper()
deleteTempImages
public void deleteTempImages()
setDropIndexes
public void setDropIndexes(boolean dropIndexes)
updateIndexes
public void updateIndexes()
upgradeProcess
public void upgradeProcess(int buildNumber)
throws UpgradeException
- Throws:
UpgradeException
verifyProcess
public void verifyProcess(boolean verified)
throws VerifyException
- Throws:
VerifyException
isUpgraded
public boolean isUpgraded()
isVerified
public boolean isVerified()
addIndexes
protected void addIndexes(java.util.Set<java.lang.String> validIndexNames)
throws java.lang.Exception
- Throws:
java.lang.Exception
dropIndexes
protected java.util.Set<java.lang.String> dropIndexes(java.util.List<Index> indexes)
throws java.lang.Exception
- Throws:
java.lang.Exception
getDB2Indexes
protected java.util.List<Index> getDB2Indexes()
throws java.lang.Exception
- Throws:
java.lang.Exception
getIndexes
protected java.util.List<Index> getIndexes()
throws java.lang.Exception
- Throws:
java.lang.Exception
getMySQLIndexes
protected java.util.List<Index> getMySQLIndexes()
throws java.lang.Exception
- Throws:
java.lang.Exception
getOracleIndexes
protected java.util.List<Index> getOracleIndexes()
throws java.lang.Exception
- Throws:
java.lang.Exception
getPostgreSQLIndexes
protected java.util.List<Index> getPostgreSQLIndexes()
throws java.lang.Exception
- Throws:
java.lang.Exception
getSQLServerIndexes
protected java.util.List<Index> getSQLServerIndexes()
throws java.lang.Exception
- Throws:
java.lang.Exception
getSybaseIndexes
protected java.util.List<Index> getSybaseIndexes()
throws java.lang.Exception
- Throws:
java.lang.Exception
readIndexesSQL
protected java.lang.String readIndexesSQL()
throws java.lang.Exception
- Throws:
java.lang.Exception
verifyProcess
protected void verifyProcess(java.lang.String className)
throws VerifyException
- Throws:
VerifyException