public class StartupHelper
extends Object
Constructor and Description |
---|
StartupHelper() |
Modifier and Type | Method and Description |
---|---|
protected String[] |
getUpgradeProcessClassNames(String key) |
boolean |
isDBNew() |
boolean |
isStartupFinished() |
boolean |
isUpgraded() |
boolean |
isUpgrading() |
boolean |
isVerified() |
void |
setDbNew(boolean dbNew) |
void |
setDropIndexes(boolean dropIndexes) |
void |
setStartupFinished(boolean startupFinished) |
void |
updateIndexes() |
void |
updateIndexes(boolean dropIndexes) |
void |
updateIndexes(com.liferay.portal.kernel.dao.db.DB db,
Connection connection,
boolean dropIndexes) |
void |
upgradeProcess(int buildNumber) |
void |
verifyProcess(boolean newBuildNumber,
boolean verified) |
public boolean isDBNew()
public boolean isStartupFinished()
public boolean isUpgraded()
public boolean isUpgrading()
public boolean isVerified()
public void setDbNew(boolean dbNew)
public void setDropIndexes(boolean dropIndexes)
public void setStartupFinished(boolean startupFinished)
public void updateIndexes()
public void updateIndexes(boolean dropIndexes)
public void updateIndexes(com.liferay.portal.kernel.dao.db.DB db, Connection connection, boolean dropIndexes)
public void upgradeProcess(int buildNumber) throws com.liferay.portal.kernel.upgrade.UpgradeException
com.liferay.portal.kernel.upgrade.UpgradeException
public void verifyProcess(boolean newBuildNumber, boolean verified) throws VerifyException
VerifyException
protected String[] getUpgradeProcessClassNames(String key)