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