com.liferay.portal.kernel.upgrade.util
Class UpgradeProcessUtil
java.lang.Object
com.liferay.portal.kernel.upgrade.util.UpgradeProcessUtil
@ProviderType
public class UpgradeProcessUtil
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UpgradeProcessUtil
public UpgradeProcessUtil()
getDefaultLanguageId
public static String getDefaultLanguageId(long companyId)
throws SQLException
- Throws:
SQLException
initUpgradeProcesses
public static List<UpgradeProcess> initUpgradeProcesses(ClassLoader classLoader,
String[] upgradeProcessClassNames)
isCreateIGImageDocumentType
public static boolean isCreateIGImageDocumentType()
setCreateIGImageDocumentType
public static void setCreateIGImageDocumentType(boolean createIGImageDocumentType)
upgradeProcess
public static boolean upgradeProcess(int buildNumber,
List<UpgradeProcess> upgradeProcesses)
throws UpgradeException
- Throws:
UpgradeException
upgradeProcess
public static boolean upgradeProcess(int buildNumber,
List<UpgradeProcess> upgradeProcesses,
boolean indexOnUpgrade)
throws UpgradeException
- Throws:
UpgradeException