Liferay 7.0-ce-b4

com.liferay.portal.kernel.upgrade.util
Class UpgradeProcessUtil

java.lang.Object
  extended by com.liferay.portal.kernel.upgrade.util.UpgradeProcessUtil

@ProviderType
public class UpgradeProcessUtil
extends Object


Constructor Summary
UpgradeProcessUtil()
           
 
Method Summary
static String getDefaultLanguageId(long companyId)
           
static List<UpgradeProcess> initUpgradeProcesses(ClassLoader classLoader, String[] upgradeProcessClassNames)
           
static boolean isCreateIGImageDocumentType()
           
static void setCreateIGImageDocumentType(boolean createIGImageDocumentType)
           
static boolean upgradeProcess(int buildNumber, List<UpgradeProcess> upgradeProcesses)
           
static boolean upgradeProcess(int buildNumber, List<UpgradeProcess> upgradeProcesses, boolean indexOnUpgrade)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UpgradeProcessUtil

public UpgradeProcessUtil()
Method Detail

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

Liferay 7.0-ce-b4