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 StringgetDefaultLanguageId(long companyId) static List<UpgradeProcess>initUpgradeProcesses(ClassLoader classLoader, String[] upgradeProcessClassNames) static booleanstatic booleanisRequiredSchemaVersion(Version currentSchemaVersion, Version newSchemaVersion) static voidsetCreateIGImageDocumentType(boolean createIGImageDocumentType) static booleanupgradeProcess(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
-