Class UpgradeProcessUtil
Object
com.liferay.portal.kernel.upgrade.util.UpgradeProcessUtil
- Author:
- Brian Wing Shun Chan, Alexander Chow, Raymond Augé
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getDefaultLanguageId
(long companyId) static List<UpgradeProcess>
initUpgradeProcesses
(ClassLoader classLoader, String[] upgradeProcessClassNames) static boolean
static boolean
isRequiredSchemaVersion
(Version currentSchemaVersion, Version newSchemaVersion) static void
setCreateIGImageDocumentType
(boolean createIGImageDocumentType) static boolean
upgradeProcess
(int buildNumber, List<UpgradeProcess> upgradeProcesses)
-
Constructor Details
-
UpgradeProcessUtil
public UpgradeProcessUtil()
-
-
Method Details
-
getDefaultLanguageId
- Throws:
SQLException
-
initUpgradeProcesses
public static List<UpgradeProcess> initUpgradeProcesses(ClassLoader classLoader, String[] upgradeProcessClassNames) -
isCreateIGImageDocumentType
public static boolean isCreateIGImageDocumentType() -
isRequiredSchemaVersion
-
setCreateIGImageDocumentType
public static void setCreateIGImageDocumentType(boolean createIGImageDocumentType) -
upgradeProcess
public static boolean upgradeProcess(int buildNumber, List<UpgradeProcess> upgradeProcesses) throws UpgradeException - Throws:
UpgradeException
-