Class UpgradeDocumentLibrary

Object
com.liferay.portal.kernel.dao.db.BaseDBProcess
com.liferay.portal.kernel.upgrade.UpgradeProcess
com.liferay.portal.upgrade.v7_0_0.UpgradeDocumentLibrary
All Implemented Interfaces:
com.liferay.portal.kernel.dao.db.DBProcess, com.liferay.portal.kernel.upgrade.UpgradeStep

public class UpgradeDocumentLibrary extends com.liferay.portal.kernel.upgrade.UpgradeProcess
Author:
Michael Young
  • Constructor Details

    • UpgradeDocumentLibrary

      public UpgradeDocumentLibrary()
  • Method Details

    • addClassName

      protected void addClassName(long classNameId, String className) throws Exception
      Throws:
      Exception
    • addDDMStructureLink

      protected void addDDMStructureLink(long ddmStructureLinkId, long classNameId, long classPK, long ddmStructureId) throws Exception
      Throws:
      Exception
    • doUpgrade

      protected void doUpgrade() throws Exception
      Specified by:
      doUpgrade in class com.liferay.portal.kernel.upgrade.UpgradeProcess
      Throws:
      Exception
    • hasFileEntry

      protected boolean hasFileEntry(long groupId, long folderId, long fileEntryId, String title, String fileName) throws Exception
      Throws:
      Exception
    • updateFileEntryFileNames

      protected void updateFileEntryFileNames() throws Exception
      Throws:
      Exception
    • updateFileEntryTypeDDMStructureLinks

      protected void updateFileEntryTypeDDMStructureLinks() throws Exception
      Throws:
      Exception
    • updateFileEntryTypeNamesAndDescriptions

      protected void updateFileEntryTypeNamesAndDescriptions() throws Exception
      Throws:
      Exception
    • updateFileEntryTypeNamesAndDescriptions

      protected void updateFileEntryTypeNamesAndDescriptions(long companyId, long groupId) throws Exception
      Throws:
      Exception
    • updateFileEntryTypeNamesAndDescriptions

      protected void updateFileEntryTypeNamesAndDescriptions(long companyId, long groupId, String dlFileEntryTypeKey, String nameLanguageKey) throws Exception
      Throws:
      Exception
    • updateFileEntryTypeNamesAndDescriptions

      protected void updateFileEntryTypeNamesAndDescriptions(long companyId, long dlFileEntryTypeId, String nameLanguageKey, String nameXML, String descriptionXML) throws Exception
      Throws:
      Exception
    • updateFileEntryTypeNamesAndDescriptions

      protected void updateFileEntryTypeNamesAndDescriptions(long fileEntryTypeId, String nameXML, String descriptionXML, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, Locale defaultLocale) throws Exception
      Throws:
      Exception
    • updateFileVersionFileName

      protected void updateFileVersionFileName(long fileVersionId, String fileName) throws Exception
      Throws:
      Exception
    • updateFileVersionFileNames

      protected void updateFileVersionFileNames() throws Exception
      Throws:
      Exception
    • updateRepositoryClassNameIds

      protected void updateRepositoryClassNameIds() throws Exception
      Throws:
      Exception