com.liferay.portal.events
Class StartupHelper

java.lang.Object
  extended by com.liferay.portal.events.StartupHelper

public class StartupHelper
extends java.lang.Object

View Source

Author:
Brian Wing Shun Chan, Alexander Chow, Raymond Augé

Constructor Summary
StartupHelper()
           
 
Method Summary
protected  void addIndexes(java.util.Set<java.lang.String> validIndexNames)
           
 void deleteTempImages()
           
protected  java.util.Set<java.lang.String> dropIndexes(java.util.List<Index> indexes)
           
protected  java.util.List<Index> getDB2Indexes()
           
protected  java.util.List<Index> getIndexes()
           
protected  java.util.List<Index> getMySQLIndexes()
           
protected  java.util.List<Index> getOracleIndexes()
           
protected  java.util.List<Index> getPostgreSQLIndexes()
           
protected  java.util.List<Index> getSQLServerIndexes()
           
protected  java.util.List<Index> getSybaseIndexes()
           
 boolean isUpgraded()
           
 boolean isVerified()
           
protected  java.lang.String readIndexesSQL()
           
 void setDropIndexes(boolean dropIndexes)
           
 void updateIndexes()
           
 void upgradeProcess(int buildNumber)
           
 void verifyProcess(boolean verified)
           
protected  void verifyProcess(java.lang.String className)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StartupHelper

public StartupHelper()
Method Detail

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