Package com.liferay.portal.events
Class StartupHelperUtil
Object
com.liferay.portal.events.StartupHelperUtil
- Author:
- Brian Wing Shun Chan, Alexander Chow, Raymond Augé
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
static boolean
isDBNew()
static boolean
static boolean
static boolean
static void
static void
setDBNew
(boolean dbNew) static void
setNewRelease
(boolean newRelease) static void
setUpgrading
(boolean upgrading) static void
upgradeProcess
(int buildNumber) static void
-
Constructor Details
-
StartupHelperUtil
public StartupHelperUtil()
-
-
Method Details
-
initResourceActions
public static void initResourceActions() -
isDBNew
public static boolean isDBNew() -
isDBWarmed
public static boolean isDBWarmed() -
isNewRelease
public static boolean isNewRelease() -
isUpgrading
public static boolean isUpgrading() -
printPatchLevel
public static void printPatchLevel() -
setDBNew
public static void setDBNew(boolean dbNew) -
setNewRelease
public static void setNewRelease(boolean newRelease) -
setUpgrading
public static void setUpgrading(boolean upgrading) -
upgradeProcess
public static void upgradeProcess(int buildNumber) throws com.liferay.portal.kernel.upgrade.UpgradeException - Throws:
com.liferay.portal.kernel.upgrade.UpgradeException
-
verifyRequiredSchemaVersion
- Throws:
Exception
-