public class UpgradeProcessUtil
extends java.lang.Object
Constructor and Description |
---|
UpgradeProcessUtil() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getDefaultLanguageId(long companyId) |
static java.util.List<UpgradeProcess> |
initUpgradeProcesses(java.lang.ClassLoader classLoader,
java.lang.String[] upgradeProcessClassNames) |
static boolean |
isCreateIGImageDocumentType() |
static boolean |
isRequiredSchemaVersion(Version currentSchemaVersion,
Version newSchemaVersion) |
static void |
setCreateIGImageDocumentType(boolean createIGImageDocumentType) |
static boolean |
upgradeProcess(int buildNumber,
java.util.List<UpgradeProcess> upgradeProcesses) |
public static java.lang.String getDefaultLanguageId(long companyId) throws java.sql.SQLException
java.sql.SQLException
public static java.util.List<UpgradeProcess> initUpgradeProcesses(java.lang.ClassLoader classLoader, java.lang.String[] upgradeProcessClassNames)
public static boolean isCreateIGImageDocumentType()
public static boolean isRequiredSchemaVersion(Version currentSchemaVersion, Version newSchemaVersion)
public static void setCreateIGImageDocumentType(boolean createIGImageDocumentType)
public static boolean upgradeProcess(int buildNumber, java.util.List<UpgradeProcess> upgradeProcesses) throws UpgradeException
UpgradeException