Class UpgradeProcessUtil

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

public class UpgradeProcessUtil extends Object
Author:
Brian Wing Shun Chan, Alexander Chow, Raymond Augé
  • Constructor Details

    • UpgradeProcessUtil

      public UpgradeProcessUtil()
  • Method Details

    • 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()
    • isRequiredSchemaVersion

      public static boolean isRequiredSchemaVersion(Version currentSchemaVersion, Version newSchemaVersion)
    • setCreateIGImageDocumentType

      public static void setCreateIGImageDocumentType(boolean createIGImageDocumentType)
    • upgradeProcess

      public static boolean upgradeProcess(int buildNumber, List<UpgradeProcess> upgradeProcesses) throws UpgradeException
      Throws:
      UpgradeException